You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by vm...@apache.org on 2005/09/29 11:31:07 UTC
svn commit: r292410 - in /maven/maven-1/plugins/trunk/clover: plugin.jelly
plugin.properties project.xml xdocs/changes.xml xdocs/properties.xml
Author: vmassol
Date: Thu Sep 29 02:30:58 2005
New Revision: 292410
URL: http://svn.apache.org/viewcvs?rev=292410&view=rev
Log:
- Start work on version 1.11-SNAPSHOT
- Fixed MPCLOVER-48: allow override of flushpolicy, flushinterval in <clover-setup>, 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.
Modified:
maven/maven-1/plugins/trunk/clover/plugin.jelly
maven/maven-1/plugins/trunk/clover/plugin.properties
maven/maven-1/plugins/trunk/clover/project.xml
maven/maven-1/plugins/trunk/clover/xdocs/changes.xml
maven/maven-1/plugins/trunk/clover/xdocs/properties.xml
Modified: maven/maven-1/plugins/trunk/clover/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/clover/plugin.jelly?rev=292410&r1=292409&r2=292410&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/clover/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/clover/plugin.jelly Thu Sep 29 02:30:58 2005
@@ -146,8 +146,8 @@
<ant:clover-setup
initstring="${maven.clover.database}"
- flushpolicy="interval"
- flushinterval="500">
+ flushpolicy="${maven.clover.flushpolicy}"
+ flushinterval="${maven.clover.flushinterval}">
<j:forEach var="srcDir" items="${srcDirs}">
<ant:fileset dir="${srcDir}"
Modified: maven/maven-1/plugins/trunk/clover/plugin.properties
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/clover/plugin.properties?rev=292410&r1=292409&r2=292410&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/clover/plugin.properties (original)
+++ maven/maven-1/plugins/trunk/clover/plugin.properties Thu Sep 29 02:30:58 2005
@@ -28,6 +28,10 @@
# will be generated).
maven.clover.database = ${maven.clover.build}/database/clover_coverage.db
+# Flush policies. See http://cenqua.com/clover/doc/adv/flushpolicies.html
+maven.clover.flushpolicy = threaded
+maven.clover.flushinterval = 5000
+
# Default ordering for the generated Clover reports.
maven.clover.orderBy = PcCoveredAsc
Modified: maven/maven-1/plugins/trunk/clover/project.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/clover/project.xml?rev=292410&r1=292409&r2=292410&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/clover/project.xml (original)
+++ maven/maven-1/plugins/trunk/clover/project.xml Thu Sep 29 02:30:58 2005
@@ -22,7 +22,7 @@
<pomVersion>3</pomVersion>
<id>maven-clover-plugin</id>
<name>Maven Clover Plugin</name>
- <currentVersion>1.10</currentVersion>
+ <currentVersion>1.11-SNAPSHOT</currentVersion>
<description>The Clover plugin allows measuring test coverage using Clover (http://www.cenqua.com/clover).</description>
<shortDescription>Produce Clover reports</shortDescription>
<url>http://maven.apache.org/reference/plugins/clover/</url>
Modified: maven/maven-1/plugins/trunk/clover/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/clover/xdocs/changes.xml?rev=292410&r1=292409&r2=292410&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/clover/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/clover/xdocs/changes.xml Thu Sep 29 02:30:58 2005
@@ -24,6 +24,8 @@
<author email="evenisse@ifrance.com">Emmanuel Venisse</author>
</properties>
<body>
+ <release version="1.11-SNAPSHOT" date="in SVN">
+ </release>
<release version="1.10" date="2005-08-07">
<action dev="vmassol" type="update" issue="MPCLOVER-46,MPCLOVER-42">Upgrade to Clover 1.3.9.</action>
<action dev="carlos" type="fix" issue="MPCLOVER-44">The
Modified: maven/maven-1/plugins/trunk/clover/xdocs/properties.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/clover/xdocs/properties.xml?rev=292410&r1=292409&r2=292410&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/clover/xdocs/properties.xml (original)
+++ maven/maven-1/plugins/trunk/clover/xdocs/properties.xml Thu Sep 29 02:30:58 2005
@@ -268,6 +268,29 @@
**/clover_coverage.db
</td>
</tr>
+ <tr>
+ <td>maven.clover.flushpolicy</td>
+ <td>Yes</td>
+ <td>
+ The <a href="http://cenqua.com/clover/doc/adv/flushpolicies.html">flush policy</a>
+ that Clover should use to flush coverage data to its database.
+ </td>
+ <td>
+ threaded
+ </td>
+ </tr>
+ <tr>
+ <td>maven.clover.flushinterval</td>
+ <td>Yes</td>
+ <td>
+ When the flush policy is set to <code>interval</code> or
+ <code>threaded</code> this value is the minimum period between
+ flush operations (in milliseconds).
+ </td>
+ <td>
+ 5000
+ </td>
+ </tr>
</table>
</section>
</body>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org