diff options
Diffstat (limited to 'odlparent/client-parent')
-rw-r--r-- | odlparent/client-parent/pom.xml | 37 |
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> |