From 9ef101218c9e9ce382fd2f17c226df7c4ae1a721 Mon Sep 17 00:00:00 2001 From: Jimmy Forsyth Date: Wed, 1 Mar 2017 16:35:00 -0500 Subject: [OS-144] Setting up staging repo Change-Id: I351504f2aed77831542c479e09dfa03a91743eb2 Signed-off-by: Jimmy Forsyth --- pom.xml | 40 ++++++++++++++++++++++++++++------------ version.properties | 13 +++++++++++++ 2 files changed, 41 insertions(+), 12 deletions(-) create mode 100644 version.properties diff --git a/pom.xml b/pom.xml index 72c62fb..7653885 100644 --- a/pom.xml +++ b/pom.xml @@ -11,8 +11,7 @@ 1.8 1.8 UTF-8 - nexus.openecomp.org - https + https://nexus.openecomp.org 1.0.2-SNAPSHOT @@ -20,13 +19,13 @@ nexus-snapshots Nexus Maven Central - Snapshots - ${nexus.proto}://${nexus.host}/content/repositories/snapshots/ + ${nexusproxy}/content/repositories/snapshots/ nexus Nexus Maven Central - Releases - ${nexus.proto}://${nexus.host}/content/repositories/releases/ + ${nexusproxy}/content/repositories/releases/ @@ -72,25 +71,42 @@ - ecomp-releases + releases VID Release Repository - ${nexus.proto}://${nexus.host}/content/repositories/releases/ + ${nexusproxy}/content/repositories/releases/ - ecomp-snapshots + snapshots VID Snapshot Repository - ${nexus.proto}://${nexus.host}/content/repositories/snapshots/ + ${nexusproxy}/content/repositories/snapshots/ - ecomp-javadoc - dav:${nexus.proto}://${nexus.host}/content/repositories/vid-javadoc/${project.version} + javadoc + dav:${nexusproxy}/content/repositories/vid-javadoc/${project.version} - - + + + org.codehaus.mojo + versions-maven-plugin + 1.3.1 + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ${nexusproxy} + 176c31dfe190a + ecomp-staging + + + + org.codehaus.mojo cobertura-maven-plugin 2.7 diff --git a/version.properties b/version.properties new file mode 100644 index 0000000..2391453 --- /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=2 + +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