PR: MPCLOVER-50

Add support for span attribute.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@373899 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl 2006-01-31 20:06:22 +00:00
parent 1829e200dd
commit 2c38a0a601
4 changed files with 19 additions and 4 deletions

View File

@ -345,7 +345,7 @@
<attainGoal name="clover:on"/>
<ant:clover-report>
<ant:clover-report span="${maven.clover.span}">
<ant:current outfile="${maven.build.dir}/clover.xml" alwaysReport="true"
title="${pom.name} - ${pom.currentVersion}">
<ant:format type="xml" orderBy="${maven.clover.orderBy}">
@ -377,7 +377,7 @@
<j:set var="cloverReportDirectory" value="${maven.docs.dest}/clover"/>
<ant:mkdir dir="${cloverReportDirectory}"/>
<ant:clover-report>
<ant:clover-report span="${maven.clover.span}">
<ant:current outfile="${cloverReportDirectory}" alwaysReport="true"
title="${pom.name} - ${pom.currentVersion}">
@ -440,7 +440,7 @@
<j:set var="cloverPDFReportFile" value="${cloverReportDirectory}/clover.pdf"/>
<ant:mkdir dir="${cloverReportDirectory}"/>
<ant:clover-report>
<ant:clover-report span="${maven.clover.span}">
<ant:current outfile="${cloverPDFReportFile}" alwaysReport="true"
title="${pom.name} - ${pom.currentVersion}" summary="true">
<ant:format type="pdf" orderBy="${maven.clover.orderBy}">
@ -585,7 +585,7 @@
<goal name="clover:save-history" prereqs="clover:init"
description="Record a history point">
<ant:clover-historypoint historyDir="${maven.clover.history.dir}"/>
<ant:clover-historypoint historyDir="${maven.clover.history.dir}" span="${maven.clover.span}"/>
</goal>

View File

@ -35,6 +35,9 @@ maven.clover.flushinterval = 5000
# Controls whether the initstring parameter is treated as a relative path or not.
maven.clover.relative = false
# Specifies how far back in time to include coverage recordings.
maven.clover.span = 0s
# Default ordering for the generated Clover reports.
maven.clover.orderBy = PcCoveredAsc

View File

@ -25,6 +25,7 @@
</properties>
<body>
<release version="1.11-SNAPSHOT" date="in SVN">
<action dev="ltheussl" type="add" issue="MPCLOVER-50">Add support for span attribute.</action>
<action dev="ltheussl" type="add" issue="MPCLOVER-45">Allow to specify the "relative" property for clover-setup.</action>
<action dev="ltheussl" type="update" issue="MPCLOVER-52">Upgrade to Clover 1.3.11.</action>
<action dev="vmassol" type="update" issue="MPCLOVER-53">Use new clover license.</action>

View File

@ -301,6 +301,17 @@
false
</td>
</tr>
<tr>
<td>maven.clover.span</td>
<td>Yes</td>
<td>
Specifies how far back in time to include coverage recordings from since the last Clover build.
See <a href="http://www.cenqua.com/clover/doc/adv/spans.html">Using Spans</a>.
</td>
<td>
0s
</td>
</tr>
</table>
</section>
</body>