Move Jacoco to xml
Change-Id: Ibff41177baa5fb2f49c166f14f6f3edfa53d1ea8
Issue-ID: SDC-2740
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
diff --git a/pom.xml b/pom.xml
index dd75433..a10c7ac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,15 +44,14 @@
<jetty.version>9.4.18.v20190429</jetty.version>
<bean-matchers.version>0.11</bean-matchers.version>
-
- <!--<sonar.skipDesign>true</sonar.skipDesign>-->
- <!--<sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>-->
- <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
<nexus.proxy>https://nexus.onap.org</nexus.proxy>
<sitePath>/content/sites/site/org/onap/sdc/sdc-distribution-client/${project.version}</sitePath>
<snapshots.path>snapshots</snapshots.path>
<releases.path>releases</releases.path>
<!-- Sonar properties -->
+ <sonar.coverage.jacoco.xmlReportPaths>
+ ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
+ </sonar.coverage.jacoco.xmlReportPaths>
<sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
<sonar.skipDesign>true</sonar.skipDesign>
<sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>