Make sure that test failures or errors do not stop the generation of the Clover reports.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113462 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
vmassol
2003-06-04 13:51:26 +00:00
parent 44af8bdd94
commit 369dcc6193
3 changed files with 29 additions and 7 deletions

View File

@@ -100,8 +100,16 @@
<goal
name="clover:html-report"
prereqs="clover:on,test:test"
description="Generate HTML test coverage reports with Clover">
<!-- Make sure that the report is generated whether the tests pass or
not -->
<j:set var="ignoreTestFailureOld" value="${maven.test.failure.ignore}"/>
<j:set var="maven.test.failure.ignore" scope="parent" value="true"/>
<attainGoal name="clover:on"/>
<attainGoal name="test:test"/>
<j:set var="maven.test.failure.ignore" scope="parent"
value="${ignoreTestFailureOld}"/>
<!--
|

View File

@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project>
<extend>${basedir}/../project.xml</extend>
<pomVersion>3</pomVersion>
<id>maven-clover-plugin</id>
<name>Maven Clover Plug-in</name>
<currentVersion>1.2</currentVersion>
<currentVersion>1.2-SNAPSHOT</currentVersion>
<description/>
<shortDescription>Java Project Management Tools</shortDescription>
<url>http://maven.apache.org/reference/plugins/clover/</url>
@@ -14,6 +14,13 @@
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/plugins-build/clover/</connection>
<url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/clover/</url>
</repository>
<versions>
<version>
<id>1.2</id>
<name>1.2</name>
<tag>HEAD</tag>
</version>
</versions>
<developers>
<developer>
<name>dIon Gillard</name>
@@ -36,8 +43,8 @@
<developer>
<name>Vincent Massol</name>
<id>vmassol</id>
<email>vmassol@octo.com</email>
<organization>Octo Technology</organization>
<email>vmassol@pivolis.com</email>
<organization>Pivolis</organization>
<roles>
<role>Java Developer</role>
</roles>

View File

@@ -2,11 +2,18 @@
<document>
<properties>
<title>Changes</title>
<author email="vmassol@octo.com">Vincent Massol</author>
<author email="vmassol@pivolis.com">Vincent Massol</author>
</properties>
<body>
<release version="1.1" date="in CVS">
<release version="1.2" date="in CVS">
<action dev="vmassol" type="update">
Make sure that test failures or errors do not stop the generation
of the Clover reports.
</action>
</release>
<release version="1.1" date="?">
<action dev="vmassol" type="update">
The Clover plugin now depends on version 1.0 of the Clover jar.
</action>