[maven-shade-plugin] 03/04: Fixed the compatibility with ASM 6.0

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jul 10 09:09:34 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository maven-shade-plugin.

commit b96a3aa37709b9fcd4edc88fb3181e1891e863fb
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Jul 10 11:07:14 2017 +0200

    Fixed the compatibility with ASM 6.0
---
 debian/changelog                          |  1 +
 debian/patches/01-asm-compatibility.patch | 23 +++++++++++++++++++++++
 debian/patches/series                     |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7033aa6..dc62174 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 maven-shade-plugin (2.4.3-4) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Fixed the compatibility with ASM 6.0
   * Standards-Version updated to 4.0.0
   * Switch to debhelper level 10
 
diff --git a/debian/patches/01-asm-compatibility.patch b/debian/patches/01-asm-compatibility.patch
new file mode 100644
index 0000000..91f8f3d
--- /dev/null
+++ b/debian/patches/01-asm-compatibility.patch
@@ -0,0 +1,23 @@
+Description: Fixes the compatibility with the latest version of ASM
+Author: Emmanuel Bourg <ebourg at apache.org>
+Bug: https://github.com/apache/maven-plugins/pull/122
+--- a/src/main/java/org/apache/maven/plugins/shade/DefaultShader.java
++++ b/src/main/java/org/apache/maven/plugins/shade/DefaultShader.java
+@@ -34,7 +34,7 @@
+ import org.objectweb.asm.ClassVisitor;
+ import org.objectweb.asm.ClassWriter;
+ import org.objectweb.asm.commons.Remapper;
+-import org.objectweb.asm.commons.RemappingClassAdapter;
++import org.objectweb.asm.commons.ClassRemapper;
+ 
+ import java.io.BufferedOutputStream;
+ import java.io.File;
+@@ -422,7 +422,7 @@
+         ClassWriter cw = new ClassWriter( 0 );
+ 
+         final String pkg = name.substring( 0, name.lastIndexOf( '/' ) + 1 );
+-        ClassVisitor cv = new RemappingClassAdapter( cw, remapper )
++        ClassVisitor cv = new ClassRemapper( cw, remapper )
+         {
+             @Override
+             public void visitSource( final String source, final String debug )
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2d47737
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-asm-compatibility.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-shade-plugin.git



More information about the pkg-java-commits mailing list