The Apache Maven team is pleased to announce the release of the Apache Maven PMD Plugin, version 3.8 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.8</version> </plugin> Release Notes - Maven PMD Plugin - Version 3.8 Improvements: * [MPMD-232] - Enable typeResolution by default * [MPMD-233] - Upgrade to PMD 5.6.1 New Features: * [MPMD-234] - Support incremental analysis cache Wishes: * [MPMD-230] - Required class missing: org/apache/commons/io/IOUtils Enjoy, -The Apache Maven team