You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Honton, Charles" <Ch...@intuit.com> on 2012/03/20 16:43:40 UTC
[parent] incorrect documentation on site
At http://commons.apache.org/commons-parent-pom.html, the section "Configuring the Java Source/Target options" indicates I should use maven.compiler.source and maven.compiler.target to specify the component's compiler version — However, the pom (version 24) uses maven.compile.source and maven.compile.target
The links to the parent pom on this page refer to a version SNAPSHOT-25 of the pom. What's the latest released version?
Thanks,
chas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [parent] incorrect documentation on site
Posted by sebb <se...@gmail.com>.
On 20 March 2012 15:43, Honton, Charles <Ch...@intuit.com> wrote:
> At http://commons.apache.org/commons-parent-pom.html, the section "Configuring the Java Source/Target options" indicates I should use maven.compiler.source and maven.compiler.target to specify the component's compiler version — However, the pom (version 24) uses maven.compile.source and maven.compile.target
That's unfortunate.
The Maven compiler plugin [1] uses maven.compiler.source, however for
some reason CP uses maven.compile.source.
[Maybe Maven1 used to use compile rather than compiler?]
So when using Commons Parent 24 (or before) one has to use "compile"
and if not, one has to use "compiler".
I guess we could fix that for CP25; however it would mean changing all
component POMs when upgrading.
Not a huge amount of work, and any component that failed to change the
property definition would likely fail to compile.
I'll raise a JIRA to keep it in mind.
Meanwhile I'll update the site.
[1] http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#source
> The links to the parent pom on this page refer to a version SNAPSHOT-25 of the pom. What's the latest released version?
24
We should probably fix the links so they point to the current released
POM rather than whatever is in trunk.
> Thanks,
> chas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org