You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/12/01 07:25:00 UTC

[jira] [Comment Edited] (MNG-7611) java.lang.IllegalStateException: Required Java version 1.8 is not met by current version: 17.0.5

    [ 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)