From 9eaf525fc6ce67fdce4deaad7ea094fe841fd2c3 Mon Sep 17 00:00:00 2001 From: ltheussl Date: Mon, 6 Nov 2006 13:55:27 +0000 Subject: [PATCH] PR: MPPMD-27 Allow custom JSL stylesheet to be defined via a property. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@471736 13f79535-47bb-0310-9956-ffa450edef68 --- pmd/plugin.jelly | 7 +++++-- pmd/plugin.properties | 5 ++++- pmd/xdocs/changes.xml | 1 + pmd/xdocs/properties.xml | 10 +++++++++- 4 files changed, 19 insertions(+), 4 deletions(-) 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.