From 68366dbea6762d338aaefa6d80caaf5abb05555a Mon Sep 17 00:00:00 2001 From: Marian Koncek Date: Thu, 23 Feb 2023 13:59:25 +0100 Subject: [PATCH 1/2] Avoid bundling asm --- byte-buddy/pom.xml | 56 +++++++++------------------------------------- 1 file changed, 11 insertions(+), 45 deletions(-) diff --git a/byte-buddy/pom.xml b/byte-buddy/pom.xml index 3a2c52000b..5372965676 100644 --- a/byte-buddy/pom.xml +++ b/byte-buddy/pom.xml @@ -26,8 +26,6 @@ --> - org.objectweb.asm - net.bytebuddy.jar.asm net.bytebuddy, net.bytebuddy.agent.builder, @@ -62,10 +60,7 @@ net.bytebuddy.utility, net.bytebuddy.utility.nullability, net.bytebuddy.utility.privilege, - net.bytebuddy.utility.visitor, - ${shade.target}, - ${shade.target}.signature, - ${shade.target}.commons + net.bytebuddy.utility.visitor net.bytebuddy.utility.dispatcher @@ -83,6 +78,16 @@ ${project.groupId} byte-buddy-dep + + org.ow2.asm + asm + ${version.asm} + + + org.ow2.asm + asm-commons + ${version.asm} + net.java.dev.jna jna @@ -254,45 +259,6 @@ true ${bytebuddy.extras} true - - - ${shade.source} - ${shade.target} - - - - - net.bytebuddy:byte-buddy-dep:* - - META-INF/MANIFEST.MF - META-INF/maven/** - - - - org.ow2.asm:* - - META-INF/MANIFEST.MF - **/module-info.class - **/LICENSE - **/NOTICE - - - - org.ow2.asm:asm-commons - - org/objectweb/asm/commons/AnnotationRemapper.** - org/objectweb/asm/commons/ClassRemapper.** - org/objectweb/asm/commons/FieldRemapper.** - org/objectweb/asm/commons/MethodRemapper.** - org/objectweb/asm/commons/ModuleHashesAttribute.** - org/objectweb/asm/commons/ModuleRemapper.** - org/objectweb/asm/commons/RecordComponentRemapper.** - org/objectweb/asm/commons/Remapper.** - org/objectweb/asm/commons/SignatureRemapper.** - org/objectweb/asm/commons/SimpleRemapper.** - - - net.bytebuddy.build.Plugin$Engine$Default -- 2.45.1