diff options
author | Timoney, Dan (dt5972) <dtimoney@att.com> | 2019-04-18 16:01:09 -0400 |
---|---|---|
committer | Timoney, Dan (dt5972) <dtimoney@att.com> | 2019-04-18 16:01:09 -0400 |
commit | 0d4e02482b2bf2189a5e58a0e308cc78a9bbd1f8 (patch) | |
tree | 75c8390183289644da46c038f2d87bffe5716f6d | |
parent | eef835b7366ffb1c4feda5c6dc24c2733eb27a8f (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-x | pom.xml | 34 |
1 files changed, 23 insertions, 11 deletions
@@ -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> |