Fixes for sonar coverage in bpmn
1. Coordinated jacoco and surefire JVM arg line options
2. Changed sonar plugin version to 2.19.1
3. Removed dead code (unused classes)
Issue: SO-193
Change-Id: I21b7a77510eec71f4d4ca9afde5b7f86f0e3cbd7
Signed-off-by: Rob Daugherty <rd472p@att.com>
diff --git a/pom.xml b/pom.xml
index d69476f..54472b4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -201,9 +201,13 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.17</version>
+ <version>2.19.1</version>
<configuration>
+ <argLine>${surefireArgLine}</argLine>
<!-- <forkCount>2C</forkCount> <reuseForks>true</reuseForks> -->
+ <excludes>
+ <exclude>**/IT*.java</exclude>
+ </excludes>
</configuration>
</plugin>
<plugin>
@@ -329,8 +333,8 @@
<goal>prepare-agent</goal>
</goals>
<configuration>
- <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
- <!-- <append>true</append> -->
+ <destFile>${sonar.jacoco.reportPath}</destFile>
+ <propertyName>surefireArgLine</propertyName>
</configuration>
</execution>
</executions>