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

I think there is a way to distinguish between builds where you want to
not ignore and site generation when you want to ignore in order to
generate the site.  I am currently not using it but if you come across
the solution it would be great if you could share it here.

Andreas



-----Original Message-----
From: Wim Deblauwe [mailto:[EMAIL PROTECTED] 
Sent: Saturday, May 27, 2006 11:20 AM
To: Maven Users List
Subject: [m2] Surefire report when tests fail

Hi,

when I run mvn site, the surefire report is not generated when my unit
tests
fail. How can I get the report?

I added the surefire-report-maven-plugin to the reporting section of my
pom.

regards,

Wim

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

Reply via email to