Improve SONAR coverage
[vid.git] / vid-app-common / pom.xml
index fbc9d47..d788575 100755 (executable)
@@ -24,7 +24,7 @@
                <!-- Skip assembling the zip by default -->\r
                <skipassembly>true</skipassembly>\r
                <!-- Tests usually require some setup that maven cannot do, so skip. -->\r
-               <skiptests>true</skiptests>\r
+               <skiptests>false</skiptests>\r
                <nexusproxy>https://nexus.onap.org</nexusproxy>\r
                <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
                <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
                                </configuration>\r
                        </plugin>\r
                        <plugin>\r
-                               <groupId>org.codehaus.mojo</groupId>\r
-                               <artifactId>cobertura-maven-plugin</artifactId>\r
-                               <version>2.7</version>\r
-                               <configuration>\r
-                                       <formats>\r
-                                               <format>xml</format>\r
-                                       </formats>\r
-                               </configuration>\r
+                               <groupId>org.jacoco</groupId>\r
+                               <artifactId>jacoco-maven-plugin</artifactId>\r
+                               <version>0.7.9</version>\r
                                <executions>\r
                                        <execution>\r
-                                               <phase>package</phase>\r
+                                               <id>default-prepare-agent</id>\r
+                                               <goals>\r
+                                                       <goal>prepare-agent</goal>\r
+                                               </goals>\r
+                                       </execution>\r
+                                       <execution>\r
+                                               <id>default-report</id>\r
                                                <goals>\r
-                                                       <goal>cobertura</goal>\r
+                                                       <goal>report</goal>\r
                                                </goals>\r
                                        </execution>\r
                                </executions>\r