The Apache Maven team is pleased to announce the release of the Apache Maven PMD Plugin, version 3.9.0 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. https://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.9.0</version> </plugin> You can download the appropriate sources etc. from the download page: https://maven.apache.org/plugins/maven-pmd-plugin/download.cgi Release Notes - Maven PMD Plugin - Version 3.9.0 ** Bug * [MPMD-235] - Javadoc errors when building with java8 * [MPMD-240] - Migrate plugin to Maven 3.0 * [MPMD-244] - Maven PMD plugin fails but no reason is given for the failure * [MPMD-245] - targetJdk property should use maven.compiler.source by default * [MPMD-248] - cpd-check goal leaks file handle * [MPMD-249] - The plugin documentation point to old (deprecated) rulesets * [MPMD-251] - Invalid report XML is generated with includeXmlInSite=true
** Improvement * [MPMD-239] - Add documentation about upgrading PMD version at runtime * [MPMD-246] - Output details of processing errors * [MPMD-247] - Upgrade to PMD 6.0.1 Enjoy, -The Apache Maven team