Mohan KR wrote at Donnerstag, 9. Juli 2009 20:06:

> Yup..got bitten by it..As a "best practice" you have to lock down the
> plugin version
> in the reporting section, it is *not* propogated from the pluginManagement
> I believe.
> (at least not in 2.0.9), I believe there is a JIRA issue to have a
> reportingManagement
> section or supposed to be fixed in 3.0.x :)

Additionally you have to keep in mind, that a plugin is only loaded once in
the reactor i.e. if a plugin is used during build as well as for the
reports (like surefire) the version of the plugin used during the
build "wins" and the version defined in the report section is ignored
completely (just like both version are ignored in a reactor build if the
plugin has been used before in another project of the build).

- Jörg


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

Reply via email to