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

[jira] [Commented] (MCOMPILER-376) Change default source/target to 1.7 (new minimum for JDK 12)

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

Fred Bricon commented on MCOMPILER-376:
---------------------------------------

Definitely is a duplicate of MCOMPILER-404.

However, setting 1.7 as the default value is complete nonsense. As an IDE guy, I can tell you *no one* creates Java 1.7 projects anymore. And for people who still use it, they already configured their m-c-p accordingly. So this 1.7 change helps literally nobody. 

The _sensible default_ (as in the Maven way) should at the very least be 1.8. (11 is still way too controversial). 

> Change default source/target to 1.7 (new minimum for JDK 12)
> ------------------------------------------------------------
>
>                 Key: MCOMPILER-376
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-376
>             Project: Maven Compiler Plugin
>          Issue Type: Improvement
>            Reporter: Robert Scholte
>            Assignee: Robert Scholte
>            Priority: Major
>             Fix For: 3.9.0
>
>
> With the statement "It must be possible to build a Hello World application with the latest JDK +  latest Maven + minimum pom" the default value for source+target must be lifted to 1.7



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