This is an automated email from the ASF dual-hosted git repository. leerho pushed a commit to branch CoverageFix in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-java.git
commit deb2c59ebe194aada003696fe3852df81c1f644e Author: Lee Rhodes <[email protected]> AuthorDate: Sat Jun 15 16:48:07 2019 -0700 Move from Cobertura to Jacoco --- .travis.yml | 2 +- README.md | 2 +- pom.xml | 25 ++++++++++++++----------- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 53840be..cedcd68 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/README.md b/README.md index 61f0604..6348b2e 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [](https://maven-badges.herokuapp.com/maven-central/com.yahoo.datasketches/sketches-core) [](https://lgtm.com/projects/g/apache/incubator-datasketches-java/context:java) [](https://lgtm.com/projects/g/apache/incubator-datasketches-java/alerts/) -[](https://coveralls.io/github/apache/incubator-datasketches-java?branch=master) +[](https://coveralls.io/github/apache/incubator-datasketches-java?branch=master) ================= diff --git a/pom.xml b/pom.xml index ef286bb..d35a7ff 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ <maven-surefire-plugin.version>2.22.1</maven-surefire-plugin.version> <!-- Codehaus.org Maven Plugins --> - <cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version> + <jacoco-maven-plugin.version>0.8.4</jacoco-maven-plugin.version> <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version> <license-maven-plugin.version>1.19</license-maven-plugin.version> <plexus-compiler-javac-errorprone.version>2.8.5</plexus-compiler-javac-errorprone.version> @@ -221,8 +221,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. --> @@ -361,14 +361,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> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
