You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2019/02/19 02:38:55 UTC

[incubator-skywalking] branch sql-trace-bug updated: Reset to jacoco.

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

wusheng pushed a commit to branch sql-trace-bug
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git


The following commit(s) were added to refs/heads/sql-trace-bug by this push:
     new ccc72fa  Reset to jacoco.
ccc72fa is described below

commit ccc72faca99d34e7f1476b628e0d1963d463b2be
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Tue Feb 19 10:38:45 2019 +0800

    Reset to jacoco.
---
 .travis.yml |  2 +-
 pom.xml     | 21 +++++++++++----------
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 355769e..8879582 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,4 +8,4 @@ install:
   - ./mvnw javadoc:javadoc -Dmaven.test.skip=true --quiet
 
 after_success:
-- ./mvnw clean cobertura:cobertura coveralls:report
+- ./mvnw clean test jacoco:report coveralls:report --quiet
diff --git a/pom.xml b/pom.xml
index 3f358f2..a907763 100644
--- a/pom.xml
+++ b/pom.xml
@@ -133,7 +133,6 @@
         <maven-source-plugin.version>3.0.1</maven-source-plugin.version>
         <versions-maven-plugin.version>2.5</versions-maven-plugin.version>
         <coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
-        <cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version>
         <maven-checkstyle-plugin.version>3.0.0</maven-checkstyle-plugin.version>
     </properties>
 
@@ -391,15 +390,17 @@
                 </configuration>
             </plugin>
             <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>cobertura-maven-plugin</artifactId>
-                <version>${cobertura-maven-plugin.version}</version>
-                <configuration>
-                    <format>xml</format>
-                    <maxmem>256m</maxmem>
-                    <!-- aggregated reports for multi-module projects -->
-                    <aggregate>true</aggregate>
-                </configuration>
+                <groupId>org.jacoco</groupId>
+                <artifactId>jacoco-maven-plugin</artifactId>
+                <version>0.7.6.201602180812</version>
+                <executions>
+                    <execution>
+                        <id>prepare-agent</id>
+                        <goals>
+                            <goal>prepare-agent</goal>
+                        </goals>
+                    </execution>
+                </executions>
             </plugin>
             <plugin>
                 <artifactId>maven-checkstyle-plugin</artifactId>