Apache Maven PMD Plugin Version 3.12.0 Released

The 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.

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.12.0</version>
5</plugin>

Release Notes - Apache Maven PMD Plugin - Version 3.12.0

Bugs:

  • MPMD-277 - Plugin tries to download local submodules from repo

New Features:

  • MPMD-280 - Support targetJdk 12
  • MPMD-281 - Display found violations grouped by priority

Improvements:

  • MPMD-279 - Improve documentation of maxAllowedViolations
  • MPMD-282 - Add rule name to HTML report

Dependency upgrades:

Enjoy,

-The Maven team