The Maven team is pleased to announce the release of the Apache Maven PMD Plugin, version 3.2
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.2</version> </plugin> Release Notes - Apache Maven PMD Plugin - Version 3.2 Task * [MPMD-188] Require Java 6 * [MPMD-182] Upgrade to PMD 5.1.2 Enjoy, -The Maven team