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

aaronai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git


The following commit(s) were added to refs/heads/master by this push:
     new 41c8d32  Remove maven-jacoco-plugin (#118)
41c8d32 is described below

commit 41c8d32bef8ce19409a6ffa392a8c87ea370665d
Author: Aaron Ai <[email protected]>
AuthorDate: Mon Aug 1 10:39:09 2022 +0800

    Remove maven-jacoco-plugin (#118)
---
 .../client/java/impl/producer/ProducerImpl.java    |  3 +-
 java/pom.xml                                       | 50 ----------------------
 2 files changed, 1 insertion(+), 52 deletions(-)

diff --git 
a/java/client/src/main/java/org/apache/rocketmq/client/java/impl/producer/ProducerImpl.java
 
b/java/client/src/main/java/org/apache/rocketmq/client/java/impl/producer/ProducerImpl.java
index 77d7664..c40cf9c 100644
--- 
a/java/client/src/main/java/org/apache/rocketmq/client/java/impl/producer/ProducerImpl.java
+++ 
b/java/client/src/main/java/org/apache/rocketmq/client/java/impl/producer/ProducerImpl.java
@@ -545,8 +545,7 @@ class ProducerImpl extends ClientImpl implements Producer {
 
     @Override
     public void onTopicRouteDataUpdate0(String topic, TopicRouteData 
topicRouteData) {
-        final PublishingLoadBalancer publishingLoadBalancer =
-            new PublishingLoadBalancer(topicRouteData);
+        final PublishingLoadBalancer publishingLoadBalancer = new 
PublishingLoadBalancer(topicRouteData);
         publishingRouteDataCache.put(topic, publishingLoadBalancer);
     }
 
diff --git a/java/pom.xml b/java/pom.xml
index 8a30f8d..82ae005 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -67,7 +67,6 @@
         <!-- plugin -->
         <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
         <spotbugs-plugin.version>4.2.2</spotbugs-plugin.version>
-        <jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
         
<maven-checkstyle-plugin.version>3.1.1</maven-checkstyle-plugin.version>
         <maven-enforcer-plugin.version>1.4.1</maven-enforcer-plugin.version>
         <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
@@ -272,55 +271,6 @@
                     <effort>Max</effort>
                 </configuration>
             </plugin>
-            <plugin>
-                <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>
-                    <execution>
-                        <id>coverage-check</id>
-                        <phase>prepare-package</phase>
-                        <goals>
-                            <goal>check</goal>
-                        </goals>
-                    </execution>
-                    <execution>
-                        <id>report</id>
-                        <phase>prepare-package</phase>
-                        <goals>
-                            <goal>report</goal>
-                        </goals>
-                    </execution>
-
-                </executions>
-                <configuration>
-                    <rules>
-                        <rule>
-                            <element>CLASS</element>
-                            <excludes>
-                                <exclude>JAVAC.SYNTHCLASS</exclude>
-                                <exclude>JAVAC.SYNTHMETH</exclude>
-                            </excludes>
-                        </rule>
-                        <rule>
-                            <element>BUNDLE</element>
-                            <limits>
-                                <limit>
-                                    <counter>LINE</counter>
-                                    <value>COVEREDRATIO</value>
-                                    <minimum>0.05</minimum>
-                                </limit>
-                            </limits>
-                        </rule>
-                    </rules>
-                </configuration>
-            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-checkstyle-plugin</artifactId>

Reply via email to