The Apache Maven team is pleased to announce the release of the Apache Maven PMD Plugin, version 3.12.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.12.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.12.0 ** Bug * [MPMD-277] - Plugin tries to download local submodules from repo ** New Feature * [MPMD-280] - Support targetJdk 12 * [MPMD-281] - Display found violations grouped by priority ** Improvement * [MPMD-279] - Improve documentation of maxAllowedViolations * [MPMD-282] - Add rule name to HTML report ** Dependency upgrade * [MPMD-275] - Upgrade to PMD 6.13.0 * [MPMD-284] - Upgrade parent to 33 Enjoy, -The Apache Maven team