On 23/10/2009, at 11:39 AM, Hilco Wijbenga wrote:
It needs to be under <plugin>, in the <build> section (not the
<reporting>
section, and not the <pluginManagement> section).
Here is a working example from the Effective Implementation book:
http://github.com/brettporter/centrepoint/blob/master/centrepoint/modules/pom.xml
Weird, that's exactly what I have. I even changed "rulesets" to "pmd"
to match what you have (just in case). Maven doesn't find it. I'll
have to try it at home with a smaller project.
A possible problem under Maven 2 is if you have multiple instances of
the plugin declared as the classloader of the first one is always
used. That's why the above is in the root project of all that will use
it. You might also consider it in a organization POM (just
configuration and deps, not executions) to ensure it is shared.
- Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org