The Maven team is pleased to announce the release of the Apache Maven PMD Plugin, version 3.11.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.11.0</version> </plugin> Release Notes - Apache Maven PMD Plugin - Version 3.11.0 Bug * [MPMD-268] Missing warnings about deprecated rules * [MPMD-266] Aggregate report in multi-module projects doesn't use correct auxclasspath New Feature * [MPMD-272] Support ignoreAnnotations options for CPD Task * [MPMD-271] Upgrade pmd 6.8.0 * [MPMD-270] JDK 11 compatibility Enjoy, -The Maven team