Adding distribution mgmt 47/34347/2
authorPatrick Brady <pb071s@att.com>
Tue, 6 Mar 2018 19:47:08 +0000 (14:47 -0500)
committerPatrick Brady <pb071s@att.com>
Tue, 6 Mar 2018 19:52:49 +0000 (14:52 -0500)
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

pom.xml

diff --git a/pom.xml b/pom.xml
index 9745d7d..cfa4fed 100644 (file)
--- 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>