diff options
Diffstat (limited to 'pomba')
-rw-r--r-- | pomba/network-discovery-api/pom.xml | 27 | ||||
-rw-r--r-- | pomba/pom.xml | 27 |
2 files changed, 52 insertions, 2 deletions
diff --git a/pomba/network-discovery-api/pom.xml b/pomba/network-discovery-api/pom.xml index d8db0a0..d3db665 100644 --- a/pomba/network-discovery-api/pom.xml +++ b/pomba/network-discovery-api/pom.xml @@ -22,7 +22,7 @@ limitations under the License. <parent> <groupId>org.onap.oparent</groupId> <artifactId>oparent</artifactId> - <version>1.2.3</version> + <version>2.0.0</version> <relativePath/> </parent> @@ -50,5 +50,30 @@ limitations under the License. <scope>test</scope> </dependency> </dependencies> + <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://nexus.onap.org</nexusUrl> + <stagingProfileId>176c31dfe190a</stagingProfileId> + <serverId>ecomp-staging</serverId> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> diff --git a/pomba/pom.xml b/pomba/pom.xml index 8a91074..23e9d8c 100644 --- a/pomba/pom.xml +++ b/pomba/pom.xml @@ -22,7 +22,7 @@ limitations under the License. <parent> <groupId>org.onap.oparent</groupId> <artifactId>oparent</artifactId> - <version>1.2.3</version> + <version>2.0.0</version> <relativePath/> </parent> @@ -53,4 +53,29 @@ limitations under the License. </plugin> </plugins> </build> + <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://nexus.onap.org</nexusUrl> + <stagingProfileId>176c31dfe190a</stagingProfileId> + <serverId>ecomp-staging</serverId> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> |