[ https://issues.apache.org/jira/browse/MNG-7611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17641717#comment-17641717 ]
Konrad Windszus edited comment on MNG-7611 at 12/1/22 7:24 AM: --------------------------------------------------------------- This is an expected behaviour as the `requiredJavaVersion` in the plugin descriptor is not always interpreted as value range, but in this case as mere prefix. As this is a different semantics than `requiredMavenVersion` we should change it. was (Author: kwin): This is an expected behaviour as the javaRequirement in the plugin descriptor is not always interpreted as value range, but in this case as mere prefix. > java.lang.IllegalStateException: Required Java version 1.8 is not met by > current version: 17.0.5 > ------------------------------------------------------------------------------------------------ > > Key: MNG-7611 > URL: https://issues.apache.org/jira/browse/MNG-7611 > Project: Maven > Issue Type: Task > Reporter: Guillaume Nodet > Priority: Major > Fix For: 4.0.0-alpha-3 > > > {code:java} > Caused by: java.lang.IllegalStateException: Required Java version 1.8 is not > met by current version: 17.0.5 > at > org.apache.maven.plugin.internal.MavenPluginJavaPrerequisiteChecker.accept(MavenPluginJavaPrerequisiteChecker.java:38) > at > org.apache.maven.plugin.internal.DefaultMavenPluginManager.lambda$checkPrerequisites$1(DefaultMavenPluginManager.java:289) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)