From a755c065d248bc904fa6e40dbc24fcd3aa9fbd44 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 13 Jan 2017 22:37:13 +0100 Subject: [PATCH] Fixed git commit hash in version Changed plugin to "scriptus" by md_5 --- pom.xml | 74 ++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 49 insertions(+), 25 deletions(-) diff --git a/pom.xml b/pom.xml index 7462aed..c920487 100644 --- a/pom.xml +++ b/pom.xml @@ -17,7 +17,7 @@ 1.7 1.11.1 - ${version.number}-${git.commit.id.abbrev} + ${version.number}-${version.git} github @@ -25,6 +25,33 @@ + + default + + true + + + + + net.md-5 + scriptus + 0.2 + + + initialize + + describe + + + + + version.git + %s + + + + + doclint-java8 @@ -112,14 +139,28 @@ - - - src/main/resources - . - true - - + + org.apache.maven.plugins + maven-resources-plugin + + + prepare-package + + resources + + + + + + + src/main/resources + . + true + + + + org.apache.maven.plugins maven-deploy-plugin @@ -156,23 +197,6 @@ Timestamp: ${maven.build.timestamp} - - pl.project13.maven - git-commit-id-plugin - 2.1.5 - - - validate - - revision - - - - - ${project.basedir}/.git - false - -