Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7B9EC200BB3 for ; Wed, 19 Oct 2016 08:10:57 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7A1F8160AF7; Wed, 19 Oct 2016 06:10:57 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C0944160AE5 for ; Wed, 19 Oct 2016 08:10:56 +0200 (CEST) Received: (qmail 59865 invoked by uid 500); 19 Oct 2016 06:10:50 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 59854 invoked by uid 99); 19 Oct 2016 06:10:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2016 06:10:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C91311804F7 for ; Wed, 19 Oct 2016 06:10:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.299 X-Spam-Level: X-Spam-Status: No, score=0.299 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id jwGrjUuC_lPe for ; Wed, 19 Oct 2016 06:10:48 +0000 (UTC) Received: from mail-1y.bbox.fr (mail-1y.bbox.fr [194.158.98.14]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id D855D5F47D for ; Wed, 19 Oct 2016 06:10:47 +0000 (UTC) Received: from herve-desktop.localnet (89-92-159-69.hfc.dyn.abo.bbox.fr [89.92.159.69]) by mail-1y.bbox.fr (Postfix) with ESMTP id 6D3D9179 for ; Wed, 19 Oct 2016 08:09:41 +0200 (CEST) From: =?ISO-8859-1?Q?Herv=E9?= BOUTEMY To: dev@maven.apache.org Subject: Re: svn commit: r1765195 - /maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/set-compiler-source-and-target.apt.vm Date: Wed, 19 Oct 2016 08:09:41 +0200 Message-ID: <9123151.5Qcj9k47gP@herve-desktop> User-Agent: KMail/4.13.3 (Linux/3.13.0-98-generic; KDE/4.13.3; x86_64; ; ) In-Reply-To: <20161016223802.2D95D3A0230@svn01-us-west.apache.org> References: <20161016223802.2D95D3A0230@svn01-us-west.apache.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" archived-at: Wed, 19 Oct 2016 06:10:57 -0000 good idea when I see that, I think we should also talk about maven.compiler.sourc= e and=20 maven.compiler target properties in this focused page, isn't it? Regards, Herv=E9 Le dimanche 16 octobre 2016 22:38:01 gboue@apache.org a =E9crit : > Author: gboue > Date: Sun Oct 16 22:38:01 2016 > New Revision: 1765195 >=20 > URL: http://svn.apache.org/viewvc?rev=3D1765195&view=3Drev > Log: > Updating the "Setting the -source and -target of the Java Compiler" > documentation page by referencing Java 8 features instead of Java 4. = This > closes #69. >=20 > Modified: > =20 > maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/set-c= ompile > r-source-and-target.apt.vm >=20 > Modified: > maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/set-c= ompile > r-source-and-target.apt.vm URL: > http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugi= n/src/ > site/apt/examples/set-compiler-source-and-target.apt.vm?rev=3D1765195= &r1=3D17651 > 94&r2=3D1765195&view=3Ddiff > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > =3D=3D=3D --- > maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/set-c= ompile > r-source-and-target.apt.vm (original) +++ > maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/set-c= ompile > r-source-and-target.apt.vm Sun Oct 16 22:38:01 2016 @@ -33,9 +33,9 @@= > Setting the <<<-source>>> and <<<-target > such command using <<<-source>>> and <<<-target>>>. The Compiler = Plugin > can also be configured to provide these options during compilation= . >=20 > - For example, if you want to enable assertions (<<<-source 1.4>>>) = and > also want the - compiled classes to be compatible with JVM 1.4 (<<<-= target > 1.4>>>), you can then - put: > + For example, if you want to use the Java 8 language features (<<<-= source > 1.8>>>) + and also want the compiled classes to be compatible with J= VM 1.8 > (<<<-target 1.8>>>), + you can then put: >=20 > +----- > > @@ -48,8 +48,8 @@ Setting the <<<-source>>> and <<<-target > maven-compiler-plugin > ${project.version} > > - 1.4 > - 1.4 > + 1.8 > + 1.8 > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org