From 5f351c2aab026728703fa2fd9d3af3141c39c7f4 Mon Sep 17 00:00:00 2001 From: Carsten Lund Date: Sun, 26 Feb 2017 12:17:33 +0000 Subject: Fixes POMs for release job Change-Id: Id60b25b93f2a733ab0c038433d95b49da91e6355 Signed-off-by: Carsten Lund --- pom.xml | 34 ---------------------------------- version.properties | 11 +++++++++++ 2 files changed, 11 insertions(+), 34 deletions(-) create mode 100644 version.properties diff --git a/pom.xml b/pom.xml index 02be668..6fa0ddc 100644 --- a/pom.xml +++ b/pom.xml @@ -16,43 +16,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