Il mer 10 ott 2018, 21:07 Yuri de Wit <[email protected]> ha scritto: > Hi Enrico, > > I tried, but I could not get the dependency upgraded. I don't know why. I > even tried setting the asmVersion property but without luck. > thanks, >
Can you share your plugin config? Enrico > > On Wed, Oct 10, 2018 at 2:01 PM Enrico Olivelli <[email protected]> > wrote: > > > You can override the dependency on asm inside the plugin configuration if > > it is only a matter for upgrade > > This should work and unblock you > > Enrico > > > > Il mer 10 ott 2018, 16:17 Yuri de Wit <[email protected]> ha scritto: > > > > > For what is worth: > > > > > > Caused by: java.lang.UnsupportedOperationException: This feature > requires > > > ASM7 > > > at org.objectweb.asm.ClassVisitor.visitNestHost > > (ClassVisitor.java:150) > > > at org.objectweb.asm.ClassReader.accept (ClassReader.java:541) > > > at org.objectweb.asm.ClassReader.accept (ClassReader.java:391) > > > at org.apache.maven.plugins.shade.DefaultShader.addRemappedClass > > > (DefaultShader.java:466) > > > at org.apache.maven.plugins.shade.DefaultShader.shadeSingleJar > > > (DefaultShader.java:237) > > > at org.apache.maven.plugins.shade.DefaultShader.shadeJars > > > (DefaultShader.java:192) > > > at org.apache.maven.plugins.shade.DefaultShader.shade > > > (DefaultShader.java:106) > > > at org.apache.maven.plugins.shade.mojo.ShadeMojo.execute > > > (ShadeMojo.java:442) > > > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > > > (DefaultBuildPluginManager.java:137) > > > > > > > > > On Wed, Oct 10, 2018 at 10:33 AM Yuri de Wit <[email protected]> wrote: > > > > > > > Hi Olivier, > > > > > > > > Thanks for the head up! > > > > > > > > > > > > > > > > On Wed, Oct 10, 2018 at 9:16 AM Olivier Lamy <[email protected]> > wrote: > > > > > > > >> Hi > > > >> On my TODO for next week with pmd and maven-plugin-plugin > > > >> Cheers > > > >> Olivier > > > >> > > > >> On Wed, 10 Oct 2018 at 10:01 pm, Yuri de Wit <[email protected]> > > wrote: > > > >> > > > >> > It turns out there is already a JIRA issue for this: MSHADE-301 > > > >> > <https://issues.apache.org/jira/browse/MSHADE-301>. And it has > been > > > >> fixed > > > >> > by Olivier Lamy. > > > >> > > > > >> > thanks, > > > >> > > > > >> > On Wed, Oct 10, 2018 at 8:56 AM Yuri de Wit <[email protected]> > > wrote: > > > >> > > > > >> > > Hi Enrico, > > > >> > > > > > >> > > This is the error I get: > > > >> > > > > > >> > > org.apache.maven.plugin.MojoExecutionException: Error in ASM > > > >> processing > > > >> > > class org/test/A/ext/StateExtension.class: This feature requires > > > ASM7 > > > >> -> > > > >> > > [Help 1] > > > >> > > > > > >> > > My understanding is that asm version 6.2.1 doesn't support Java > 11 > > > >> nested > > > >> > > classes unless the ASM7 is explicitly enabled from the API. The > > > >> version > > > >> > > 7.0+ does seem to make ASM7 the default, but so far only a > > 7.0-beta > > > >> asm > > > >> > > release. > > > >> > > > > > >> > > thanks, > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > On Wed, Oct 10, 2018 at 8:48 AM Enrico Olivelli < > > > [email protected]> > > > >> > > wrote: > > > >> > > > > > >> > >> Il mer 10 ott 2018, 13:02 Yuri de Wit <[email protected]> ha > > > scritto: > > > >> > >> > > > >> > >> > Hi, > > > >> > >> > > > > >> > >> > Any plans to release 3.2.1 with Java 11 support? > > > >> > >> > > > > >> > >> > > > >> > >> I am using jdk11 with current stable version. > > > >> > >> Which is your problem? > > > >> > >> > > > >> > >> Enrico > > > >> > >> > > > >> > >> > > > > >> > >> > thanks, > > > >> > >> > > > > >> > >> > On Wed, Sep 12, 2018 at 5:34 PM Karl Heinz Marbaise < > > > >> > >> [email protected] > > > >> > >> > > > > > >> > >> > wrote: > > > >> > >> > > > > >> > >> > > The Apache Maven team is pleased to announce the release of > > the > > > >> > >> > > Apache Maven Shade Plugin Version 3.2.0 > > > >> > >> > > > > > >> > >> > > https://maven.apache.org/plugins/maven-shade-plugin/ > > > >> > >> > > > > > >> > >> > > Important Note since 3.2.0: > > > >> > >> > > > > > >> > >> > > * Maven 3.X only > > > >> > >> > > * If you like to use minimizeJar you have to use JDK8+ > > > >> > >> > > otherwise you can keep running with JDK7. > > > >> > >> > > > > > >> > >> > > You should specify the version in your project's plugin > > > >> > configuration: > > > >> > >> > > > > > >> > >> > > <plugin> > > > >> > >> > > <groupId>org.apache.maven.plugins</groupId> > > > >> > >> > > <artifactId>maven-shade-plugin</artifactId> > > > >> > >> > > <version>3.2.0</version> > > > >> > >> > > </plugin> > > > >> > >> > > > > > >> > >> > > You can download the appropriate sources etc. from the > > download > > > >> > page: > > > >> > >> > > > > > >> > >> > > > > > https://maven.apache.org/plugins/maven-shade-plugin/download.cgi > > > >> > >> > > > > > >> > >> > > Release Notes Maven Shade Plugin 3.2.0 > > > >> > >> > > > > > >> > >> > > > > > >> > >> > > > > > >> > >> > > > > >> > >> > > > >> > > > > >> > > > > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317921&version=12343491 > > > >> > >> > > > > > >> > >> > > Bug: > > > >> > >> > > > > > >> > >> > > * [MSHADE-289] - Maven Shade Plugin does not work under > Java > > > 10 > > > >> > >> > > > > > >> > >> > > Improvement: > > > >> > >> > > > > > >> > >> > > * [MSHADE-293] - Require Java 7 > > > >> > >> > > > > > >> > >> > > Dependency upgrades: > > > >> > >> > > > > > >> > >> > > * [MSHADE-294] - Upgrade maven-plugins parent to version > 32 > > > >> > >> > > * [MSHADE-296] - Upgrade maven-artifact-transfer 0.10.0 > > > >> > >> > > > > > >> > >> > > Enjoy > > > >> > >> > > > > > >> > >> > > - The Apache Maven team > > > >> > >> > > > > > >> > >> > > > > > >> > > > --------------------------------------------------------------------- > > > >> > >> > > To unsubscribe, e-mail: [email protected] > > > >> > >> > > For additional commands, e-mail: [email protected] > > > >> > >> > > > > > >> > >> > > > > > >> > >> > > > > >> > >> -- > > > >> > >> > > > >> > >> > > > >> > >> -- Enrico Olivelli > > > >> > >> > > > >> > > > > > >> > > > > >> -- > > > >> Olivier Lamy > > > >> http://twitter.com/olamy | http://linkedin.com/in/olamy > > > >> > > > > > > > > > -- > > > > > > -- Enrico Olivelli > > > -- -- Enrico Olivelli
