You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@apache.org> on 2018/09/19 17:43:00 UTC
[jira] [Closed] (MCOMPILER-362) Change default source/target option
to be a bit more modern
[ https://issues.apache.org/jira/browse/MCOMPILER-362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte closed MCOMPILER-362.
------------------------------------
Resolution: Won't Fix
Assignee: Robert Scholte
I'm going to close this as won't fix for now. If you had a look at other issues related to the value of source/target you might have seen that with maven-compiler-plugin 3.8.0 the defaults have been changed to 1.6 due to MCOMPILER-335.
In short: every project should specify a source+target and shouldn't rely on the plugin default, because it is not as constant as it should be. The value for source/target are the lowest supported by the latest Java version. This way everybody can create a "Hello World" application with the minimum pom file.
So once Java 12 is released, we'll upgrade this value to 1.7
For all details, please read MCOMPILER-335 first.
> Change default source/target option to be a bit more modern
> -----------------------------------------------------------
>
> Key: MCOMPILER-362
> URL: https://issues.apache.org/jira/browse/MCOMPILER-362
> Project: Maven Compiler Plugin
> Issue Type: Improvement
> Reporter: theminecoder
> Assignee: Robert Scholte
> Priority: Trivial
>
> With the impending release of Java 11, I think it's about time that we update the source/target compiler options to something that isn't (at the time of writing) 4 major versions behind.
> With the amount of libraries that require at least Java 8 and Java 8 being the current LTS version, I would like to propose that we change the default to be at least a minimum of Java 8, with the option to change back to the older compiler versions like how we have to switch to Java 8 currently.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)