From 4b006956b5d90e519999d3747bafb252d443424c Mon Sep 17 00:00:00 2001 From: anthorob Date: Sun, 4 Oct 2026 15:18:45 -0400 Subject: [PATCH] Add filters to Maven shade plugin configuration Added filters to exclude specific files and artifacts from the shaded JAR to reduce unnecessary metadata and dependencies. These changes optimize the final build output and ensure a cleaner, more efficient artifact. --- pom.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pom.xml b/pom.xml index 84c1778..541d199 100644 --- a/pom.xml +++ b/pom.xml @@ -107,6 +107,30 @@ netneutrality + + + *:* + + module-info.class + META-INF/versions/*/module-info.class + META-INF/MANIFEST.MF + META-INF/LICENSE* + META-INF/NOTICE* + META-INF/DEPENDENCIES + META-INF/jandex.idx + META-INF/versions/9/OSGI-INF/MANIFEST.MF + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + com.squareup.okhttp3:okhttp + + ** + + + ${main.class}