diff --git a/pmd/plugin.jelly b/pmd/plugin.jelly
index fe69a9f9..6e58d92c 100644
--- a/pmd/plugin.jelly
+++ b/pmd/plugin.jelly
@@ -118,7 +118,8 @@
rulesetfiles="${maven.pmd.rulesetfiles}"
printToConsole="${maven.pmd.console}"
failonerror="${maven.pmd.failonerror}"
- failOnRuleViolation="${maven.pmd.failonruleviolation}">
+ failOnRuleViolation="${maven.pmd.failonruleviolation}"
+ targetjdk="${maven.pmd.targetjdk}">
+ New property "maven.pmd.targetjdk" to define the target JDK.Add a link on each error to explain it.New properties "maven.pmd.failonerror" and "maven.pmd.failonruleviolation" to fail the build if any errors or problems are found.New property "maven.pmd.console" to display pmd errors to the console.
diff --git a/pmd/xdocs/properties.xml b/pmd/xdocs/properties.xml
index 3f12ff30..51ee1ee9 100644
--- a/pmd/xdocs/properties.xml
+++ b/pmd/xdocs/properties.xml
@@ -115,6 +115,13 @@
Whether or not to fail the build if PMD finds any problems. Defaults to false.
+
+
maven.pmd.targetjdk
+
Yes
+
+ Target JDK 1.3, 1.4, or 1.5.. Defaults to ${maven.compile.source}.
+