Amir Eliaz wrote: > So the problem really is a wrong dependency in maven-pmd-plugin-2.3.pom, > which is the latest for this plugin.
The dependency in general is not wrong, it's just inappropriate for users that would like to use newer rules. The SVN head has just been updated to use 4.2.1 (see http://jira.codehaus.org/browse/MPMD-78). Until the PMD Plugin 2.4 gets released, the following should solve your problem: <project> ... <build> <plugins> <plugin> <artifactId>maven-pmd-plugin</artifactId> <version>2.3</version> <dependencies> <dependency> <groupId>pmd</groupId> <artifactId>pmd-jdk14</artifactId> <version>4.2.1</version> </dependency> </dependencies> </plugin> </plugins> </build> ... </project> i.e. overwrite the plugin class path with the PMD version your require. Note that this must be done using <build>, there is no <dependencies> element under <reporting>. Benjamin -- View this message in context: http://www.nabble.com/Maven-PMD-plugin-dependency-on-pmd-Jar-is-out-of-date-tp16746339s177p16764207.html Sent from the Maven Developers mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]