From 426bc05311d51d6a18d7e12e26a951f913bad889 Mon Sep 17 00:00:00 2001 From: Ofir Sonsino Date: Sun, 24 Sep 2017 15:59:14 +0300 Subject: Fix SONAR Jacoco plugin Issue-ID: VID-60 Change-Id: Id0b99f24be5dcc7fa7d925b7cb02547d4221374d Signed-off-by: Ofir Sonsino --- epsdk-app-onap/pom.xml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/epsdk-app-onap/pom.xml b/epsdk-app-onap/pom.xml index e9f422539..0fb1e2b4a 100755 --- a/epsdk-app-onap/pom.xml +++ b/epsdk-app-onap/pom.xml @@ -34,7 +34,7 @@ java jacoco ${project.build.directory}/surefire-reports - ${project.build.directory}/code-coverage/jacoco-ut.exec + ${project.build.directory}/code-coverage/jacoco.exec true ${project.version} @@ -223,6 +223,25 @@ sonar-maven-plugin 3.2 + + org.jacoco + jacoco-maven-plugin + 0.7.7.201606060606 + + true + + + + jacoco-initialize-unit-tests + + prepare-agent + + + ${project.build.directory}/coverage-reports/jacoco.exec + + + + -- cgit 1.2.3-korg