From b60480bec148c7c33a8ecfe2061d8d0122be4932 Mon Sep 17 00:00:00 2001 From: otbutz Date: Wed, 24 May 2023 09:39:24 +0200 Subject: [PATCH 1/3] Enable multi release jar --- pom.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pom.xml b/pom.xml index 245308d9d..c293a79bb 100644 --- a/pom.xml +++ b/pom.xml @@ -193,6 +193,9 @@ de.komoot.photon.App + + true + From c216210e5abd1ff5d536fcf61f55e6f23a58dc05 Mon Sep 17 00:00:00 2001 From: otbutz Date: Wed, 24 May 2023 09:43:08 +0200 Subject: [PATCH 2/3] Use log4j transformer --- pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pom.xml b/pom.xml index c293a79bb..a4eb0c36e 100644 --- a/pom.xml +++ b/pom.xml @@ -159,6 +159,13 @@ org.apache.maven.plugins maven-shade-plugin 3.4.1 + + + org.apache.logging.log4j + log4j-transform-maven-shade-plugin-extensions + 0.1.0 + + true @@ -197,6 +204,8 @@ true + From d4c043f42ec27a3532f4604cf1cd0c659955f729 Mon Sep 17 00:00:00 2001 From: otbutz Date: Wed, 24 May 2023 09:44:50 +0200 Subject: [PATCH 3/3] Remove module info during shading --- pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pom.xml b/pom.xml index a4eb0c36e..5d26c50e1 100644 --- a/pom.xml +++ b/pom.xml @@ -172,6 +172,8 @@ *:* + module-info.class + META-INF/versions/*/module-info.class META-INF/*.SF META-INF/*.DSA META-INF/*.RSA