summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2018-12-13 15:09:07 +0100
committersebdet <sebastien.determe@intl.att.com>2018-12-13 15:09:07 +0100
commitce0136d7b9b93d27759449560385538c1b402596 (patch)
treee9cb7675c01ac390b76e4ce81c69ff91485cbfd0
parent6a0c205f110078c5722f99d184426ec2e8bbb3b7 (diff)
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>
-rw-r--r--pom.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 8e7f6aabb..355c4478f 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>