Index: plugin.jelly
===================================================================
retrieving revision 1.10
diff -u -r1.10 plugin.jelly
--- plugin.jelly 20 Nov 2003 15:35:16 -0000 1.10
+++ plugin.jelly 28 Dec 2003 16:34:46 -0000
@@ -19,6 +19,11 @@
pluginName="pmd"
description="Verification of coding rules."
link="pmd-report"/>
+
@@ -30,6 +35,7 @@
+
@@ -118,6 +124,63 @@
prettyPrint="true"
/>
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+ Running the CPD task with minimumTokenCount = ${maven.pmd.cpd.minimumtokencount} ...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: plugin.properties
===================================================================
retrieving revision 1.4
diff -u -r1.4 plugin.properties
--- plugin.properties 22 Jul 2003 16:13:27 -0000 1.4
+++ plugin.properties 28 Dec 2003 16:34:46 -0000
@@ -15,3 +15,11 @@
maven.pmd.includes = **/*.java
maven.pmd.excludes =
+
+# enable/disable CPD
+
+maven.pmd.cpd.enable = false
+
+# minimum length of token sequences considered equal
+
+maven.pmd.cpd.minimumtokencount = 100
Index: xdocs/properties.xml
===================================================================
retrieving revision 1.2
diff -u -r1.2 properties.xml
--- xdocs/properties.xml 22 Jul 2003 16:13:26 -0000 1.2
+++ xdocs/properties.xml 28 Dec 2003 16:34:47 -0000
@@ -54,6 +54,21 @@
exclude any files.
+
+ | maven.pmd.cpd.enable |
+ Yes |
+
+ Enable/disable the CPD report. Defaults to "false".
+ |
+
+
+ | maven.pmd.cpd.minimumtokencount |
+ Yes |
+
+ Specifies the minimal number required to consider two sequences of
+ tokens identical. Defaults to "100".
+ |
+