From 537eed29bf8c6dd5e35b8205002146b7eaec8483 Mon Sep 17 00:00:00 2001 From: vmassol Date: Thu, 29 Sep 2005 09:30:58 +0000 Subject: [PATCH] - Start work on version 1.11-SNAPSHOT - Fixed MPCLOVER-48: allow override of flushpolicy, flushinterval in , change default values. Thanks to Brendan Humphreys for providing a patch. Note: I've had a failure the first time I ran the clover plugin tests. I wasn't able to reproduce it later on. I hope this is not related to any time-issue while flushing coverage data to the database due to the change of policy. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@292410 13f79535-47bb-0310-9956-ffa450edef68 --- clover/plugin.jelly | 4 ++-- clover/plugin.properties | 4 ++++ clover/project.xml | 2 +- clover/xdocs/changes.xml | 2 ++ clover/xdocs/properties.xml | 23 +++++++++++++++++++++++ 5 files changed, 32 insertions(+), 3 deletions(-) diff --git a/clover/plugin.jelly b/clover/plugin.jelly index d2265ab6..4e19a857 100644 --- a/clover/plugin.jelly +++ b/clover/plugin.jelly @@ -146,8 +146,8 @@ + flushpolicy="${maven.clover.flushpolicy}" + flushinterval="${maven.clover.flushinterval}"> 3 maven-clover-plugin Maven Clover Plugin - 1.10 + 1.11-SNAPSHOT The Clover plugin allows measuring test coverage using Clover (http://www.cenqua.com/clover). Produce Clover reports http://maven.apache.org/reference/plugins/clover/ diff --git a/clover/xdocs/changes.xml b/clover/xdocs/changes.xml index ef030690..aec66730 100644 --- a/clover/xdocs/changes.xml +++ b/clover/xdocs/changes.xml @@ -24,6 +24,8 @@ Emmanuel Venisse + + Upgrade to Clover 1.3.9. The diff --git a/clover/xdocs/properties.xml b/clover/xdocs/properties.xml index e48e2a83..96d83d24 100644 --- a/clover/xdocs/properties.xml +++ b/clover/xdocs/properties.xml @@ -268,6 +268,29 @@ **/clover_coverage.db + + maven.clover.flushpolicy + Yes + + The flush policy + that Clover should use to flush coverage data to its database. + + + threaded + + + + maven.clover.flushinterval + Yes + + When the flush policy is set to interval or + threaded this value is the minimum period between + flush operations (in milliseconds). + + + 5000 + +