Description
The documentation should be similar to http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/upgrading-checkstyle.html
Example configuration, to use m-pmd-p 3.8 + PMD "choose your version":
<project> <properties> <pmdVersion>...choose your version...</version> </properties> ... <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>3.8</version> <dependencies> <dependency> <groupId>net.sourceforge.pmd</groupId> <artifactId>pmd-core</artifactId> <version>${pmdVersion}</version> </dependency> <dependency> <groupId>net.sourceforge.pmd</groupId> <artifactId>pmd-java</artifactId> <version>${pmdVersion}</version> </dependency> <dependency> <groupId>net.sourceforge.pmd</groupId> <artifactId>pmd-javascript</artifactId> <version>${pmdVersion}</version> </dependency> <dependency> <groupId>net.sourceforge.pmd</groupId> <artifactId>pmd-jsp</artifactId> <version>${pmdVersion}</version> </dependency> </dependencies> </plugin> </plugins> </pluginManagement> </build> ... </project>