The Maven team is pleased to announce the release of the Apache Maven PMD Plugin, version 3.2.
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 should specify the version in your project’s plugin configuration:
1 2 3 4 5
-The Maven team