diff --git a/clover/plugin.jelly b/clover/plugin.jelly
index 34f2fcff..47b917eb 100644
--- a/clover/plugin.jelly
+++ b/clover/plugin.jelly
@@ -83,10 +83,24 @@
Setting Clover compiler
+
+
+
+ initstring="${cloverDatabase}"
+ flushpolicy="interval"
+ flushinterval="500">
+
+
+
+
+
+
+
+
+
+
+
Now using primary build.compiler : ${build.compiler}
diff --git a/clover/plugin.properties b/clover/plugin.properties
index 690a3e3b..9fa4c69b 100644
--- a/clover/plugin.properties
+++ b/clover/plugin.properties
@@ -10,6 +10,9 @@ maven.build.clover.classes = ${maven.build.clover}/classes
maven.clover.database.dir = ${maven.build.clover}/database
maven.clover.orderBy=PcCoveredAsc
+# Whether tests should be instrumented by Clover or not
+maven.clover.instrument.tests = false
+
# What are the reports that should be generated
maven.clover.report.html=true
maven.clover.report.xml=false
diff --git a/clover/xdocs/changes.xml b/clover/xdocs/changes.xml
index db8d3503..f6c52561 100644
--- a/clover/xdocs/changes.xml
+++ b/clover/xdocs/changes.xml
@@ -9,6 +9,11 @@
+
+ Conditionally instrument test classes too. To instrument test classes
+ set the maven.clover.instrument.tests to
+ true.
+
Make sure that the clover plugin restore other plugin's
properties it has modified.
diff --git a/clover/xdocs/properties.xml b/clover/xdocs/properties.xml
index fda0dd33..cbbd532c 100644
--- a/clover/xdocs/properties.xml
+++ b/clover/xdocs/properties.xml
@@ -27,6 +27,16 @@
PcCoveredAsc
+
+ | maven.clover.instrument.tests |
+ Yes |
+
+ Decides whether to instrument test classes.
+ |
+
+ false
+ |
+
| maven.clover.report.html |
Yes |