summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dtimoney@att.com>2019-04-18 16:01:09 -0400
committerTimoney, Dan (dt5972) <dtimoney@att.com>2019-04-18 16:01:09 -0400
commit0d4e02482b2bf2189a5e58a0e308cc78a9bbd1f8 (patch)
tree75c8390183289644da46c038f2d87bffe5716f6d
parenteef835b7366ffb1c4feda5c6dc24c2733eb27a8f (diff)
Remove duplicate staging3.0.2-ONAP1.4.5casablanca
Surround staging config in build profile so that staging plugin is not run for topmost pom.xml Change-Id: I71863a7efc68efffc16ea12d70bce27df6f9bcf7 Issue-ID: CCSDK-1166 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 7566807e10aaf852ea75293a3782407fe9ddb7bb
-rwxr-xr-xpom.xml34
1 files changed, 23 insertions, 11 deletions
diff --git a/pom.xml b/pom.xml
index a900c758..6063d15a 100755
--- a/pom.xml
+++ b/pom.xml
@@ -58,17 +58,6 @@
<skipTests>false</skipTests>
</configuration>
</plugin>
- <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>${onap.nexus.staging.profile-id}</stagingProfileId>
- <serverId>${onap.nexus.staging.server-id}</serverId>
- </configuration>
- </plugin>
</plugins>
</build>
@@ -113,6 +102,29 @@
<module>installation</module>
</modules>
</profile>
+ <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>
</project>