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

Steven Schlansker edited comment on MDEP-774 at 11/24/21, 8:13 PM:
-------------------------------------------------------------------

I see the same problem, only it is:
{code:java}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-dependency-plugin:3.2.0:analyze-only 
(basepom.default) on project assisted-inject: Execution basepom.default of goal 
org.apache.maven.plugins:maven-dependency-plugin:3.2.0:analyze-only failed: 
Record requires ASM8 {code}
Probably the same fix in both cases... (I already managed asm dependency to 
latest 9.2)


was (Author: stevenschlansker):
I see the same problem, only it is:
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-dependency-plugin:3.2.0:analyze-only 
> (basepom.default) on project assisted-inject: Execution basepom.default of 
> goal org.apache.maven.plugins:maven-dependency-plugin:3.2.0:analyze-only 
> failed: Record requires ASM8 

Probably the same fix in both cases... (I already managed asm dependency to 
latest 9.2)

> 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
>            Assignee: Sylwester Lachiewicz
>            Priority: Critical
>             Fix For: next-release
>
>
> 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.20.1#820001)

Reply via email to