Fix Sonar coverage
Fix sonar coverage and update plugin to latest versions
Issue-ID: CLAMP-247
Change-Id: I3f9b443996b9f45cebf396580b8a0c5bb426346b
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
diff --git a/pom.xml b/pom.xml
index f95805f..e98ff5e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -858,8 +858,9 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
<configuration>
- <forkCount>0</forkCount>
- <reuseForks>false</reuseForks>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <useSystemClassLoader>false</useSystemClassLoader>
</configuration>
</plugin>
@@ -881,8 +882,9 @@
<includes>
<include>**/*ItCase.java</include>
</includes>
- <forkCount>0</forkCount>
+ <forkCount>1</forkCount>
<reuseForks>false</reuseForks>
+ <useSystemClassLoader>false</useSystemClassLoader>
</configuration>
</execution>
</executions>
@@ -1040,12 +1042,13 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
- <version>0.7.7.201606060606</version>
+ <version>0.8.2</version>
<configuration>
<dumpOnExit>true</dumpOnExit>
<includes>
<include>org.onap.clamp.*</include>
</includes>
+ <propertyName>surefireArgLine</propertyName>
</configuration>
<executions>
<execution>