From 4bd68e20afd906098407977d3e6b2d229ccfc64e Mon Sep 17 00:00:00 2001 From: Chris Vest Date: Fri, 22 Oct 2021 14:27:26 +0200 Subject: [PATCH] Exclude transitive dependencies of rarely used modules from netty-all 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. --- all/pom.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/all/pom.xml b/all/pom.xml index 9e7d6e278e6..022e695ffce 100644 --- a/all/pom.xml +++ b/all/pom.xml @@ -250,6 +250,12 @@ ${project.groupId} netty-codec-xml compile + + + com.fasterxml + aalto-xml + + ${project.groupId} @@ -285,6 +291,12 @@ ${project.groupId} netty-transport-rxtx compile + + + org.rxtx + rxtx + + ${project.groupId} @@ -295,6 +307,12 @@ ${project.groupId} netty-transport-udt compile + + + com.barchart.udt + barchart-udt-bundle + +