Skip to content

Commit

Permalink
Exclude transitive dependencies of rarely used modules from netty-all (
Browse files Browse the repository at this point in the history
…#11786)

Motivation:
Netty-all is used to unconditionally pull in all netty modules with the same version.
Some of these modules have dependencies themselves that are pulled in transitively, yet they are rarely used.

Modification:
Exclude the transitive dependencies of netty-codec-xml, netty-transport-rxtx, and netty-transport-udt.

Those who wish to restore these modules to working order can additionally depend on org.fasterxml:aalto-xml, org.rxtx:rxtx, or com.barchart.udt:barchart-udt-bundle, respectively.

Result:
Depending on netty-all no longer transitively depends on any non-netty maven modules.
  • Loading branch information
chrisvest authored and normanmaurer committed Oct 25, 2021
1 parent 944a3e5 commit 866a30c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions all/pom.xml
Expand Up @@ -250,6 +250,12 @@
<groupId>${project.groupId}</groupId>
<artifactId>netty-codec-xml</artifactId>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>com.fasterxml</groupId>
<artifactId>aalto-xml</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down

0 comments on commit 866a30c

Please sign in to comment.