This plugin generates a report of the PMD static source code analyzer.
Copy the downloaded plugin into the Maven plugin directory. Any older version of the plugin should to be deleted to make sure that the newest plugin is called
Download the PMD binary distribution and put the PMD jar into the repository. This has to be done manually unless PMD is hosted on the Maven remote repository.
Run "maven -g" and look out for documented PMD goals. If you see some then the unpacking succeeded.
The PMD plugin can be started through "maven pmd" or integrated by using the following code snippet in maven.xml:
The generated report has to be added manually to the website which is usually done with navigation.xml.
Another way to integrate the PMD plugin is to add it to the <reports> section in your project.xml:
And last but not least - thanks to Together Teamlösungen for their support of Open Source Software and their contributions such as Enhydra Application Server 5.0 ("Aonyx") and a couple of Maven plugins.