From 971e345ea3bbb4f4ad6d36b52a2d400d024e60d3 Mon Sep 17 00:00:00 2001 From: Sekelenao Date: Wed, 19 Aug 2026 23:37:29 +0200 Subject: [PATCH] [build] Exclude module-info.class from shaded JARs to prevent JPMS conflicts Exclude module-info.class and multi-release module-info.class files from all shaded dependencies in root pom.xml. This prevents third-party module descriptors (e.g. from commons-lang3) from leaking into shaded fat-JARs and breaking JPMS modular consumption. Fixes #4045 --- pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pom.xml b/pom.xml index ae0e5cf582..d0b1754aa1 100644 --- a/pom.xml +++ b/pom.xml @@ -886,6 +886,11 @@ log4j2.properties log4j-test.properties log4j2-test.properties + + module-info.class + META-INF/versions/**/module-info.class META-INF/*.SF