I'm not sure it will work since when there is test failures the test phase is not executed completely and stops on the failing goal within that phase.
Regards, Xavier 2012/1/11 Yuvaraj Vanarase <yuvaraj.vanar...@synechron.com> > - One has to write custom goal and attach to the test phase of > maven build life cycle. Goal checks if test failure and do the action. > > http://maven.apache.org/guides/plugin/guide-java-plugin-development.html > > > > > > Regards, > > Yuvaraj > > > > > > -----Original Message----- > From: Xavier S. [mailto:xavier.seign...@gmail.com] > Sent: Tuesday, January 10, 2012 5:45 PM > To: Maven Users List > Subject: How to run a maven goal when there is tests failures? > > > > Hello, > > > > I would like to know if there is a way to execute a goal when there is test > > failures? > > > > Since maven stops its execution (fail fast mode) after encountering a test > > failure, is there any options to launch a goal between that test failure > > and he stop of maven? > > > > Regards, > > Xavier. >