Ensure that the Clover plugin will generate the XML report (and only the XML report) when the Dashboard plugin is run. The Clover XML report is required by the Clover aggregators as they extract information from it.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114321 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
vmassol 2003-11-14 23:33:20 +00:00
parent 4860492e02
commit 0e2e329af6
3 changed files with 28 additions and 3 deletions

View File

@ -156,6 +156,20 @@
-->
<goal name="dashboard:run-goals">
<!-- Make sure that the Clover plugin generates only the XML report (as
this is report used by the Clover aggregators to extract information
from). The reason we disable the other reports is to win some response
time. -->
<j:set var="cloverReportXml"
value="${pom.getVariable('maven.clover.report.xml')}"/>
<j:set var="maven.clover.report.xml" value="true" scope="parent"/>
<j:set var="cloverReportHtml"
value="${pom.getVariable('maven.clover.report.html')}"/>
<j:set var="maven.clover.report.html" value="false" scope="parent"/>
<j:set var="cloverReportSwing"
value="${pom.getVariable('maven.clover.report.swing')}"/>
<j:set var="maven.clover.report.swing" value="false" scope="parent"/>
<u:tokenize var="aggregatorNames" delim=",">${maven.dashboard.aggregators}</u:tokenize>
<!-- Property used to remember what goals have already been called -->
@ -200,6 +214,14 @@
</j:forEach>
</j:if>
<!-- Restore Clover plugin properties -->
<j:set var="maven.clover.report.xml" value="${cloverReportXml}"
scope="parent"/>
<j:set var="maven.clover.report.html" value="${cloverReportHtml}"
scope="parent"/>
<j:set var="maven.clover.report.swing" value="${cloverReportSwing}"
scope="parent"/>
</goal>
<!--

View File

@ -5,7 +5,4 @@ maven.xdoc.date=left
maven.xdoc.version=${pom.currentVersion}
maven.checkstyle.header.file = ${basedir}/../../LICENSE.txt
# Required to generate XML clover report
maven.clover.report.xml = true
maven.dashboard.aggregators = csall,cserrors,cswarnings,clovertpc,cloverloc,cloverncloc

View File

@ -8,6 +8,12 @@
<body>
<release version="1.1" date="in CVS">
<action dev="vmassol" type="update">
Ensure that the Clover plugin will generate the XML report (and only
the XML report) when the Dashboard plugin is run. The Clover XML
report is required by the Clover aggregators as they extract
information from it.
</action>
<action dev="vmassol" type="fix">
Do not exclude <code>project.xml</code> in the default
<code>maven.dashboard.excludes</code> list as it is already excluded