diff --git a/pmd/plugin.jelly b/pmd/plugin.jelly index 8af4b2fa..93cd1294 100644 --- a/pmd/plugin.jelly +++ b/pmd/plugin.jelly @@ -172,6 +172,7 @@ Converting the PMD report to xdoc ... + Using stylesheet: ${stylesheet} + + + + + + + + + + + + + PMD Results + + +
+

+ The following document contains the results of + PMD. +

+
+
+ + + + + + + + + + + +
FilesErrors
+ + + + + + + + + + + + + + + + + + ${breakdown} +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FilesViolations
+ ${name} + + + + + + + + + + + + + + + + + ${breakdown} +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PriViolationLine
+ + ${priority} + + + + ${htmlescape.getText(errorMessage)} - details... + + + + + + + + + + ${line} + + + ${line} + + +
+
+
+
+
+ +
+
+
\ No newline at end of file diff --git a/pmd/xdocs/changes.xml b/pmd/xdocs/changes.xml index 81ceaf5b..c6b10bb4 100644 --- a/pmd/xdocs/changes.xml +++ b/pmd/xdocs/changes.xml @@ -25,6 +25,7 @@ + Add an alternative jsl stylesheet that includes priority information. Allow custom JSL stylesheet to be defined via a property. Update dependencies to unify them between plugins. The following dependencies are updated : jaxen v1.0-FCS-full to 1.1-beta-9. The following dependencies are removed : saxpath. Upgrade to pmd-3.7. diff --git a/pmd/xdocs/properties.xml b/pmd/xdocs/properties.xml index 2ba00644..ef780e41 100644 --- a/pmd/xdocs/properties.xml +++ b/pmd/xdocs/properties.xml @@ -128,6 +128,9 @@ A custom stylesheet to use for the report. Default is ${plugin.resources}/pmd.jsl. + An alternative stylesheet is supplied that includes + priority information of pmd violations. To use it, set + maven.pmd.stylesheet=${plugin.resources}/pmd-priority.jsl.