From f88fada056b2a2ec9811b5feca5cf5b43e9786e0 Mon Sep 17 00:00:00 2001 From: jimmydot Date: Sun, 7 May 2017 19:42:59 -0400 Subject: [VID-6] Fixed pom files Change-Id: Ib3c47aba4e7b5c3bf4e73418998b8e700077a7b3 Signed-off-by: jimmydot --- vid-app-common/pom.xml | 117 +++++++++++++++++++++++++------------- vid-app-common/version.properties | 13 +++++ 2 files changed, 89 insertions(+), 41 deletions(-) create mode 100644 vid-app-common/version.properties (limited to 'vid-app-common') diff --git a/vid-app-common/pom.xml b/vid-app-common/pom.xml index 5f1a07dea..296f5cbf9 100755 --- a/vid-app-common/pom.xml +++ b/vid-app-common/pom.xml @@ -15,54 +15,89 @@ VID Common code for opensource version - UTF-8 - UTF-8 - UTF-8 - 1.1.0-SNAPSHOT - 4.2.0.RELEASE - 4.3.11.Final - - true - - true - https://nexus.onap.org - /content/repositories/snapshots/ - /content/repositories/releases/ - /content/repositories/staging/ - /content/sites/site/org/openecomp/vid/${project.version} + UTF-8 + UTF-8 + UTF-8 + 1.1.0-SNAPSHOT + 4.2.0.RELEASE + 4.3.11.Final + + true + + true + https://nexus.onap.org + /content/repositories/snapshots/ + /content/repositories/releases/ + /content/repositories/staging/ + /content/sites/site/org/openecomp/vid/${project.version} - - + + - + - - ecomp-releases - VID Release Repository - ${nexusproxy}${releaseNexusPath} - - - ecomp-snapshots - VID Snapshot Repository - ${nexusproxy}${snapshotNexusPath} - - - ecomp-staging - VID Staging Repository - ${nexusproxy}${stagingNexusPath} - - - - oss-snapshots - oss Central - Snapshots - https://oss.sonatype.org/service/local/repositories/releases/content/ - + + ecomp-releases + VID Release Repository + ${nexusproxy}${releaseNexusPath} + + + ecomp-snapshots + VID Snapshot Repository + ${nexusproxy}${snapshotNexusPath} + + + ecomp-staging + VID Staging Repository + ${nexusproxy}${stagingNexusPath} + + + + oss-snapshots + oss Central - Snapshots + https://oss.sonatype.org/service/local/repositories/releases/content/ + + - + + + ecomp-releases + VID Release Repository + ${nexusproxy}/${releaseNexusPath} + + + ecomp-snapshots + VID Snapshot Repository + ${nexusproxy}/${snapshotNexusPath} + + + + ecomp-site + dav:${nexusproxy}${sitePath} + + + vid-common + + + 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 @@ -196,7 +231,7 @@ ${epsdk.version} jar - + org.openecomp.ecompsdkos epsdk-core diff --git a/vid-app-common/version.properties b/vid-app-common/version.properties new file mode 100644 index 000000000..e2595ba14 --- /dev/null +++ b/vid-app-common/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=1 +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