Fix for cps-master-merge-java job after removing oParent
- Added ecom repo. configuration into cps-aggregator
- Explicitly set onap.nexus.url
Issue-ID: CPS-2496
Change-Id: I010f97ea438bfbaa9cde81ef1a5cc9839b0d1121
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml
index ea59fe4..12103ed 100644
--- a/cps-parent/pom.xml
+++ b/cps-parent/pom.xml
@@ -71,16 +71,23 @@
<sonar.coverage.jacoco.xmlReportPaths>
../jacoco-report/target/site/jacoco-aggregate/jacoco.xml
</sonar.coverage.jacoco.xmlReportPaths>
+
+ <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
+ <nexusproxy>https://nexus.onap.org</nexusproxy>
+ <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
+ <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
</properties>
<distributionManagement>
<repository>
<id>ecomp-releases</id>
- <url>${onap.nexus.url}/content/repositories/releases</url>
+ <name>ECOMP Release Repository</name>
+ <url>${onap.nexus.url}${releaseNexusPath}</url>
</repository>
<snapshotRepository>
<id>ecomp-snapshots</id>
- <url>${onap.nexus.url}/content/repositories/snapshots</url>
+ <name>ECOMP Snapshot Repository</name>
+ <url>${onap.nexus.url}${snapshotNexusPath}</url>
</snapshotRepository>
</distributionManagement>