Skip to content
Permalink
Browse files
Merge pull request #102 from apache/updateJacoco
Swap Cobertrua for Jacoco
  • Loading branch information
leerho committed Jun 15, 2019
2 parents e84e287 + a00b1f9 commit 308aa034815a4e6abfbdeac14796195fdfa7ba04
Showing 2 changed files with 15 additions and 11 deletions.
@@ -37,7 +37,7 @@ script:
- mvn clean compile test -Dgpg.skip=true

after_success:
- mvn clean cobertura:cobertura coveralls:report
- mvn clean test jacoco:report coveralls:report

notifications:
email: false
24 pom.xml
@@ -98,6 +98,7 @@
<maven-surefire-plugin.version>2.22.1</maven-surefire-plugin.version>

<!-- Codehaus.org Maven Plugins -->
<jacoco-maven-plugin.version>0.8.4</jacoco-maven-plugin.version>
<cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version>
<exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
<license-maven-plugin.version>1.19</license-maven-plugin.version>
@@ -227,8 +228,8 @@

<!-- Generates code coverage report from website. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>

<!-- Submit code coverage report to Coveralls.io. -->
@@ -367,14 +368,17 @@
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>${cobertura-maven-plugin.version}</version>
<configuration>
<format>xml</format>
<!-- aggregated reports for multi-module projects, for when we use modules -->
<aggregate>true</aggregate>
</configuration>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>

0 comments on commit 308aa03

Please sign in to comment.