From 3ddc8bdacdf962d4f7aa3712c169fb31e71b717d Mon Sep 17 00:00:00 2001 From: carm Date: Wed, 3 Jan 2024 13:31:52 +0800 Subject: [PATCH] build(shade): Support relocations --- pom.xml | 57 ++++++++++++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 25 deletions(-) diff --git a/pom.xml b/pom.xml index 9eddb43..ddca8f5 100644 --- a/pom.xml +++ b/pom.xml @@ -193,6 +193,31 @@ maven-jar-plugin 3.3.0 + + org.apache.maven.plugins + maven-assembly-plugin + 3.6.0 + + ${project.name}-${project.version} + ${project.basedir}/.asset/ + false + + jar-with-dependencies + + + src/main/resources/META-INF/MANIFEST.MF + + + + + make-assembly + package + + single + + + + org.apache.maven.plugins maven-shade-plugin @@ -225,42 +250,24 @@ org.yaml.snakeyaml ${project.package}.lib.yaml + + javassist + ${project.package}.lib.javassist + *:* - META-INF/MANIFEST.MF META-INF/*.txt + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA - - org.apache.maven.plugins - maven-assembly-plugin - 3.6.0 - - ${project.name}-${project.version} - ${project.basedir}/.asset/ - - jar-with-dependencies - - - src/main/resources/META-INF/MANIFEST.MF - - - - - make-assembly - package - - single - - - -