You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2019/06/15 21:48:12 UTC

[incubator-datasketches-memory] 01/01: Swap Cobertrua for Jacoco

This is an automated email from the ASF dual-hosted git repository.

leerho pushed a commit to branch updateJacoco
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-memory.git

commit a00b1f9301ce492a6394d58be70262caac0471a0
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Sat Jun 15 14:47:55 2019 -0700

    Swap Cobertrua for Jacoco
---
 .travis.yml |  2 +-
 pom.xml     | 24 ++++++++++++++----------
 2 files changed, 15 insertions(+), 11 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/pom.xml b/pom.xml
index cf32091..e1b071d 100644
--- a/pom.xml
+++ b/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>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org