diff --git a/pmd/plugin.jelly b/pmd/plugin.jelly index 1f0ad46d..8af4b2fa 100644 --- a/pmd/plugin.jelly +++ b/pmd/plugin.jelly @@ -167,13 +167,16 @@ - + + + + Converting the PMD report to xdoc ... diff --git a/pmd/plugin.properties b/pmd/plugin.properties index 4d236153..f5844f02 100644 --- a/pmd/plugin.properties +++ b/pmd/plugin.properties @@ -51,4 +51,7 @@ maven.pmd.failonerror = false maven.pmd.failonruleviolation = false # JDK target -maven.pmd.targetjdk=${maven.compile.source} \ No newline at end of file +maven.pmd.targetjdk=${maven.compile.source} + +# JSL stylesheet +maven.pmd.stylesheet = ${plugin.resources}/pmd.jsl \ No newline at end of file diff --git a/pmd/xdocs/changes.xml b/pmd/xdocs/changes.xml index d0ec1f21..81ceaf5b 100644 --- a/pmd/xdocs/changes.xml +++ b/pmd/xdocs/changes.xml @@ -25,6 +25,7 @@ + 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 47f1f357..2ba00644 100644 --- a/pmd/xdocs/properties.xml +++ b/pmd/xdocs/properties.xml @@ -119,7 +119,15 @@ maven.pmd.targetjdk Yes - Target JDK 1.3, 1.4, or 1.5.. Defaults to ${maven.compile.source}. + Target JDK 1.3, 1.4, or 1.5.. Defaults to ${maven.compile.source}. + + + + maven.pmd.stylesheet + Yes + + A custom stylesheet to use for the report. + Default is ${plugin.resources}/pmd.jsl.