From 866a30ce6c0b91588b5fde8c57bb5a9bde0d0801 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/all/pom.xml b/all/pom.xml index 7cf1b0a9bc9..938bcd85cc4 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}