The Maven team is pleased to announce the release of the Apache Maven PMD Plugin, version 3.3
A Maven plugin for the PMD toolkit, that produces a report on both code rule violations and detected copy and paste fragments, as well as being able to fail the build based on these metrics. http://maven.apache.org/plugins/maven-pmd-plugin/ You should specify the version in your project's plugin configuration: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>3.3</version> </plugin> Release Notes - Apache Maven PMD Plugin - Version 3.3 Bug * [MPMD-192] Regression MPMD-89 is showing up with Maven 2.2.1 again for maven-pmd-plugin-3.3 Improvement * [MPMD-191] Update to PMD 5.2.1 * [MPMD-189] MavenProject/MavenSession Injection as a paremeter instead as a component. Enjoy, -The Maven team