aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOfir Sonsino <os0695@intl.att.com>2020-02-16 18:57:06 +0200
committerOfir Sonsino <os0695@intl.att.com>2020-02-16 18:57:06 +0200
commit9e8232ba85d25e1883e83cdd0d61eeeade45e5f0 (patch)
treee21e980a66b9c4dea8468eeb03b403a7b9da9cfa
parent914b8bdf478b899539d22e27983adb26d2c134b2 (diff)
Move Jacoco to xml
Change-Id: I19ba1e4b76523e6ee9912fedc42dc14eb5370c40 Issue-ID: SDC-2740 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
-rw-r--r--pom.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index d799f83b..645efbb2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,7 +34,6 @@
<properties>
<maven-checkstyle-plugin.version>2.17</maven-checkstyle-plugin.version>
- <jacoco.skip>true</jacoco.skip>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -46,6 +45,11 @@
<nexus.registry>nexus3.onap.org:10001</nexus.registry>
<nexus.proxy>https://nexus.onap.org</nexus.proxy>
<sitePath>/content/sites/site/org/onap/sdc/workflow/${project.version}</sitePath>
+
+ <!-- Sonar properties -->
+ <sonar.coverage.jacoco.xmlReportPaths>
+ ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
+ </sonar.coverage.jacoco.xmlReportPaths>
</properties>
<parent>
@@ -140,8 +144,7 @@
<goal>report</goal>
</goals>
<configuration>
- <dataFile>target/jacoco.exec</dataFile>
- <outputDirectory>target/jacoco-ut</outputDirectory>
+ <destFile>${sonar.jacoco.reportPath}</destFile>
</configuration>
</execution>
</executions>