summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Brady <pb071s@att.com>2018-03-06 14:47:08 -0500
committerPatrick Brady <pb071s@att.com>2018-03-06 14:52:49 -0500
commite81b5df95fde8923b0ffba26595aae443bdec98d (patch)
tree38a92faefcad781ec1cadc5703309afc4faea897
parentc018454288976c407974dd979670befa399e8ab7 (diff)
Adding distribution mgmt
Merge deploy is failing because repository listings are missing. Copied the repository listings over from the main appc project. Change-Id: Iee5b976dd34134fb0a0dedec9a070cb8ef151697 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-627
-rw-r--r--pom.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 9745d7d..cfa4fed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,8 +33,25 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<npm.executable>npm</npm.executable>
+ <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
</properties>
+ <!-- ================================================================================== -->
+ <!-- Distribution Management Sites -->
+ <!-- ================================================================================== -->
+ <distributionManagement>
+ <repository>
+ <id>ecomp-releases</id>
+ <name>openecomp-repository-releases</name>
+ <url>${onap.nexus.url}/content/repositories/releases</url>
+ </repository>
+ <snapshotRepository>
+ <id>ecomp-snapshots</id>
+ <name>openecomp-repository-snapshots</name>
+ <url>${onap.nexus.url}/content/repositories/snapshots</url>
+ </snapshotRepository>
+ </distributionManagement>
+
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -46,6 +63,18 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<build>
<plugins>
+ <!--maven staging plugin -->
+ <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>exec-maven-plugin</artifactId>