- 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. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@292410 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -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}"
|
||||
|
||||
@@ -28,6 +28,10 @@ maven.clover.build.classes = ${maven.clover.build}/classes
|
||||
# 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
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user