From issues-return-156583-archive-asf-public=cust-asf.ponee.io@maven.apache.org Mon Dec 2 08:02:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 68E3F18065B for ; Mon, 2 Dec 2019 09:02:02 +0100 (CET) Received: (qmail 26560 invoked by uid 500); 2 Dec 2019 08:02:01 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 26458 invoked by uid 99); 2 Dec 2019 08:02:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Dec 2019 08:02:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BF909E0C4B for ; Mon, 2 Dec 2019 08:02:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 39140780459 for ; Mon, 2 Dec 2019 08:02:00 +0000 (UTC) Date: Mon, 2 Dec 2019 08:02:00 +0000 (UTC) From: "Michael Osipov (Jira)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MCOMPILER-404) Update default source/target from 1.6 to 1.7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MCOMPILER-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16985884#comment-16985884 ] Michael Osipov commented on MCOMPILER-404: ------------------------------------------ You can always use Java 11, I consider bq. Otherwise compiling sources with Maven on Java 12+ will lead to errors in case no explicit source/target/release is set. to be a weak argument because this problem will reoccur with every new major release. > 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 > > 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. -- This message was sent by Atlassian Jira (v8.3.4#803005)