Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8912C9508 for ; Tue, 20 Mar 2012 16:43:17 +0000 (UTC) Received: (qmail 83167 invoked by uid 500); 20 Mar 2012 16:43:17 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 83097 invoked by uid 500); 20 Mar 2012 16:43:17 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 83090 invoked by uid 99); 20 Mar 2012 16:43:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2012 16:43:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2012 16:43:14 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id BFE77238899C for ; Tue, 20 Mar 2012 16:42:53 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1302989 - /commons/proper/commons-site/trunk/src/site/xdoc/commons-parent-pom.xml Date: Tue, 20 Mar 2012 16:42:53 -0000 To: commits@commons.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120320164253.BFE77238899C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebb Date: Tue Mar 20 16:42:53 2012 New Revision: 1302989 URL: http://svn.apache.org/viewvc?rev=1302989&view=rev Log: Fix maven.compiler.* => maven.compile.* as that is what the CP actually uses Modified: commons/proper/commons-site/trunk/src/site/xdoc/commons-parent-pom.xml Modified: commons/proper/commons-site/trunk/src/site/xdoc/commons-parent-pom.xml URL: http://svn.apache.org/viewvc/commons/proper/commons-site/trunk/src/site/xdoc/commons-parent-pom.xml?rev=1302989&r1=1302988&r2=1302989&view=diff ============================================================================== --- commons/proper/commons-site/trunk/src/site/xdoc/commons-parent-pom.xml (original) +++ commons/proper/commons-site/trunk/src/site/xdoc/commons-parent-pom.xml Tue Mar 20 16:42:53 2012 @@ -198,8 +198,11 @@ commons-parent configures the source and target options in the maven-compiler-plugin to use the - ${maven.compiler.source} and ${maven.compiler.target} properties - respectively. + ${maven.compile.source} and ${maven.compile.target} properties + respectively. [NOTE: the Maven compiler plugin defaults to + ${maven.compiler.source} and ${maven.compiler.target}; however for + some (historical?) reason the Commons Parent POM has always used ".compile." rather than ".compiler." + See https://issues.apache.org/jira/browse/COMMONSSITE-69].

So, for example, to configure a component to have source/target set to 1.4 add the following @@ -207,8 +210,8 @@

- 1.4 - 1.4 + 1.4 + 1.4 ]]> @@ -218,7 +221,7 @@ In order to help check what source/target options were used when building a release, the property values used to configure the source/target options in the maven-compiler-plugin - (i.e. ${maven.compiler.source} and ${maven.compiler.target}) are also written + (i.e. ${maven.compile.source} and ${maven.compile.target}) are also written out to the component jar's MANIFEST.MF file with the following values: