diff options
author | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2017-03-29 10:37:43 -0700 |
---|---|---|
committer | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2017-03-29 10:37:43 -0700 |
commit | 1debcf42e6b6cd337ea9baadf8310a97b7e9d905 (patch) | |
tree | f7302ab61cc03858f32a398cb7899e195f6acd4f /ecomp-sdk | |
parent | c93627934892e9644383124467f09657c7ad42c0 (diff) |
Point Nexus proxy to new URL
The nexus.openecomp.org domain has been deprecated for nexus.onap.org
Change-Id: I74d65e254f5d3d0aafb4307a20192a1546ec63ce
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Diffstat (limited to 'ecomp-sdk')
-rw-r--r-- | ecomp-sdk/pom.xml | 14 | ||||
-rw-r--r-- | ecomp-sdk/sdk-app/pom.xml | 10 |
2 files changed, 16 insertions, 8 deletions
diff --git a/ecomp-sdk/pom.xml b/ecomp-sdk/pom.xml index 790e926c..7b75cfbc 100644 --- a/ecomp-sdk/pom.xml +++ b/ecomp-sdk/pom.xml @@ -30,6 +30,10 @@ <hibernate.version>4.3.11.Final</hibernate.version> <!-- Tests usually require some setup that maven cannot do, so skip. --> <skiptests>true</skiptests> + <nexusproxy>https://nexus.onap.org</nexusproxy> + <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> + <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> + <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> </properties> <reporting> @@ -58,13 +62,13 @@ <!-- 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> <id>oss-sonatype</id> @@ -104,7 +108,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> @@ -210,12 +214,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> <site> diff --git a/ecomp-sdk/sdk-app/pom.xml b/ecomp-sdk/sdk-app/pom.xml index 8ee52126..c2192c11 100644 --- a/ecomp-sdk/sdk-app/pom.xml +++ b/ecomp-sdk/sdk-app/pom.xml @@ -30,6 +30,10 @@ <!-- Tests usually require some setup that maven cannot do, so skip. --> <skiptests>true</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> <plugins> @@ -62,19 +66,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 --> |