RE: Maven/Surefire finds no tests to run

2010-11-15 Thread Collins, Vincen
Maybe I can piggy back onto this problem with an ongoing issue we have had with 
the surefire that I have yet to find a solution to - 

http://stackoverflow.com/questions/3842597/maven-reporting-plugins-do-not-execute-if-a-unit-test-failure-occurs

Can anyone help?

Vince

-Original Message-
From: Ron Gross [mailto:r...@delver.com] 
Sent: Saturday, November 13, 2010 1:21 PM
To: users@maven.apache.org
Subject: Maven/Surefire finds no tests to run

The details are here:
http://stackoverflow.com/questions/4174276/maven-surefire-finds-no-tests-to-run

Can anyone help?

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Maven reporting plugins do not execute if a unit test failure occurs

2010-10-05 Thread Collins, Vincen
Using the latest version (2.6) of maven-surefire-report-plugin in the reporting 
section of Maven 2.2.1 does not execute if there is a unit test failure.  I 
can't get any of the plugins in the reporting section of Maven to execute if 
there is a unit test failure.

I found that I can set maven.test.failure.ignore=true here - 
http://jira.codehaus.org/browse/SUREFIRE-247  The problem to this approach is 
now our hudson builds are successful even if there are unit test failures.

I tried to set the reporting plugin maven-surefire-report-plugin to run with 
the build plugins on a phase but I can't figure out how to get this to work.  
Is this a valid approach?

How can I get the Maven reporting plugins to execute if a unit test failure 
occurs?

Vincen Collins


Maven reporting plugins do not execute if a unit test failure occurs

2010-10-05 Thread Collins, Vincen
Using the latest version (2.6) of maven-surefire-report-plugin in the reporting 
section of Maven 2.2.1 does not execute if there is a unit test failure.  I 
can't get any of the plugins in the reporting section of Maven to execute if 
there is a unit test failure.

I found that I can set maven.test.failure.ignore=true here - 
http://jira.codehaus.org/browse/SUREFIRE-247  The problem to this approach is 
now our hudson builds are successful even if there are unit test failures.

I tried to set the reporting plugin maven-surefire-report-plugin to run with 
the build plugins on a phase but I can't figure out how to get this to work.  
Is this a valid approach?

How can I get the Maven reporting plugins to execute if a unit test failure 
occurs?

Vincen Collins