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 @@ <a href="http://svn.apache.org/repos/asf/commons/proper/commons-parent/trunk/pom.xml">commons-parent</a> configures the <code>source</code> and <code>target</code> options in the <a href="http://maven.apache.org/plugins/maven-compiler-plugin/">maven-compiler-plugin</a> to use the - <code>${maven.compiler.source}</code> and <code>${maven.compiler.target}</code> properties - respectively. + <code>${maven.compile.source}</code> and <code>${maven.compile.target}</code> properties + respectively. [<b>NOTE:</b> the Maven compiler plugin defaults to + <code>${maven.compiler.source}</code> and <code>${maven.compiler.target}</code>; 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]. </p> <p> So, for example, to configure a component to have <i>source/target</i> set to <i>1.4</i> add the following @@ -207,8 +210,8 @@ </p> <source><![CDATA[ <properties> - <maven.compiler.source>1.4</maven.compiler.source> - <maven.compiler.target>1.4</maven.compiler.target> + <maven.compile.source>1.4</maven.compile.source> + <maven.compile.target>1.4</maven.compile.target> </properties> ]]></source> </subsection> @@ -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 <i>source/target</i> options in the <a href="http://maven.apache.org/plugins/maven-compiler-plugin/">maven-compiler-plugin</a> - (i.e. <code>${maven.compiler.source}</code> and <code>${maven.compiler.target}</code>) are also written + (i.e. <code>${maven.compile.source}</code> and <code>${maven.compile.target}</code>) are also written out to the component jar's <code>MANIFEST.MF</code> file with the following values: </p> <source>