You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mark Raynsford (Jira)" <ji...@apache.org> on 2021/11/05 16:26:00 UTC

[jira] [Commented] (MDEP-774) analyze-only failed: PermittedSubclasses requires ASM9

    [ https://issues.apache.org/jira/browse/MDEP-774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17439368#comment-17439368 ] 

Mark Raynsford commented on MDEP-774:
-------------------------------------

The usual workaround for this kind of problem (add an explicit dependency on a newer version of ASM) doesn't work. This one looks like it needs a code change.

> analyze-only failed: PermittedSubclasses requires ASM9
> ------------------------------------------------------
>
>                 Key: MDEP-774
>                 URL: https://issues.apache.org/jira/browse/MDEP-774
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: analyze
>    Affects Versions: 3.2.0
>         Environment: Maven 3.8.2, Adoptium 17, MacOS 11.6
>            Reporter: Dan Ziemba
>            Priority: Critical
>
> The analyze-only goal does not work with Java 17 bytecode:
> {noformat}
> Execution dep-analyze of goal org.apache.maven.plugins:maven-dependency-plugin:3.2.0:analyze-only failed: PermittedSubclasses requires ASM9{noformat}
> Running the same build under the same version of Java 17, but with "maven.compiler.release" set to 16 works fine.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)