maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rune Flobakk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MDEP-613) Analyze failed: Unsupported class file major version 55 (Java 11)
Date Thu, 24 Jan 2019 09:30:00 GMT

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

Rune Flobakk commented on MDEP-613:
-----------------------------------

[~hgschmie]: we just override the dependency version for maven-dependency-analyzer, and it
works with no problems while we wait for the release of maven-dependency-plugin:

In dependencyManagement:

{{<plugin>}}
{{  <artifactId>maven-dependency-plugin</artifactId>}}
{{  <version>3.1.1</version>}}
{{  <dependencies>}}
{{    <dependency>}}
{{      <groupId>org.apache.maven.shared</groupId>}}
{{      <artifactId>maven-dependency-analyzer</artifactId>}}
{{      <version>1.11.1</version>}}
{{    </dependency>}}
{{  </dependencies>}}
{{ </plugin>}}

> Analyze failed: Unsupported class file major version 55 (Java 11)
> -----------------------------------------------------------------
>
>                 Key: MDEP-613
>                 URL: https://issues.apache.org/jira/browse/MDEP-613
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: analyze
>    Affects Versions: 3.1.0
>            Reporter: Mincong Huang
>            Assignee: Karl Heinz Marbaise
>            Priority: Major
>              Labels: up-for-grabs
>             Fix For: 3.1.2
>
>         Attachments: log.txt
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Class file of major version 55 (Java 11) is not yet supported by Maven Dependency Plugin.
So when running command {{mvn dependency:analysis}} on classes created by Java 11, il failed.
See {{log.txt}} for the full log trace.
> This is caused by ASM, which does not support major version 55 (Java 11) yet. However,
their HEAD contains already the solution, so using the SNAPSHOT version will work. This support
will be included in the next release 6.2.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message