From e1d2a95c4a4bc77ea2516c66af052e309d426c60 Mon Sep 17 00:00:00 2001 From: Chris Vest Date: Mon, 25 Oct 2021 16:20:35 +0200 Subject: [PATCH] Exclude transitive dependencies of rarely used modules from netty-all (#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. --- 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 + +