summaryrefslogtreecommitdiffstats
path: root/odlparent
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dtimoney@att.com>2019-03-14 15:45:07 -0400
committerTimoney, Dan (dt5972) <dtimoney@att.com>2019-03-14 15:45:07 -0400
commit60bfa8c7163086c2f9dbaa5f8c683525a81cf069 (patch)
tree5247ee8c100237cc6bfe3b123e17459d2e772ad5 /odlparent
parent44c345f3ea38326dec95f8d641e4cd6e5284d9eb (diff)
Disable staging plugin1.2.1
Disable staging plugin when doing staging build for client parent Change-Id: Iff83355117c00bcaf120d1a603492ddfa98c5c6e Issue-ID: CCSDK-1119 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Diffstat (limited to 'odlparent')
-rw-r--r--odlparent/client-parent/pom.xml37
1 files changed, 26 insertions, 11 deletions
diff --git a/odlparent/client-parent/pom.xml b/odlparent/client-parent/pom.xml
index 66d12437..198362df 100644
--- a/odlparent/client-parent/pom.xml
+++ b/odlparent/client-parent/pom.xml
@@ -341,6 +341,32 @@
<url>https://nexus.onap.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
+
+ <profiles>
+ <profile>
+ <id>nexus-staging</id>
+ <activation>
+ <property>
+ <name>!altDeploymentRepository</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.plugins</groupId>
+ <artifactId>nexus-staging-maven-plugin</artifactId>
+ <version>1.6.7</version>
+ <extensions>true</extensions>
+ <configuration>
+ <nexusUrl>https://${onap.nexus.host}</nexusUrl>
+ <stagingProfileId>176c31dfe190a</stagingProfileId>
+ <serverId>ecomp-staging</serverId>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
<build>
<pluginManagement>
@@ -518,17 +544,6 @@
</pluginManagement>
<plugins>
<plugin>
- <groupId>org.sonatype.plugins</groupId>
- <artifactId>nexus-staging-maven-plugin</artifactId>
- <version>1.6.7</version>
- <extensions>true</extensions>
- <configuration>
- <nexusUrl>${onap.nexus.url}</nexusUrl>
- <stagingProfileId>176c31dfe190a</stagingProfileId>
- <serverId>ecomp-staging</serverId>
- </configuration>
- </plugin>
- <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.5</version>