On Fri, Jul 24, 2009 at 4:36 PM, Joerg Hohwiller<jo...@j-hohwiller.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi there,
>
> I read the documentation of javadoc-plugin about goal aggregate.
> Then I called
> mvn javadoc:aggregate and maven failed saying that the goal aggregate does not
> exist.
>
> mvn -U javadoc:aggregate, same result.
>
> Website wrong?
>
> Aha... think...
>
> mvn javadoc:2.5:aggregate, error
> mvn maven-javadoc-plugin:2.5:aggregate, error
> mvn org.apache.maven.plugins:maven-javadoc-plugin:2.5:aggregate, works!
>
> Do not get me wrong. I really love the idea of having fixed plugin
> versions in super-pom.
>
> However my example shows the possible confusion and a quite greedy syntax.
> Besides my pom.xml has <version> to 2.5 for javadoc-plugin but NOT in
> <pluginManagement>. I should change my pom.xml though...
>

Your version in the pom will override the version in pluginManagement.

> Regards
>  Jörg
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkpqGzsACgkQmPuec2Dcv/+mvgCggQprLsuE09O3DV4mPOjXiTqA
> oZQAn3pw8Vrg77t1B0ktSzhLt5VxZ22R
> =BXTx
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to