The Maven team is pleased to announce the release of the Apache Maven
PMD Plugin, version 3.22.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.22.0</version>
</plugin>
Release Notes - Maven PMD Plugin - Version 3.22.0
Improvement
* [MPMD-379] - Upgrade to use PMD 7.0.0 by default
Dependency upgrade
* [MPMD-388] - Upgrade to Parent 41
* [MPMD-393] - Upgrade commons-io:commons-io to 2.16.1
* [MPMD-394] - Bump org.apache.maven.plugins:maven-plugins from 41 to 42
Enjoy,
-The Maven team