Move Nexus URL base to a property 77/5377/2
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 15 Feb 2017 11:39:18 +0000 (03:39 -0800)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 15 Feb 2017 12:38:13 +0000 (04:38 -0800)
Move the Nexus URL base to a property and fix up all the references to
use the new property. This way it is easier to make sure that all URLs
are referencing the correct Nexus URL

Change-Id: Icabcac4d6b3c968f57678022c0802e394882d826
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
pom.xml

diff --git a/pom.xml b/pom.xml
index 8eaef44..d63b51c 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                <!-- this is used for Chef mso-code cookbook -->
                <swm.version>2.19.3-1</swm.version>
                <evosuiteVersion>1.0.4-alpha2</evosuiteVersion>
+               <nexusproxy>https://nexus.openecomp.org</nexusproxy>
        </properties>
        <distributionManagement>
                <repository>
                        <id>ecomp-releases</id>
                        <name>MSO Release Repository</name>
-                       <url>https://nexus.openecomp.org/content/repositories/releases/</url>
+                       <url>${nexusproxy}/content/repositories/releases/</url>
                </repository>
                <snapshotRepository>
                        <id>ecomp-snapshots</id>
                        <name>MSO Snapshot Repository</name>
-                       <url>https://nexus.openecomp.org/content/repositories/snapshots/</url>
+                       <url>${nexusproxy}/content/repositories/snapshots/</url>
                </snapshotRepository>
                <site>
                        <id>ecomp-javadoc</id>
                <repository>
                        <id>ecomp-releases</id>
                        <name>MSO Release Repository</name>
-                       <url>https://nexus.openecomp.org/content/repositories/releases/</url>
+                       <url>${nexusproxy}/content/repositories/releases/</url>
                </repository>
                <repository>
                        <id>ecomp-staging</id>
                        <name>MSO Staging Repository</name>
-                       <url>https://nexus.openecomp.org/content/repositories/staging/</url>
+                       <url>${nexusproxy}/content/repositories/staging/</url>
                </repository>
                <!-- Camunda Web Repository -->
                <repository>
                                <version>1.6.7</version>
                                <extensions>true</extensions>
                                <configuration>
-                                       <nexusUrl>http://nexus.openecomp.org/</nexusUrl>
+                                       <nexusUrl>${nexusproxy}</nexusUrl>
                                        <stagingProfileId>176c31dfe190a</stagingProfileId>
                                        <serverId>ecomp-staging</serverId>
                                </configuration>