You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by qi...@apache.org on 2022/04/02 01:55:21 UTC

[incubator-shenyu] branch master updated: [ISSUE #3169] exclude log4j dependency in motan-registry-zookeeper (#3170)

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

qicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new 2d28b52  [ISSUE #3169] exclude log4j dependency in motan-registry-zookeeper (#3170)
2d28b52 is described below

commit 2d28b52b28fb1fa8b2637fac105b63b457cf3b89
Author: dragon-zhang <ha...@webuy.ai>
AuthorDate: Sat Apr 2 09:55:12 2022 +0800

    [ISSUE #3169] exclude log4j dependency in motan-registry-zookeeper (#3170)
    
    * [ISSUE https://github.com/apache/incubator-shenyu/issues/3169] exclude log4j dependency in motan-registry-zookeeper for shenyu-bootstrap
    
    * remove slf4j-log4j12 dependency
---
 shenyu-bootstrap/pom.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/shenyu-bootstrap/pom.xml b/shenyu-bootstrap/pom.xml
index 7174282..0de5d81 100644
--- a/shenyu-bootstrap/pom.xml
+++ b/shenyu-bootstrap/pom.xml
@@ -394,6 +394,16 @@
             <groupId>com.weibo</groupId>
             <artifactId>motan-registry-zookeeper</artifactId>
             <version>${motan.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>log4j</groupId>
+                    <artifactId>log4j</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.slf4j</groupId>
+                    <artifactId>slf4j-log4j12</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>com.weibo</groupId>