Move Jacoco to xml

Change-Id: I19ba1e4b76523e6ee9912fedc42dc14eb5370c40
Issue-ID: SDC-2740
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
diff --git a/pom.xml b/pom.xml
index d799f83..645efbb 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>