You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2023/05/17 06:18:08 UTC

[shardingsphere] branch master updated: Refactor : remove coveralls and cobertura plugin (#25721) (#25725)

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

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 6a5ec1f0384 Refactor : remove coveralls and cobertura plugin (#25721) (#25725)
6a5ec1f0384 is described below

commit 6a5ec1f03841ea38a10f4446b7bd7e461e58e681
Author: 孙念君 Nianjun Sun <su...@apache.org>
AuthorDate: Wed May 17 14:17:59 2023 +0800

    Refactor : remove coveralls and cobertura plugin (#25721) (#25725)
    
    Co-authored-by: shardingsphere <de...@shardingsphere.apache.org>
---
 .gitignore                                         |  1 -
 .../src/src/main/assembly/source-distribution.xml  |  1 -
 pom.xml                                            | 39 ----------------------
 3 files changed, 41 deletions(-)

diff --git a/.gitignore b/.gitignore
index b94ead05452..61f06255b53 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,7 +12,6 @@ pom.xml.versionsBackup
 
 # maven plugin ignore
 release.properties
-cobertura.ser
 *.gpg
 
 # eclipse ignore
diff --git a/distribution/src/src/main/assembly/source-distribution.xml b/distribution/src/src/main/assembly/source-distribution.xml
index 9f0e6e45b28..8c746f29b72 100644
--- a/distribution/src/src/main/assembly/source-distribution.xml
+++ b/distribution/src/src/main/assembly/source-distribution.xml
@@ -49,7 +49,6 @@
                 <exclude>release.properties</exclude>
                 <exclude>**/dependency-reduced-pom.xml</exclude>
                 <exclude>**/pom.xml.releaseBackup</exclude>
-                <exclude>**/cobertura.ser</exclude>
                 <exclude>*.gpg</exclude>
                 
                 <!-- eclipse ignore -->
diff --git a/pom.xml b/pom.xml
index 5f7275450be..af86fb9044e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -153,8 +153,6 @@
         <spotbugs-maven-plugin.version>4.7.2.1</spotbugs-maven-plugin.version>
         <fb-contrib.version>7.6.0</fb-contrib.version>
         <findsecbugs.version>1.12.0</findsecbugs.version>
-        <coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
-        <cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version>
         <jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
         <sonar-maven-plugin.version>3.9.1.2184</sonar-maven-plugin.version>
         
@@ -935,43 +933,6 @@
                         </plugins>
                     </configuration>
                 </plugin>
-                <plugin>
-                    <groupId>org.eluder.coveralls</groupId>
-                    <artifactId>coveralls-maven-plugin</artifactId>
-                    <version>${coveralls-maven-plugin.version}</version>
-                </plugin>
-                <plugin>
-                    <groupId>org.codehaus.mojo</groupId>
-                    <artifactId>cobertura-maven-plugin</artifactId>
-                    <version>${cobertura-maven-plugin.version}</version>
-                    <configuration>
-                        <check>
-                            <branchRate>70</branchRate>
-                            <lineRate>70</lineRate>
-                            <haltOnFailure>true</haltOnFailure>
-                            <totalBranchRate>70</totalBranchRate>
-                            <totalLineRate>70</totalLineRate>
-                            <packageLineRate>70</packageLineRate>
-                            <packageBranchRate>70</packageBranchRate>
-                        </check>
-                        <aggregate>true</aggregate>
-                        <encoding>${project.build.sourceEncoding}</encoding>
-                        <quiet>true</quiet>
-                        <format>xml</format>
-                        <instrumentation>
-                            <ignoreTrivial>true</ignoreTrivial>
-                            <ignoreMethodAnnotations>
-                                <ignoreMethodAnnotation>lombok.Generated</ignoreMethodAnnotation>
-                            </ignoreMethodAnnotations>
-                            <excludes>
-                                <exclude>org/apache/shardingsphere/**/autogen/*.class</exclude>
-                                <exclude>org/apache/shardingsphere/**/*Test.class</exclude>
-                                <exclude>org/apache/shardingsphere/test/**/*.class</exclude>
-                                <exclude>org/apache/shardingsphere/proxy/Bootstrap.class</exclude>
-                            </excludes>
-                        </instrumentation>
-                    </configuration>
-                </plugin>
                 <plugin>
                     <groupId>org.jacoco</groupId>
                     <artifactId>jacoco-maven-plugin</artifactId>