From e58551874f13163de28182d687693f37e20a46ad Mon Sep 17 00:00:00 2001 From: ml636r Date: Thu, 23 Feb 2017 14:46:45 +0200 Subject: Added staging and version.properties Change-Id: I31c4c750715f9b9e50d3587416e2d8e78d4e6738 Signed-off-by: ml636r --- pom.xml | 20 ++++++++++++++++---- version.properties | 13 +++++++++++++ 2 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 version.properties 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 -- cgit 1.2.3-korg