Fix for cps-master-merge-java job after removing oParent
Issue-ID: CPS-2496
Change-Id: I94eef4006b8c96db2c9d350c3330edf98924099c
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml
index 6c4d1a3..ea59fe4 100644
--- a/cps-parent/pom.xml
+++ b/cps-parent/pom.xml
@@ -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>
@@ -73,6 +73,17 @@
</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>
@@ -476,6 +487,7 @@
<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. -->
@@ -505,6 +517,11 @@
</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