Skip to content

Commit a32f8b1

Browse files
committed
HADOOP-19153. hadoop-common still exports logback as a transitive dependency
- Critical: remove the obsolete exclusion list from hadoop-common. - Diligence: expand the hadoop-project exclusion list to exclude all ch.qos.logback artifacts Change-Id: I660b49cf303e50a8f92fe986196d82db7b6f12c4
1 parent 91c8360 commit a32f8b1

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
lines changed

hadoop-common-project/hadoop-common/pom.xml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -330,25 +330,6 @@
330330
<dependency>
331331
<groupId>org.apache.zookeeper</groupId>
332332
<artifactId>zookeeper</artifactId>
333-
<exclusions>
334-
<exclusion>
335-
<groupId>org.jboss.netty</groupId>
336-
<artifactId>netty</artifactId>
337-
</exclusion>
338-
<exclusion>
339-
<!-- otherwise seems to drag in junit 3.8.1 via jline -->
340-
<groupId>junit</groupId>
341-
<artifactId>junit</artifactId>
342-
</exclusion>
343-
<exclusion>
344-
<groupId>com.sun.jdmk</groupId>
345-
<artifactId>jmxtools</artifactId>
346-
</exclusion>
347-
<exclusion>
348-
<groupId>com.sun.jmx</groupId>
349-
<artifactId>jmxri</artifactId>
350-
</exclusion>
351-
</exclusions>
352333
</dependency>
353334
<dependency>
354335
<groupId>io.netty</groupId>

hadoop-project/pom.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1479,11 +1479,7 @@
14791479
</exclusion>
14801480
<exclusion>
14811481
<groupId>ch.qos.logback</groupId>
1482-
<artifactId>logback-core</artifactId>
1483-
</exclusion>
1484-
<exclusion>
1485-
<groupId>ch.qos.logback</groupId>
1486-
<artifactId>logback-classic</artifactId>
1482+
<artifactId>*</artifactId>
14871483
</exclusion>
14881484
</exclusions>
14891485
</dependency>

0 commit comments

Comments
 (0)