[OS-144] Updating ecomp-nexus to nexus.openecomp 73/1473/2
authorJimmy Forsyth <jf2512@att.com>
Mon, 27 Feb 2017 16:10:00 +0000 (11:10 -0500)
committerJimmy Forsyth <jf2512@att.com>
Mon, 27 Feb 2017 16:59:43 +0000 (11:59 -0500)
Change-Id: Iab72a094c2a7b9bbdf2a60a7257a6f44db872c28
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 227a241..d790dd7 100644 (file)
--- a/pom.xml
+++ b/pom.xml
        <properties>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+               <nexus.host>nexus.openecomp.org</nexus.host>
+               <nexus.proto>https</nexus.proto>
+               <build.version>1.0.0-SNAPSHOT</build.version>
        </properties>
+       <repositories>
+               <repository>
+                       <!-- Snapshots repository has ECOMP snapshot artifacts -->
+                       <id>nexus-snapshots</id>
+                       <name>Nexus Maven Central - Snapshots</name>
+                       <url>${nexus.proto}://${nexus.host}/content/repositories/snapshots/</url>
+               </repository>
+               <repository>
+                       <!-- Releases repository has ECOMP release artifacts -->
+                       <id>nexus</id>
+                       <name>Nexus Maven Central - Releases</name>
+                       <url>${nexus.proto}://${nexus.host}/content/repositories/releases/</url>
+               </repository>
+               <repository>
+                       <!-- Snapshots repository has ECOMP snapshot artifacts -->
+                       <id>oss-snapshots</id>
+                       <name>oss Central - Snapshots</name>
+                       <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
+               </repository>
+       </repositories>
 
        <distributionManagement>
                <repository>
-                       <id>vid-releases</id>
+                       <id>ecomp-releases</id>
                        <name>VID Release Repository</name>
-                       <url>https://ecomp-nexus:8443/repository/maven-releases</url>
+                       <url>${nexus.proto}://${nexus.host}/content/repositories/releases/</url>
                </repository>
-
                <snapshotRepository>
-                       <id>vid-snapshots</id>
+                       <id>ecomp-snapshots</id>
                        <name>VID Snapshot Repository</name>
-                       <url>https://ecomp-nexus:8443/repository/maven-snapshots</url>
+                       <url>${nexus.proto}://${nexus.host}/content/repositories/snapshots/</url>
                </snapshotRepository>
+               <!-- added for javadoc -->
                <site>
-                       <id>vid-javadoc</id>
-                       <url>dav:https://ecomp-nexus:8443/repository/vid-javadoc/${project.version}</url>
+                       <id>ecomp-javadoc</id>
+                       <url>dav:${nexus.proto}://${nexus.host}/content/repositories/vid-javadoc/${project.version}</url>
                </site>
        </distributionManagement>