The PMD report takes a long time to generate. Is there any way to skip the PMD or CPD reports temporarily?

Yes, each report supports a skip parameter which you can pass on the command line, -Dpmd.skip=true and -Dcpd.skip=true respectively.

[top]


How can I generate links to the JXR cross-referenced source?

First make sure that the linkXRef parameter is configured correctly (it is switched on by default).

Then, the jxr plugin has to run first so that the links can be picked up by the pmd report. If you run from the command line, use mvn jxr:jxr pmd:pmd, or if you want the reports generated by the site plugin, configure the jxr plugin in your reporting section, see JXR usage.

[top]


I have add the PMD/CPD reports, but they do not show up in the generated site. Has the plugin been executed?

If there are no violations, then by default no reports are created and the entire PMD or CPD section is not rendered in the site. To change this behaviour, set the skipEmptyReport for PMD or skipEmptyReport for CPD to false.

[top]