Fix coverage report 14/74614/1
authorsebdet <sebastien.determe@intl.att.com>
Thu, 13 Dec 2018 14:09:07 +0000 (15:09 +0100)
committersebdet <sebastien.determe@intl.att.com>
Thu, 13 Dec 2018 14:09:07 +0000 (15:09 +0100)
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>
pom.xml

diff --git a/pom.xml b/pom.xml
index 8e7f6aa..355c447 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                                                                <forkCount>1C</forkCount>
                                                                                <reuseForks>true</reuseForks>
                                                                                <useSystemClassLoader>false</useSystemClassLoader>
+                                                                               <argLine>${surefireArgLine}</argLine>
                                                                </configuration>
                                                </plugin>
 
                                                                                                                <forkCount>1</forkCount>
                                                                                                                <reuseForks>true</reuseForks>
                                                                                                                <useSystemClassLoader>false</useSystemClassLoader>
+                                                                                                               <argLine>${failsafeArgLine}</argLine>
                                                                                                </configuration>
                                                                                </execution>
                                                                </executions>
                                                                                                                                                                <mode>direct</mode>
                                                                                                                                                </tcp>
                                                                                                                                                <time>120000</time>
-                                                                                                                                               <kill>5000</kill>
                                                                                                                                </wait>
                                                                                                                                <ports>
                                                                                                                                                <port>${docker.http-cache.port.host}:8080</port>
                                                                <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>
                                                                                                </goals>
                                                                                                <configuration>
                                                                                                                <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
+                                                                                                               <propertyName>surefireArgLine</propertyName>
                                                                                                                <!-- <append>true</append> -->
                                                                                                </configuration>
                                                                                </execution>
                                                                                                </goals>
                                                                                                <configuration>
                                                                                                                <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
+                                                                                                               <propertyName>failsafeArgLine</propertyName>
                                                                                                                <!-- <append>true</append> -->
                                                                                                </configuration>
                                                                                </execution>