diff options
author | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2017-03-29 10:26:41 -0700 |
---|---|---|
committer | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2017-03-29 10:28:15 -0700 |
commit | e7a418d03ff183fd3e8fcb5ed878a258765ecef2 (patch) | |
tree | ed79adcf24d74e866493bf10d4097ac401f7d0a9 | |
parent | 6800e0a2123df36c40d0bd6b0c3030314dace51f (diff) |
Point Nexus proxy to new URL
The nexus.openecomp.org domain has been deprecated for nexus.onap.org
Change-Id: I5d177e6eda3442ac0ec0c3eec327494f09529f7f
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
-rw-r--r-- | ecomp-portal-BE/pom.xml | 10 | ||||
-rw-r--r-- | pom.xml | 14 |
2 files changed, 18 insertions, 6 deletions
diff --git a/ecomp-portal-BE/pom.xml b/ecomp-portal-BE/pom.xml index 8b389641..a39d44d2 100644 --- a/ecomp-portal-BE/pom.xml +++ b/ecomp-portal-BE/pom.xml @@ -15,6 +15,10 @@ <!-- Tests usually require some setup that maven cannot do, so skip. --> <skiptests>false</skiptests> <sonar.exclusions>**.js</sonar.exclusions> + <nexusproxy>https://nexus.onap.org</nexusproxy> + <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> + <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> + <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> </properties> <reporting> @@ -48,19 +52,19 @@ <!-- Releases repository has ECOMP release artifacts --> <id>ecomp-releases</id> <name>OpenECOMP - Release Repository</name> - <url>https://nexus.openecomp.org/content/repositories/releases/</url> + <url>${nexusproxy}/${releaseNexusPath}</url> </repository> <repository> <!-- Snapshots repository has ECOMP snapshot artifacts --> <id>ecomp-snapshots</id> <name>OpenECOMP - Snapshot Repository</name> - <url>https://nexus.openecomp.org/content/repositories/snapshots/</url> + <url>${nexusproxy}/${snapshotNexusPath}</url> </repository> <repository> <!-- Staging repository has ECOMP staging artifacts --> <id>ecomp-staging</id> <name>OpenECOMP - Staging Repository</name> - <url>https://nexus.openecomp.org/content/repositories/staging/</url> + <url>${nexusproxy}/${stagingNexusPath}</url> </repository> <repository> <!-- Snapshots repository has ECOMP snapshot artifacts --> @@ -17,6 +17,14 @@ <module>ecomp-portal-FE</module> <module>ecomp-portal-BE</module> </modules> + + <properties> + <nexusproxy>https://nexus.onap.org</nexusproxy> + <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> + <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> + <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> + </properties> + <build> <plugins> <plugin> @@ -25,7 +33,7 @@ <version>1.6.7</version> <extensions>true</extensions> <configuration> - <nexusUrl>https://nexus.openecomp.org/</nexusUrl> + <nexusUrl>${nexusproxy}</nexusUrl> <stagingProfileId>176c31dfe190a</stagingProfileId> <serverId>ecomp-staging</serverId> </configuration> @@ -40,12 +48,12 @@ <repository> <id>ecomp-releases</id> <name>OpenECOMP - Release Repository</name> - <url>https://nexus.openecomp.org/content/repositories/releases/</url> + <url>${nexusproxy}/${releaseNexusPath}</url> </repository> <snapshotRepository> <id>ecomp-snapshots</id> <name>OpenECOMP - Snapshot Repository</name> - <url>https://nexus.openecomp.org/content/repositories/snapshots/</url> + <url>${nexusproxy}/${snapshotNexusPath}</url> </snapshotRepository> </distributionManagement> </project> |