diff options
-rwxr-xr-x | cps-parent/pom.xml | 1 | ||||
-rwxr-xr-x | cps-rest/pom.xml | 4 | ||||
-rw-r--r-- | cps-ri/pom.xml | 5 | ||||
-rw-r--r-- | cps-service/pom.xml | 4 |
4 files changed, 14 insertions, 0 deletions
diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml index 50cca04b55..b42675199b 100755 --- a/cps-parent/pom.xml +++ b/cps-parent/pom.xml @@ -26,6 +26,7 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> <repository.name>nexus3.onap.org:10001/onap/cps-service</repository.name> + <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-aggregate/jacoco.xml,${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> <spotbugs-maven-plugin.version>4.1.3</spotbugs-maven-plugin.version> <spring-boot-maven-plugin.version>2.3.3.RELEASE</spring-boot-maven-plugin.version> <spotbugs.slf4j.version>1.8.0-beta4</spotbugs.slf4j.version> diff --git a/cps-rest/pom.xml b/cps-rest/pom.xml index f2f643ac23..4d4e091e07 100755 --- a/cps-rest/pom.xml +++ b/cps-rest/pom.xml @@ -11,6 +11,10 @@ <artifactId>cps-rest</artifactId>
+ <properties>
+ <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-aggregate/jacoco.xml,${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
+ </properties>
+
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
diff --git a/cps-ri/pom.xml b/cps-ri/pom.xml index 89b19d5ffa..a43e0cb0ec 100644 --- a/cps-ri/pom.xml +++ b/cps-ri/pom.xml @@ -8,8 +8,13 @@ <version>0.0.1-SNAPSHOT</version>
<relativePath>../cps-parent/pom.xml</relativePath>
</parent>
+
<artifactId>cps-ri</artifactId>
+ <properties>
+ <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-aggregate/jacoco.xml,${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
+ </properties>
+
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
diff --git a/cps-service/pom.xml b/cps-service/pom.xml index 642d76451d..287e2a74e3 100644 --- a/cps-service/pom.xml +++ b/cps-service/pom.xml @@ -11,6 +11,10 @@ <artifactId>cps-service</artifactId>
+ <properties>
+ <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-aggregate/jacoco.xml,${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
|