From 49c6bb357aadbf9a2179835484f55070d99d6a18 Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Wed, 23 Oct 2019 11:24:15 -0400 Subject: [PATCH] Switch back to buildnumber plugin. --- pom.xml | 287 +++++++++++++++++++++++++++++--------------------------- 1 file changed, 147 insertions(+), 140 deletions(-) diff --git a/pom.xml b/pom.xml index 1497444..7713a4f 100644 --- a/pom.xml +++ b/pom.xml @@ -8,12 +8,12 @@ 1.1.0 pom - - scm:git:https://code-repo.d4science.org/gCubeSystem/maven-parent.git - scm:git:https://code-repo.d4science.org/gCubeSystem/maven-parent.git - https://code-repo.d4science.org/gCubeSystem/maven-parent - HEAD - + + scm:git:https://code-repo.d4science.org/gCubeSystem/maven-parent.git + scm:git:https://code-repo.d4science.org/gCubeSystem/maven-parent.git + https://code-repo.d4science.org/gCubeSystem/maven-parent + HEAD + @@ -79,9 +79,9 @@ - + disable-java8-doclint @@ -99,8 +99,8 @@ generate-distribution-packages - generateDistribution - true + generateDistribution + true @@ -347,7 +347,7 @@ build_commits.csv true - ${project.groupId},${project.artifactId},${project.version},${project.scm.url},${git.branch},${git.commit.id},${repository.releases.url},${project.build.finalName}.${project.packaging} + ${project.groupId},${project.artifactId},${project.version},${project.scm.url},${git.branch},${buildNumber},${repository.releases.url},${project.build.finalName}.${project.packaging} @@ -448,7 +448,7 @@ build_commits.csv true - ${project.groupId},${project.artifactId},${project.version},${project.scm.url},${git.branch},${git.commit.id},${repository.jenkins.staging.url},${project.build.finalName}.${project.packaging} + ${project.groupId},${project.artifactId},${project.version},${project.scm.url},${scmBranch},${buildNumber},${repository.jenkins.staging.url},${project.build.finalName}.${project.packaging} @@ -468,30 +468,30 @@ - - dry-run - - false - - build-dry-run - true - - - - - - - org.apache.maven.plugins - maven-deploy-plugin - 3.0.0-M1 - - true - - - - - - + + dry-run + + false + + build-dry-run + true + + + + + + + org.apache.maven.plugins + maven-deploy-plugin + 3.0.0-M1 + + true + + + + + + @@ -500,30 +500,37 @@ - - pl.project13.maven - git-commit-id-plugin - 3.0.1 + org.codehaus.mojo + buildnumber-maven-plugin + 1.4 - get-the-git-infos + useLastCommittedRevision validate - revision + create + + true + scmBranch + false + false + + + + create-timestamp-id + validate + + create-timestamp + + + yyyy-MM-dd HH:mm:ss.S + scmDate + + - - ${project.basedir}/.git - git - false - false - - false - false - -dirty - - @@ -537,10 +544,10 @@ true - ${git.commit.id} + ${buildNumber} ${buildDate} - ${git.branch} - ${project.scm.url}/commit/${git.commit.id} + ${scmBranch} + ${project.scm.url}/commit/${buildNumber} @@ -586,96 +593,96 @@ shared-assemblies 1.1.0 - - - - - make-uberjar - - - gcube-uberjar - - + + make-uberjar + + + gcube-uberjar + + - + If not done, the servicearchive will be built also during this execution. + --> + - - true - - - single - - + + true + + + single + + - - - make-servicearchive - - - gcube-default-servicearchive - + + + make-servicearchive + + + gcube-default-servicearchive + - - + If not done, the servicearchive will be built also during this execution. + --> + - - true - - - single - - - - - make-source-package - - - gcube-source-package - + + true + + + single + + + + + make-source-package + + + gcube-source-package + - - + If not done, the servicearchive will be built also during this execution. + --> + - - true - - - single - - - + + true + + + single + + + @@ -772,8 +779,8 @@ - pl.project13.maven - git-commit-id-plugin + org.codehaus.mojo + buildnumber-maven-plugin