From 4765652b0e9efbd3f845cb75888c7c07d5a9a8b1 Mon Sep 17 00:00:00 2001 From: Carsten Lund Date: Sun, 26 Feb 2017 12:15:07 +0000 Subject: Fixes POMs for release job Change-Id: Ie05e6c75774574fe2b3301a8136eea20571057ab Signed-off-by: Carsten Lund --- ncomp-docker-adaptor/pom.xml | 34 ---------------------------------- pom.xml | 34 ---------------------------------- version.properties | 11 +++++++++++ 3 files changed, 11 insertions(+), 68 deletions(-) create mode 100644 version.properties diff --git a/ncomp-docker-adaptor/pom.xml b/ncomp-docker-adaptor/pom.xml index 3cf15de..bc8a0e8 100644 --- a/ncomp-docker-adaptor/pom.xml +++ b/ncomp-docker-adaptor/pom.xml @@ -11,42 +11,8 @@ - - - - JCenter - JCenter Repository - http://jcenter.bintray.com - - - - Restlet - Restlet Repository - http://maven.restlet.com - - - - - com.blackducksoftware.integration - hub-maven-plugin - 1.4.0 - false - - ${project.name} - ${project.basedir} - - - - create-bdio-file - package - - createHubOutput - - - - org.apache.maven.plugins diff --git a/pom.xml b/pom.xml index 6e1c20b..c1feeca 100644 --- a/pom.xml +++ b/pom.xml @@ -13,43 +13,9 @@ - - - - JCenter - JCenter Repository - http://jcenter.bintray.com - - - - Restlet - Restlet Repository - http://maven.restlet.com - - - - - com.blackducksoftware.integration - hub-maven-plugin - 1.4.0 - false - - ${project.name} - ${project.basedir} - - - - create-bdio-file - package - - createHubOutput - - - - org.apache.maven.plugins diff --git a/version.properties b/version.properties new file mode 100644 index 0000000..c0f2742 --- /dev/null +++ b/version.properties @@ -0,0 +1,11 @@ +# 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 must be completed with git revision # in Jenkins + +release_version=${base_version} +snapshot_version=${base_version}-SNAPSHOT -- cgit 1.2.3-korg