Apache Maven PMD Plugin Version 3.16.0 Released

The Maven team is pleased to announce the release of the Apache Maven PMD Plugin, version 3.16.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.

You can download the appropriate sources etc. from the download page.

You should specify the version in your project's plugin configuration:

1<plugin>
2  <groupId>org.apache.maven.plugins</groupId>
3  <artifactId>maven-pmd-plugin</artifactId>
4  <version>3.16.0</version>
5</plugin>

Release Notes - Apache Maven PMD Plugin - Version 3.16.0

  • Bugs:

    • MPMD-325 - Could not find class due to IncompatibleClassChangeError warning
    • MPMD-324 - Ruleset URLs have hyphen replaced with forwardslash
    • MPMD-323 - ResourceManager should use project base dir instead of pom location
  • Improvement:

  • Tasks:

    • MPMD-327 - Upgrade to PMD 6.42.0
    • MPMD-326 - Set Maven 3.1.1 as minimum version

Enjoy,

-The Maven team