summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManoop Talasila <talasila@research.att.com>2017-04-06 16:54:03 -0400
committerManoop Talasila <talasila@research.att.com>2017-04-06 16:54:13 -0400
commit6da346f216d87af5cbf01c20379572c8803d92b6 (patch)
treefdc247ead5df80fa62d992311cb7cd1f65443198
parent01fa8a8a9857cd8acd210512d61d7a9dc42b5ef0 (diff)
onap nexus url addedrelease-1.0.0
Change-Id: Ie52729650baf673b5727819771334a0e270cf3a4 Signed-off-by: Manoop Talasila <talasila@research.att.com>
-rw-r--r--ecomp-sdk/pom.xml21
-rw-r--r--ecomp-sdk/sdk-app/pom.xml15
2 files changed, 25 insertions, 11 deletions
diff --git a/ecomp-sdk/pom.xml b/ecomp-sdk/pom.xml
index 3ba7268..c9e4f8c 100644
--- a/ecomp-sdk/pom.xml
+++ b/ecomp-sdk/pom.xml
@@ -31,7 +31,10 @@
<!-- Tests usually require some setup that maven cannot do, so skip. -->
<skiptests>true</skiptests>
<nexusproxy>https://nexus.onap.org</nexusproxy>
- <sitePath>/content/sites/site/org/openecomp/ecompsdkos/${project.version}</sitePath>
+ <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
+ <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
+ <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
+ <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
</properties>
<reporting>
@@ -60,13 +63,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>${nexusproxy}/${stagingNexusPath}</url>
</repository>
<repository>
<id>oss-sonatype</id>
@@ -106,7 +115,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>
@@ -212,12 +221,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 844f4cd..5173fae 100644
--- a/ecomp-sdk/sdk-app/pom.xml
+++ b/ecomp-sdk/sdk-app/pom.xml
@@ -30,6 +30,11 @@
<!-- 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>
+ <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
+ <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
+ <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
+ <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
</properties>
<reporting>
<plugins>
@@ -53,8 +58,8 @@
</reporting>
<distributionManagement>
<site>
- <id>nexus</id>
- <url>dav:https://ecomp-nexus:8443/repository/portalsdkapp-javadoc/${epsdk.version}</url>
+ <id>ecomp-site</id>
+ <url>dav:${nexusproxy}${sitePath}</url>
</site>
</distributionManagement>
<repositories>
@@ -62,19 +67,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 -->