Improve SONAR coverage

Change-Id: I02e9535f96040cd038ef064ee5881c4c3e5e7bca
Issue-ID: VID-72
Signed-off-by: Ofir Sonsino <os0695@att.com>
diff --git a/vid-app-common/pom.xml b/vid-app-common/pom.xml
index fbc9d47..d788575 100755
--- a/vid-app-common/pom.xml
+++ b/vid-app-common/pom.xml
@@ -24,7 +24,7 @@
 		<!-- Skip assembling the zip by default -->

 		<skipassembly>true</skipassembly>

 		<!-- Tests usually require some setup that maven cannot do, so skip. -->

-		<skiptests>true</skiptests>

+		<skiptests>false</skiptests>

 		<nexusproxy>https://nexus.onap.org</nexusproxy>

 		<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>

 		<releaseNexusPath>/content/repositories/releases/</releaseNexusPath>

@@ -99,19 +99,20 @@
 				</configuration>

 			</plugin>

 			<plugin>

-				<groupId>org.codehaus.mojo</groupId>

-				<artifactId>cobertura-maven-plugin</artifactId>

-				<version>2.7</version>

-				<configuration>

-					<formats>

-						<format>xml</format>

-					</formats>

-				</configuration>

+				<groupId>org.jacoco</groupId>

+				<artifactId>jacoco-maven-plugin</artifactId>

+				<version>0.7.9</version>

 				<executions>

 					<execution>

-						<phase>package</phase>

+						<id>default-prepare-agent</id>

 						<goals>

-							<goal>cobertura</goal>

+							<goal>prepare-agent</goal>

+						</goals>

+					</execution>

+					<execution>

+						<id>default-report</id>

+						<goals>

+							<goal>report</goal>

 						</goals>

 					</execution>

 				</executions>