Adding ecocmp-staging repository 21/1721/1
authorPatrick Brady <pb071s@att.com>
Tue, 7 Mar 2017 06:58:24 +0000 (22:58 -0800)
committerPatrick Brady <pb071s@att.com>
Tue, 7 Mar 2017 06:58:35 +0000 (22:58 -0800)
Adding a repository section to the pom file so that the path
to the ecomp-staging nexus can be defined there instead of the
staging plugin itself since the staging plugin only wants the
base url of the nexus server.

Change-Id: I8e4e5e4e8c6b2e1fa304ae72a08b000a14ff2d45
Signed-off-by: Patrick Brady <pb071s@att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index d4d15b3..6a61702 100644 (file)
--- a/pom.xml
+++ b/pom.xml
             <url>http://maven.restlet.com</url>
         </pluginRepository>
     </pluginRepositories>
+    <repositories>
+        <repository>
+            <id>ecomp-staging</id>
+            <name>ecomp Staging Repository</name>
+            <url>https://nexus.openecomp.org/content/repositories/staging/</url>
+        </repository>
+    </repositories>
     <build>
         <plugins>
             <!--maven staging plugin-->
@@ -37,7 +44,7 @@
                     <version>1.6.7</version>
                     <extensions>true</extensions>
                     <configuration>
-                        <nexusUrl>https://nexus.openecomp.org/content/repositories/staging/</nexusUrl>
+                        <nexusUrl>https://nexus.openecomp.org</nexusUrl>
                         <stagingProfileId>176c31dfe190a</stagingProfileId>
                         <serverId>ecomp-staging</serverId>
                     </configuration>