From: ml636r Date: Thu, 23 Feb 2017 12:46:45 +0000 (+0200) Subject: Added staging and version.properties X-Git-Tag: v1.1.32~41 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=e58551874f13163de28182d687693f37e20a46ad;p=sdc%2Fsdc-distribution-client.git Added staging and version.properties Change-Id: I31c4c750715f9b9e50d3587416e2d8e78d4e6738 Signed-off-by: ml636r --- diff --git a/pom.xml b/pom.xml index 622b310..be86365 100644 --- a/pom.xml +++ b/pom.xml @@ -10,13 +10,11 @@ 4.5 4.4.1 1.14 - + ${project.basedir}/target/jacoco.exec https://nexus.openecomp.org + 176c31dfe190a @@ -189,6 +187,19 @@ + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ${nexus.proxy} + ${staging.profile.id} + ecomp-staging + + + org.apache.maven.plugins maven-compiler-plugin @@ -273,3 +284,4 @@ + diff --git a/version.properties b/version.properties new file mode 100644 index 0000000..bf3f0bf --- /dev/null +++ b/version.properties @@ -0,0 +1,13 @@ +########################################################### +# Versioning variables +# Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... ) +# because they are used in Jenkins, whose plug-in doesn't support + +major=1 +minor=0 +patch=0 + +base_version=${major}.${minor}.${patch} + +release_version=${base_version} +snapshot_version=${base_version}-SNAPSHOT