[
https://issues.apache.org/jira/browse/MCOMPILER-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte updated MCOMPILER-404:
-------------------------------------
Description:
Similar to what was done in MCOMPILER-335 the default should now be 1.7, as
that is the oldest version being supported by javac in Java 12 and Java 13
([https://docs.oracle.com/en/java/javase/12/tools/javac.html#GUID-AEEC9F07-CB49-4E96-8BC7-BCC2C7F725C9__GUID-D343F6B4-3FDD-43A8-AD24-43DD70214471]).
Otherwise compiling sources with Maven on Java 12+ will lead to errors in case
no explicit source/target/release is set.
Note: ensure to update
[index.apt.vm|https://github.com/apache/maven-compiler-plugin/blob/maven-compiler-plugin-3.8.1/src/site/apt/index.apt.vm|https://github.com/apache/maven-compiler-plugin/blob/maven-compiler-plugin-3.8.1/src/site/apt/index.apt.vm]
as well.
was:
Similar to what was done in MCOMPILER-335 the default should now be 1.7, as
that is the oldest version being supported by javac in Java 12 and Java 13
([https://docs.oracle.com/en/java/javase/12/tools/javac.html#GUID-AEEC9F07-CB49-4E96-8BC7-BCC2C7F725C9__GUID-D343F6B4-3FDD-43A8-AD24-43DD70214471]).
Otherwise compiling sources with Maven on Java 12+ will lead to errors in case
no explicit source/target/release is set.
Note: ensure to update
[[index.apt.vm|https://github.com/apache/maven-compiler-plugin/blob/maven-compiler-plugin-3.8.1/src/site/apt/index.apt.vm]|[https://github.com/apache/maven-compiler-plugin/blob/maven-compiler-plugin-3.8.1/src/site/apt/index.apt.vm]]
as well.
> Update default source/target from 1.6 to 1.7
> --------------------------------------------
>
> Key: MCOMPILER-404
> URL: https://issues.apache.org/jira/browse/MCOMPILER-404
> Project: Maven Compiler Plugin
> Issue Type: Improvement
> Affects Versions: 3.8.1
> Reporter: Konrad Windszus
> Priority: Major
> Labels: up-for-grabs
> Fix For: 3.9.0
>
>
> Similar to what was done in MCOMPILER-335 the default should now be 1.7, as
> that is the oldest version being supported by javac in Java 12 and Java 13
> ([https://docs.oracle.com/en/java/javase/12/tools/javac.html#GUID-AEEC9F07-CB49-4E96-8BC7-BCC2C7F725C9__GUID-D343F6B4-3FDD-43A8-AD24-43DD70214471]).
> Otherwise compiling sources with Maven on Java 12+ will lead to errors in
> case no explicit source/target/release is set.
>
> Note: ensure to update
> [index.apt.vm|https://github.com/apache/maven-compiler-plugin/blob/maven-compiler-plugin-3.8.1/src/site/apt/index.apt.vm|https://github.com/apache/maven-compiler-plugin/blob/maven-compiler-plugin-3.8.1/src/site/apt/index.apt.vm]
> as well.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)