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

stevel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 5f93edfd707 HADOOP-19153. hadoop-common exports logback as a 
transitive dependency (#6999)
5f93edfd707 is described below

commit 5f93edfd70784aa4f3ff392ef065c78a6fc532ea
Author: Steve Loughran <ste...@cloudera.com>
AuthorDate: Fri Aug 16 13:41:35 2024 +0100

    HADOOP-19153. hadoop-common exports logback as a transitive dependency 
(#6999)
    
    - Critical: remove the obsolete exclusion list from hadoop-common.
    - Diligence: expand the hadoop-project exclusion list to exclude
      all ch.qos.logback artifacts
    
    Contributed by Steve Loughran
---
 hadoop-common-project/hadoop-common/pom.xml | 19 -------------------
 hadoop-project/pom.xml                      |  6 +-----
 2 files changed, 1 insertion(+), 24 deletions(-)

diff --git a/hadoop-common-project/hadoop-common/pom.xml 
b/hadoop-common-project/hadoop-common/pom.xml
index 90d66779734..06c6b06ec6a 100644
--- a/hadoop-common-project/hadoop-common/pom.xml
+++ b/hadoop-common-project/hadoop-common/pom.xml
@@ -330,25 +330,6 @@
     <dependency>
       <groupId>org.apache.zookeeper</groupId>
       <artifactId>zookeeper</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>org.jboss.netty</groupId>
-          <artifactId>netty</artifactId>
-        </exclusion>
-        <exclusion>
-          <!-- otherwise seems to drag in junit 3.8.1 via jline -->
-          <groupId>junit</groupId>
-          <artifactId>junit</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>com.sun.jdmk</groupId>
-          <artifactId>jmxtools</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>com.sun.jmx</groupId>
-          <artifactId>jmxri</artifactId>
-        </exclusion>
-      </exclusions>
     </dependency>
     <dependency>
       <groupId>io.netty</groupId>
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 3f0a8b3a85f..8c8f675f98b 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -1484,11 +1484,7 @@
           </exclusion>
           <exclusion>
             <groupId>ch.qos.logback</groupId>
-            <artifactId>logback-core</artifactId>
-          </exclusion>
-          <exclusion>
-            <groupId>ch.qos.logback</groupId>
-            <artifactId>logback-classic</artifactId>
+            <artifactId>*</artifactId>
           </exclusion>
         </exclusions>
       </dependency>


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to