From f11fcc728e2a9fd4b1db99685e7f50379d5aec4f Mon Sep 17 00:00:00 2001 From: Areli Fuss Date: Thu, 7 Sep 2017 10:33:10 +0300 Subject: Update Pom support deploy Add nexus-staging-maven-plugin Add oparent project as Parent Change-Id: I7a3c9d9438bc52734efe7a6af187c949bb5f5ed2 Issue-Id: SDC-245 Signed-off-by: Areli Fuss --- pom.xml | 53 ++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 38 insertions(+), 15 deletions(-) diff --git a/pom.xml b/pom.xml index 9a927ac..8d18dc5 100644 --- a/pom.xml +++ b/pom.xml @@ -1,18 +1,22 @@ 4.0.0 + + org.onap.oparent + oparent + 1.0.0-SNAPSHOT + + sdc.att.app sdc_docker_baseline jar - 1.0.0 + 1.0.0-SNAPSHOT sdc_docker_baseline http://maven.apache.org - https://nexus.onap.org - /content/sites/site/org/openecomp/sdc/${project.version} - 176c31dfe190a + /content/sites/site/org/openecomp/sdc/${project.artifactId}/${project.version} ${maven.build.timestamp} yyyy.MM.dd.HH.mm @@ -20,8 +24,20 @@ ${project.version}-${timestamp} ${project.version}-latest + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ${onap.nexus.url} + 176c31dfe190a + ecomp-staging + + io.fabric8 docker-maven-plugin @@ -145,19 +161,26 @@ - - ecomp-releases - Release Repository - ${nexus.proxy}/content/repositories/releases/ - - - ecomp-snapshots - Snapshot Repository - ${nexus.proxy}/content/repositories/snapshots/ - ecomp-site - dav:${nexus.proxy}${sitePath} + dav:${onap.nexus.url}${sitePath} + + + ecomp-releases + ECOMP Release Repository + ${onap.nexus.url}/content/repositories/releases/ + + + ecomp-snapshots + ECOMP Snapshot Repository + ${onap.nexus.url}/content/repositories/snapshots/ + + + ecomp-staging + ECOMP Staging Repository + ${onap.nexus.url}/content/repositories/staging/ + + -- cgit 1.2.3-korg