Fix for cps-master-merge-java job after removing oParent 96/139396/1
authorsourabh_sourabh <sourabh.sourabh@est.tech>
Wed, 13 Nov 2024 13:42:42 +0000 (13:42 +0000)
committersourabh_sourabh <sourabh.sourabh@est.tech>
Wed, 13 Nov 2024 13:46:19 +0000 (13:46 +0000)
- 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>
checkstyle/pom.xml
cps-bom/pom.xml
cps-dependencies/pom.xml
cps-parent/pom.xml
pom.xml
spotbugs/pom.xml

index 80ff13b..ca5068f 100644 (file)
@@ -54,7 +54,7 @@
     </profiles>
 
     <properties>
-        <nexusproxy>https://nexus.onap.org</nexusproxy>
+        <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
         <sonar.skip>true</sonar.skip>
         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
         <repository>
             <id>ecomp-releases</id>
             <name>ECOMP Release Repository</name>
-            <url>${nexusproxy}${releaseNexusPath}</url>
+            <url>${onap.nexus.url}${releaseNexusPath}</url>
         </repository>
         <snapshotRepository>
             <id>ecomp-snapshots</id>
             <name>ECOMP Snapshot Repository</name>
-            <url>${nexusproxy}${snapshotNexusPath}</url>
+            <url>${onap.nexus.url}${snapshotNexusPath}</url>
         </snapshotRepository>
     </distributionManagement>
 </project>
\ No newline at end of file
index e02b2af..57de09b 100644 (file)
@@ -31,7 +31,7 @@
     <description>This artifact contains dependencyManagement declarations of all published CPS components.</description>
 
     <properties>
-        <nexusproxy>https://nexus.onap.org</nexusproxy>
+        <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
         <sonar.skip>true</sonar.skip>
         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
         <repository>
             <id>ecomp-releases</id>
             <name>ECOMP Release Repository</name>
-            <url>${nexusproxy}${releaseNexusPath}</url>
+            <url>${onap.nexus.url}${releaseNexusPath}</url>
         </repository>
         <snapshotRepository>
             <id>ecomp-snapshots</id>
             <name>ECOMP Snapshot Repository</name>
-            <url>${nexusproxy}${snapshotNexusPath}</url>
+            <url>${onap.nexus.url}${snapshotNexusPath}</url>
         </snapshotRepository>
     </distributionManagement>
 
index 92e5ec9..ad1828e 100644 (file)
@@ -35,7 +35,7 @@
 
     <properties>
         <groovy.version>3.0.18</groovy.version>
-        <nexusproxy>https://nexus.onap.org</nexusproxy>
+        <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
         <sonar.skip>true</sonar.skip>
         <repository>
             <id>ecomp-releases</id>
             <name>ECOMP Release Repository</name>
-            <url>${nexusproxy}${releaseNexusPath}</url>
+            <url>${onap.nexus.url}${releaseNexusPath}</url>
         </repository>
         <snapshotRepository>
             <id>ecomp-snapshots</id>
             <name>ECOMP Snapshot Repository</name>
-            <url>${nexusproxy}${snapshotNexusPath}</url>
+            <url>${onap.nexus.url}${snapshotNexusPath}</url>
         </snapshotRepository>
     </distributionManagement>
 
index ea59fe4..12103ed 100644 (file)
         <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>
 
diff --git a/pom.xml b/pom.xml
index 27a9a21..f95573e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <properties>\r
         <maven.deploy.skip>false</maven.deploy.skip>\r
         <maven.install.skip>false</maven.install.skip>\r
+        <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>\r
+        <nexusproxy>https://nexus.onap.org</nexusproxy>\r
+        <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
+        <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
     </properties>\r
 \r
     <modules>\r
         <module>policy-executor-stub</module>\r
     </modules>\r
 \r
+    <distributionManagement>\r
+        <repository>\r
+            <id>ecomp-releases</id>\r
+            <name>ECOMP Release Repository</name>\r
+            <url>${onap.nexus.url}${releaseNexusPath}</url>\r
+        </repository>\r
+        <snapshotRepository>\r
+            <id>ecomp-snapshots</id>\r
+            <name>ECOMP Snapshot Repository</name>\r
+            <url>${onap.nexus.url}${snapshotNexusPath}</url>\r
+        </snapshotRepository>\r
+    </distributionManagement>\r
+\r
     <build>\r
         <plugins>\r
             <plugin>\r
index c05e946..f2b4175 100644 (file)
@@ -28,7 +28,7 @@
     <version>3.5.5-SNAPSHOT</version>
 
     <properties>
-        <nexusproxy>https://nexus.onap.org</nexusproxy>
+        <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
     </properties>
         <repository>
             <id>ecomp-releases</id>
             <name>ECOMP Release Repository</name>
-            <url>${nexusproxy}${releaseNexusPath}</url>
+            <url>${onap.nexus.url}${releaseNexusPath}</url>
         </repository>
         <snapshotRepository>
             <id>ecomp-snapshots</id>
             <name>ECOMP Snapshot Repository</name>
-            <url>${nexusproxy}${snapshotNexusPath}</url>
+            <url>${onap.nexus.url}${snapshotNexusPath}</url>
         </snapshotRepository>
     </distributionManagement>
 </project>
\ No newline at end of file