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

Slawomir Jaranowski commented on MDEP-848:
------------------------------------------

We need release next version on {{maven-dependency-analyzer}} with new version 
of asm.
As workaround you can bump ams in your project.

{code}
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>3.5.0</version>
        <dependencies>
          <dependency>
            <groupId>org.ow2.asm</groupId>
            <artifactId>asm</artifactId>
            <version>9.5</version>
          </dependency>
        </dependencies>
      </plugin>
{code}

> Dependency Analysis does not work under Java 20
> -----------------------------------------------
>
>                 Key: MDEP-848
>                 URL: https://issues.apache.org/jira/browse/MDEP-848
>             Project: Maven Dependency Plugin
>          Issue Type: Dependency upgrade
>          Components: analyze
>    Affects Versions: 3.5.0
>            Reporter: Mark Derricutt
>            Priority: Major
>
> The analyze-only (and probably other goals) don't support the newer class 
> file version of Java 20.
>  
> {{[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-dependency-plugin:3.5.0:analyze-only 
> (com.smxemail.tiles_com.smxemail.tiles.enforcements_4.0.1-SNAPSHOT__analyze-goals)
>  on project com.smxemail.datatype: Execution 
> com.smxemail.tiles_com.smxemail.tiles.enforcements_4.0.1-SNAPSHOT__analyze-goals
>  of goal org.apache.maven.plugins:maven-dependency-plugin:3.5.0:analyze-only 
> failed: Unsupported class file major version 64 -> [Help 1]}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to