Skip to content

Commit

Permalink
HADOOP-19153. hadoop-common exports logback as a transitive dependency (
Browse files Browse the repository at this point in the history
apache#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
  • Loading branch information
steveloughran committed Aug 16, 2024
1 parent fa9bb0d commit 5f93edf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
19 changes: 0 additions & 19 deletions hadoop-common-project/hadoop-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
6 changes: 1 addition & 5 deletions hadoop-project/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 5f93edf

Please sign in to comment.