From 5bf0a5e74d57d8f2dc51740de7a4d73c8863ca10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Thu, 1 Oct 2026 23:41:17 +0200 Subject: [PATCH] swap the fat jar to the shade plugin --- pom.xml | 65 ++++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 48 insertions(+), 17 deletions(-) diff --git a/pom.xml b/pom.xml index c8498dd..906ad27 100644 --- a/pom.xml +++ b/pom.xml @@ -32,6 +32,18 @@ 2.2.2 + + com.formdev + flatlaf + 3.7.2 + + + + com.miglayout + miglayout-swing + 11.4.3 + + org.junit.jupiter junit-jupiter @@ -67,25 +79,44 @@ 5.8.0.7211 - maven-assembly-plugin - 3.8.0 - - - - wtf.beatrice.autosqueal.Main - - - - jar-with-dependencies - - + org.apache.maven.plugins + maven-shade-plugin + 3.6.2 - make-assembly - package + make-fat-jar + package - single + shade + + + false + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + module-info.class + META-INF/versions/*/module-info.class + + + + + + wtf.beatrice.autosqueal.Main + + true + + + + + @@ -135,7 +166,7 @@ ${project.build.directory} - ${project.build.finalName}-jar-with-dependencies.jar + ${project.build.finalName}.jar @@ -167,7 +198,7 @@ --input ${project.build.directory}/jpackage-input --main-jar - ${project.build.finalName}-jar-with-dependencies.jar + ${project.build.finalName}.jar --main-class wtf.beatrice.autosqueal.Main --java-options