You can configure the surefire plugin like this

<plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
                    <testFailureIgnore >true</testFailureIgnore >
             </configuration>
 </plugin>

HTH

Tung Nguyen

----- Original Message ----
From: Jon SlinnHawkins <[EMAIL PROTECTED]>
To: users@maven.apache.org
Sent: Thursday, August 3, 2006 10:18:31 AM
Subject: SureFire (and surefire-reports) plugins

Hi All,

Is there any way of stop a failed surefire unit from immediatley failing a 
maven build, and allowing it to go on to create the report using the 
surefire-report plugin.  Then, after the reports hasve been created fail the 
build.

I want to see reports of failed tests....

Is this possible... Can you switch off halt-on-failure for the Surefire 
plugin, and switch it on for the report plugin ?

Thanks

Jon 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Reply via email to