From e3948b0308c817f0b43918731ee26dab6202c0c9 Mon Sep 17 00:00:00 2001 From: "Timoney, Dan (dt5972)" Date: Mon, 4 Mar 2019 11:49:26 -0500 Subject: Change nexus-staging config nexus-staging-maven-plugin interferes with Jenkins staging job, but is needed for release-version and docker-version jobs. Changed to install nexus-staging-maven-plugin in a separate build profile that is activated when altDeploymentRepository property is unset. This property is set by the staging Jenkins job only. Change-Id: I877e176229efd6bd5c08a6b83a2594cc4e57eebe Issue-ID: CCSDK-1119 Signed-off-by: Timoney, Dan (dt5972) --- odlparent/feature-repo-parent/pom.xml | 40 +++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 16 deletions(-) (limited to 'odlparent/feature-repo-parent/pom.xml') diff --git a/odlparent/feature-repo-parent/pom.xml b/odlparent/feature-repo-parent/pom.xml index f1ff9176..0e913d19 100644 --- a/odlparent/feature-repo-parent/pom.xml +++ b/odlparent/feature-repo-parent/pom.xml @@ -440,7 +440,29 @@ - + + nexus-staging + + + !altDeploymentRepository + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + https://nexus.onap.org + + ecomp-releases + + + + + @@ -747,17 +769,7 @@ - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true - - ${onap.nexus.url} - 176c31dfe190a - ecomp-staging - - + org.apache.maven.plugins maven-deploy-plugin @@ -983,10 +995,6 @@ - - org.sonatype.plugins - nexus-staging-maven-plugin - org.apache.maven.plugins maven-deploy-plugin -- cgit 1.2.3-korg