Fix for cps-master-merge-java job after removing oParent 94/139394/1
authorsourabh_sourabh <sourabh.sourabh@est.tech>
Wed, 13 Nov 2024 12:54:17 +0000 (12:54 +0000)
committersourabh_sourabh <sourabh.sourabh@est.tech>
Wed, 13 Nov 2024 12:54:17 +0000 (12:54 +0000)
Issue-ID: CPS-2496
Change-Id: I94eef4006b8c96db2c9d350c3330edf98924099c
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
.gitignore
checkstyle/pom.xml
cps-bom/pom.xml
cps-dependencies/pom.xml
cps-ncmp-rest/pom.xml
cps-parent/pom.xml
cps-rest/pom.xml
spotbugs/pom.xml

index 5f77b3b..a721cb4 100755 (executable)
@@ -3,6 +3,7 @@
 *.war
 *.log
 *.log.zip
+*.*~
 
 cps-ncmp-rest-stub/dependency-reduced-pom.xml
 cps-application/archunit_store
index 893af40..80ff13b 100644 (file)
@@ -66,7 +66,7 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-deploy-plugin</artifactId>
-                    <version>2.8.2</version>
+                    <version>3.1.2</version>
                 </plugin>
             </plugins>
         </pluginManagement>
index 6521830..e02b2af 100644 (file)
@@ -43,7 +43,7 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-deploy-plugin</artifactId>
-                    <version>2.8.2</version>
+                    <version>3.1.2</version>
                 </plugin>
             </plugins>
         </pluginManagement>
index a95e5f4..92e5ec9 100644 (file)
@@ -51,7 +51,7 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-deploy-plugin</artifactId>
-                    <version>2.8.2</version>
+                    <version>3.1.2</version>
                 </plugin>
             </plugins>
         </pluginManagement>
index 681d1e5..a7b2b76 100644 (file)
@@ -35,7 +35,7 @@
 
     <properties>
         <minimum-coverage>0.99</minimum-coverage>
-        <maven-resources-plugin.version>3.2.0</maven-resources-plugin.version>
+        <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
     </properties>
 
     <dependencies>
index 6c4d1a3..ea59fe4 100644 (file)
@@ -33,7 +33,7 @@
     <properties>
         <!-- Set UTF-8 encoding for consistent builds across platforms -->
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-
+        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
         <!-- Application Configuration -->
         <app>org.onap.cps.Application</app>
 
         </sonar.coverage.jacoco.xmlReportPaths>
     </properties>
 
+    <distributionManagement>
+        <repository>
+            <id>ecomp-releases</id>
+            <url>${onap.nexus.url}/content/repositories/releases</url>
+        </repository>
+        <snapshotRepository>
+            <id>ecomp-snapshots</id>
+            <url>${onap.nexus.url}/content/repositories/snapshots</url>
+        </snapshotRepository>
+    </distributionManagement>
+
     <!-- Dependency Management, Profiles, Build, and Plugins -->
 
     <dependencyManagement>
                             <goal>report</goal>
                         </goals>
                         <configuration>
+                            <outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
                             <!-- Sets the path to the file which contains the execution data. -->
                             <dataFile>${jacoco.execFile}</dataFile>
                             <!-- Sets the output directory for the code coverage report. -->
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <version>3.1.2</version>
+            </plugin>
         </plugins>
     </build>
 </project>
\ No newline at end of file
index 71395c2..f270a58 100644 (file)
         <relativePath>../cps-parent/pom.xml</relativePath>
     </parent>
 
+    <properties>
+        <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
+    </properties>
+
     <artifactId>cps-rest</artifactId>
 
     <dependencies>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-resources-plugin</artifactId>
+                <version>${maven-resources-plugin.version}</version>
                 <executions>
                     <execution>
                         <id>copy-resources</id>
index 293612e..c05e946 100644 (file)
@@ -39,7 +39,7 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-deploy-plugin</artifactId>
-                    <version>2.8.2</version>
+                    <version>3.1.2</version>
                 </plugin>
             </plugins>
         </pluginManagement>