You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Piotr Zygielo (Jira)" <ji...@apache.org> on 2021/03/22 15:03:00 UTC

[jira] [Commented] (MENFORCER-382) Enforcer plugin does not work with Java 16

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

Piotr Zygielo commented on MENFORCER-382:
-----------------------------------------

I believe it is reported to wrong place.

I suppose it's from [https://www.mojohaus.org/extra-enforcer-rules/enforceBytecodeVersion.html] rule.

Then - I guess it's the mistake in configuration for that rule in missioncontrol-root (or its parent).

> Enforcer plugin does not work with Java 16
> ------------------------------------------
>
>                 Key: MENFORCER-382
>                 URL: https://issues.apache.org/jira/browse/MENFORCER-382
>             Project: Maven Enforcer Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.0-M3
>            Reporter: Jordan Zimmerman
>            Priority: Major
>
> I tried building with Java 16 and get this error:
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce (default) on project missioncontrol-root: Execution default of goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce failed: Unknown JDK version given. Should be something like "1.7", "8", "11", "12" -> [Help 1]
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)