[
https://issues.apache.org/jira/browse/MNG-7587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17725733#comment-17725733
]
Christoph Läubrich commented on MNG-7587:
-----------------------------------------
> but your project depends (and executes) with maven 3.3.9... what does it do
> with maven version you build with?
Don't understand this as given above I only have maven 3.8.6 used, no idea what
maven is performing under the hood but even
{code:java}
/opt/maven/3.9.0/bin/mvn clean verify -Drunning-java-release-version=11 -V
Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
Maven home: /opt/maven/3.9.0
Java version: 17.0.6, vendor: Oracle Corporation, runtime:
/usr/lib/jvm/java-17-oracle
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "4.19.0-17-amd64", arch: "amd64", family:
"unix"{code}
fails the same way ... so it seem to magically using an older maven actually?
So I removed <maven.version>3.3.9</maven.version> then Java 11 works, but Java
17 still fails.
> Update Sisu to a version supporting at least Java 17
> ----------------------------------------------------
>
> Key: MNG-7587
> URL: https://issues.apache.org/jira/browse/MNG-7587
> Project: Maven
> Issue Type: Improvement
> Components: Core
> Reporter: Konrad Windszus
> Priority: Major
> Fix For: 3.9.x-candidate, 4.0.x-candidate
>
> Attachments: hello-maven-plugin.zip
>
>
> Version 0.3.5 (inherited from
> https://github.com/apache/maven-parent/blob/aff1eef5409009ca7f9d5f196233b2a575aba775/pom.xml#L934)
> in both Maven 4 and 3.9 of {{sisu.inject}} ships with ASM 5.0.2 (relaxed in
> https://github.com/eclipse/sisu.inject/commit/5e34add4790384dc764f77c9e31761cbc6e479aa
> to support up to Java 14).
> Given that Java 19 is the most recent one today Maven needs a newer version
> of {{sisu.inject}} to fully support newer Java bytecode than for Java 14.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)