Permalink
Browse files

Merge jacoco files and tell sonar where to find the coverage report

  • Loading branch information...
afillatre committed Jan 2, 2019
1 parent e3c9433 commit a21a00a0e64c375540a25441997ff41079a58841
Showing with 18 additions and 0 deletions.
  1. +18 −0 pom.xml
18 pom.xml
@@ -13,6 +13,8 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<encoding>UTF-8</encoding>
<!-- Tell sonar where to look for the coverage file. Property inherited by submodules -->
<sonar.jacoco.reportPath>${project.basedir}/../target/jacoco.exec</sonar.jacoco.reportPath>
</properties>

<modules>
@@ -61,6 +63,22 @@
</rules>
</configuration>
</execution>
<execution>
<id>merge</id>
<goals>
<goal>merge</goal>
</goals>
<configuration>
<fileSets>
<fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
<directory>${project.basedir}</directory>
<includes>
<include>**/*.exec</include>
</includes>
</fileSet>
</fileSets>
</configuration>
</execution>
</executions>
</plugin>
</plugins>

0 comments on commit a21a00a

Please sign in to comment.