From 1b7203386e3d89a2e07d8c0020a50bf247884dd0 Mon Sep 17 00:00:00 2001 From: Jimmy Forsyth Date: Thu, 2 Mar 2017 16:54:27 -0500 Subject: [OS-144] Fixing repo block Change-Id: I11ce2a367fed055aac47232e949d2d9042065df7 Signed-off-by: Jimmy Forsyth --- pom.xml | 146 ++++++++++++++++++++++++++++++----------------------- version.properties | 13 +++++ vid/pom.xml | 31 +++++++----- 3 files changed, 116 insertions(+), 74 deletions(-) create mode 100644 version.properties diff --git a/pom.xml b/pom.xml index 4328d58a6..8f06bbd25 100644 --- a/pom.xml +++ b/pom.xml @@ -30,22 +30,28 @@ UTF-8 UTF-8 - nexus.openecomp.org - https 1.0.0-SNAPSHOT + https://nexus.openecomp.org + /content/repositories/snapshots/ + /content/repositories/releases/ + /content/repositories/staging/ + - - nexus-snapshots - Nexus Maven Central - Snapshots - ${nexus.proto}://${nexus.host}/content/repositories/snapshots/ + ecomp-releases + VID Release Repository + ${nexusproxy}/${releaseNexusPath} - - nexus - Nexus Maven Central - Releases - ${nexus.proto}://${nexus.host}/content/repositories/releases/ + ecomp-snapshots + VID Snapshot Repository + ${nexusproxy}/${snapshotNexusPath} + + + ecomp-staging + VID Staging Repository + ${nexusproxy}/${stagingNexusPath} @@ -57,24 +63,41 @@ - releases + ecomp-releases VID Release Repository - ${nexus.proto}://${nexus.host}/content/repositories/releases/ + ${nexusproxy}/${releaseNexusPath} - snapshots + ecomp-snapshots VID Snapshot Repository - ${nexus.proto}://${nexus.host}/content/repositories/snapshots/ + ${nexusproxy}/${snapshotNexusPath} - javadoc - dav:${nexus.proto}://${nexus.host}/content/repositories/vid-javadoc/${project.version} + ecomp-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 @@ -86,63 +109,62 @@ AT&T VID false - ========LICENSE_START=========== - ============LICENSE_END=========== + ========LICENSE_START=========== + ============LICENSE_END=========== - src/main/java + src/main/java *.png - - org.apache.maven.plugins - maven-deploy-plugin - 2.8 - - true - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.17 - - - org.apache.maven.plugins - maven-compiler-plugin - 2.3.2 + + org.apache.maven.plugins + maven-deploy-plugin + 2.8 + - - true - -Xlint - true - true - true - 1.8 - 1.8 - - - - - org.apache.maven.plugins - maven-site-plugin - 3.6 - - - org.apache.maven.wagon - wagon-webdav-jackrabbit - 2.10 - - - - + + org.apache.maven.plugins + maven-surefire-plugin + 2.17 + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.3.2 + + true + -Xlint + true + true + true + 1.8 + 1.8 + + + + + org.apache.maven.plugins + maven-site-plugin + 3.6 + + + org.apache.maven.wagon + wagon-webdav-jackrabbit + 2.10 + + + + + + diff --git a/version.properties b/version.properties new file mode 100644 index 000000000..cdcd1e9ec --- /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 must be completed with git revision # in Jenkins +release_version=${base_version} +snapshot_version=${base_version}-SNAPSHOT diff --git a/vid/pom.xml b/vid/pom.xml index 32f4d9e79..46e04ade7 100644 --- a/vid/pom.xml +++ b/vid/pom.xml @@ -9,7 +9,7 @@ inherit from a parent maven module. --> org.openecomp.vid vid - 1.0.0 + 1.0.0-SNAPSHOT war VID Webapp VID Webapp based on the Ecomp SDK @@ -25,19 +25,27 @@ true + https://nexus.openecomp.org + /content/repositories/snapshots/ + /content/repositories/releases/ + /content/repositories/staging/ + - - nexus-snapshots - Nexus Maven Central - Snapshots - https://ecomp-nexus:8443/repository/maven-snapshots/ + ecomp-releases + VID Release Repository + ${nexusproxy}/${releaseNexusPath} + + + ecomp-snapshots + VID Snapshot Repository + ${nexusproxy}/${snapshotNexusPath} - - nexus - Nexus Maven Central - Releases - https://ecomp-nexus:8443/repository/maven-releases/ + ecomp-staging + VID Staging Repository + ${nexusproxy}/${stagingNexusPath} @@ -46,6 +54,8 @@ https://oss.sonatype.org/service/local/repositories/releases/content/ + + @@ -146,9 +156,6 @@ org.apache.maven.plugins maven-deploy-plugin 2.5 - - true - org.apache.tomcat.maven -- cgit 1.2.3-korg