From 0ce26ac4ceb8be6fb30c079d9bc19695cdd28313 Mon Sep 17 00:00:00 2001 From: Carsten Lund Date: Sun, 26 Feb 2017 12:16:36 +0000 Subject: Fixes POMs for release job Change-Id: I862d6b831ef95293543855a0bf4e8f012e0bf27b Signed-off-by: Carsten Lund --- ncomp-sirius-manager-agent-server/pom.xml | 34 ---------------------- ncomp-sirius-manager-base/pom.xml | 34 ---------------------- ncomp-sirius-manager-console/pom.xml | 48 +++++++++---------------------- ncomp-sirius-manager-drools/pom.xml | 48 +++++++++---------------------- ncomp-sirius-manager-generator/pom.xml | 48 +++++++++---------------------- ncomp-sirius-manager-server/pom.xml | 48 +++++++++---------------------- pom.xml | 34 ---------------------- version.properties | 11 +++++++ 8 files changed, 67 insertions(+), 238 deletions(-) create mode 100644 version.properties diff --git a/ncomp-sirius-manager-agent-server/pom.xml b/ncomp-sirius-manager-agent-server/pom.xml index cd4de2a..80a0f07 100644 --- a/ncomp-sirius-manager-agent-server/pom.xml +++ b/ncomp-sirius-manager-agent-server/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/ncomp-sirius-manager-base/pom.xml b/ncomp-sirius-manager-base/pom.xml index 4088742..c410e91 100644 --- a/ncomp-sirius-manager-base/pom.xml +++ b/ncomp-sirius-manager-base/pom.xml @@ -18,20 +18,6 @@ - - - - JCenter - JCenter Repository - http://jcenter.bintray.com - - - - Restlet - Restlet Repository - http://maven.restlet.com - - @@ -57,26 +43,6 @@ - - - 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/ncomp-sirius-manager-console/pom.xml b/ncomp-sirius-manager-console/pom.xml index b3183db..4a5db5d 100644 --- a/ncomp-sirius-manager-console/pom.xml +++ b/ncomp-sirius-manager-console/pom.xml @@ -11,46 +11,26 @@ 1.7 https://nexus.openecomp.org/content/repositories/releases/ https://nexus.openecomp.org/content/repositories/snapshots/ + https://nexus.openecomp.org + ecomp-staging + 176c31dfe190a - - - - JCenter - JCenter Repository - http://jcenter.bintray.com - - - - Restlet - Restlet Repository - http://maven.restlet.com - - src/main/groovy - - - com.blackducksoftware.integration - hub-maven-plugin - 1.4.0 - false - - ${project.name} - ${project.basedir} - - - - create-bdio-file - package - - createHubOutput - - - - + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ${openecomp.nexus.staging.serverId} + ${openecomp.nexus.proxy} + ${openecomp.nexus.staging.profileId} + + org.apache.maven.plugins diff --git a/ncomp-sirius-manager-drools/pom.xml b/ncomp-sirius-manager-drools/pom.xml index 1089f82..763d835 100644 --- a/ncomp-sirius-manager-drools/pom.xml +++ b/ncomp-sirius-manager-drools/pom.xml @@ -10,45 +10,25 @@ 1.7 https://nexus.openecomp.org/content/repositories/releases/ https://nexus.openecomp.org/content/repositories/snapshots/ + https://nexus.openecomp.org + ecomp-staging + 176c31dfe190a - - - - 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.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ${openecomp.nexus.staging.serverId} + ${openecomp.nexus.proxy} + ${openecomp.nexus.staging.profileId} + + org.apache.maven.plugins diff --git a/ncomp-sirius-manager-generator/pom.xml b/ncomp-sirius-manager-generator/pom.xml index fe3ffe5..fd12124 100644 --- a/ncomp-sirius-manager-generator/pom.xml +++ b/ncomp-sirius-manager-generator/pom.xml @@ -11,46 +11,26 @@ 1.7 https://nexus.openecomp.org/content/repositories/releases/ https://nexus.openecomp.org/content/repositories/snapshots/ + https://nexus.openecomp.org + ecomp-staging + 176c31dfe190a - - - - JCenter - JCenter Repository - http://jcenter.bintray.com - - - - Restlet - Restlet Repository - http://maven.restlet.com - - src/main/groovy - - - com.blackducksoftware.integration - hub-maven-plugin - 1.4.0 - false - - ${project.name} - ${project.basedir} - - - - create-bdio-file - package - - createHubOutput - - - - + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ${openecomp.nexus.staging.serverId} + ${openecomp.nexus.proxy} + ${openecomp.nexus.staging.profileId} + + org.apache.maven.plugins diff --git a/ncomp-sirius-manager-server/pom.xml b/ncomp-sirius-manager-server/pom.xml index fcdde47..183c173 100644 --- a/ncomp-sirius-manager-server/pom.xml +++ b/ncomp-sirius-manager-server/pom.xml @@ -10,45 +10,25 @@ 1.7 https://nexus.openecomp.org/content/repositories/releases/ https://nexus.openecomp.org/content/repositories/snapshots/ + https://nexus.openecomp.org + ecomp-staging + 176c31dfe190a - - - - 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.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ${openecomp.nexus.staging.serverId} + ${openecomp.nexus.proxy} + ${openecomp.nexus.staging.profileId} + + org.apache.maven.plugins diff --git a/pom.xml b/pom.xml index c0490ce..0ce9f1f 100644 --- a/pom.xml +++ b/pom.xml @@ -19,42 +19,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/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