Fix coverage report
Fix potential issue for sonar where no coverage could be provided to
sonar
Issue-ID: CLAMP-252
Change-Id: I71eeba1a8efe8e9c5ef940be4582eb0559b2cf9c
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
diff --git a/pom.xml b/pom.xml
index 8e7f6aa..355c447 100644
--- a/pom.xml
+++ b/pom.xml
@@ -888,6 +888,7 @@
<forkCount>1C</forkCount>
<reuseForks>true</reuseForks>
<useSystemClassLoader>false</useSystemClassLoader>
+ <argLine>${surefireArgLine}</argLine>
</configuration>
</plugin>
@@ -912,6 +913,7 @@
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<useSystemClassLoader>false</useSystemClassLoader>
+ <argLine>${failsafeArgLine}</argLine>
</configuration>
</execution>
</executions>
@@ -974,7 +976,6 @@
<mode>direct</mode>
</tcp>
<time>120000</time>
- <kill>5000</kill>
</wait>
<ports>
<port>${docker.http-cache.port.host}:8080</port>
@@ -1080,10 +1081,10 @@
<version>0.8.2</version>
<configuration>
<dumpOnExit>true</dumpOnExit>
+ <append>true</append>
<includes>
<include>org.onap.clamp.*</include>
</includes>
- <propertyName>surefireArgLine</propertyName>
</configuration>
<executions>
<execution>
@@ -1093,6 +1094,7 @@
</goals>
<configuration>
<destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
+ <propertyName>surefireArgLine</propertyName>
<!-- <append>true</append> -->
</configuration>
</execution>
@@ -1104,6 +1106,7 @@
</goals>
<configuration>
<destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
+ <propertyName>failsafeArgLine</propertyName>
<!-- <append>true</append> -->
</configuration>
</execution>