You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Thorsten Glaser (Jira)" <ji...@apache.org> on 2021/12/17 19:44:00 UTC

[jira] [Created] (MCOMPILER-477) maven-compiler-plugin > 3.5.1 fail on JDK 8

Thorsten Glaser created MCOMPILER-477:
-----------------------------------------

             Summary: maven-compiler-plugin > 3.5.1 fail on JDK 8
                 Key: MCOMPILER-477
                 URL: https://issues.apache.org/jira/browse/MCOMPILER-477
             Project: Maven Compiler Plugin
          Issue Type: Bug
    Affects Versions: 3.8.1
            Reporter: Thorsten Glaser


Trying to use 3.8.1 (or select older versions) with JDK 8 result in {{--release}} being passed to {{{}javac{}}}, which does not like that.
{quote}{{[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project maven-parent-lib: Fatal error compiling: invalid flag: --release -> [Help 1]}}
{quote}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)