From d45b2dc0ec3bb7d56ef1eee784a887459f609832 Mon Sep 17 00:00:00 2001 From: Claudio David Gasparini Date: Wed, 13 Jan 2021 13:28:07 +0100 Subject: Fix code coverage for sonar The get the multi module aggregate report to be consumed by sonar we are enforced to use full path to all reports. - 90.4 % coverage detected by sonar achieved Issue-ID: CPS-87 Signed-off-by: Claudio David Gasparini Change-Id: I91d81063e7234327cb4458c31fa27601ec22e9cd --- checkstyle/pom.xml | 1 + cps-bom/pom.xml | 1 + cps-dependencies/pom.xml | 1 + cps-parent/pom.xml | 11 ++++++++++- cps-rest/pom.xml | 4 ---- cps-ri/pom.xml | 4 ---- cps-service/pom.xml | 4 ---- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/checkstyle/pom.xml b/checkstyle/pom.xml index d0cf7c3614..83d1808909 100644 --- a/checkstyle/pom.xml +++ b/checkstyle/pom.xml @@ -10,6 +10,7 @@ https://nexus.onap.org /content/repositories/releases/ + true /content/repositories/snapshots/ diff --git a/cps-bom/pom.xml b/cps-bom/pom.xml index 7d023a5912..ab904c5593 100644 --- a/cps-bom/pom.xml +++ b/cps-bom/pom.xml @@ -13,6 +13,7 @@ https://nexus.onap.org /content/repositories/releases/ + true /content/repositories/snapshots/ diff --git a/cps-dependencies/pom.xml b/cps-dependencies/pom.xml index cf744e8890..237dd7ca95 100755 --- a/cps-dependencies/pom.xml +++ b/cps-dependencies/pom.xml @@ -21,6 +21,7 @@ /content/repositories/releases/ /content/repositories/snapshots/ 2.3.8 + true 2.0-M2-groovy-3.0 1.3-groovy-2.5 4.2.0 diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml index b42675199b..125c843114 100755 --- a/cps-parent/pom.xml +++ b/cps-parent/pom.xml @@ -26,7 +26,6 @@ UTF-8 /content/repositories/releases/ nexus3.onap.org:10001/onap/cps-service - ${project.reporting.outputDirectory}/jacoco-aggregate/jacoco.xml,${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml 4.1.3 2.3.3.RELEASE 1.8.0-beta4 @@ -35,6 +34,16 @@ 3.0.18 /content/repositories/snapshots/ ${project.version} + + ${project.reporting.outputDirectory}/jacoco-aggregate + + ../cps-ri/target/site/jacoco-ut/jacoco.xml, + ../cps-ri/target/site/jacoco-aggregate/jacoco.xml, + ../cps-service/target/site/jacoco-ut/jacoco.xml, + ../cps-service/target/site/jacoco-aggregate/jacoco.xml, + ../cps-rest/target/site/jacoco-ut/jacoco.xml, + ../cps-rest/target/site/jacoco-aggregate/jacoco.xml, + diff --git a/cps-rest/pom.xml b/cps-rest/pom.xml index 4d4e091e07..f2f643ac23 100755 --- a/cps-rest/pom.xml +++ b/cps-rest/pom.xml @@ -11,10 +11,6 @@ cps-rest - - ${project.reporting.outputDirectory}/jacoco-aggregate/jacoco.xml,${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml - - ${project.groupId} diff --git a/cps-ri/pom.xml b/cps-ri/pom.xml index a43e0cb0ec..1805986c7b 100644 --- a/cps-ri/pom.xml +++ b/cps-ri/pom.xml @@ -11,10 +11,6 @@ cps-ri - - ${project.reporting.outputDirectory}/jacoco-aggregate/jacoco.xml,${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml - - ${project.groupId} diff --git a/cps-service/pom.xml b/cps-service/pom.xml index 287e2a74e3..642d76451d 100644 --- a/cps-service/pom.xml +++ b/cps-service/pom.xml @@ -11,10 +11,6 @@ cps-service - - ${project.reporting.outputDirectory}/jacoco-aggregate/jacoco.xml,${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml - - org.opendaylight.yangtools -- cgit 1.2.3-korg