You should use the failsafe-plugin, which has separate goals for performing
the tests and verifying the outcome. That will make it possible to stop your
app server before verifying. The plugin site describes this quite well.

/Anders

On Fri, Mar 25, 2011 at 15:21, Asmann, Roland <roland.asm...@adesso.at>wrote:

> Hi all,
>
> I am using Maven 2.2.1 and I need to have my build run until the very
> end because I am running integration tests that start and stop my JBoss.
> Currently, when a test has a failure/error, the build quits and my JBoss
> keeps on running. I tried adding the '-fae' parameter, but this does not
> seem to work...
>
> I also can't use '-Dmaven.test.failure.ignore' and
> '-Dmaven.test.error.ignore', since they will have Maven report 'BUILD
> SUCCESSFUL', which is obviously wrong!
>
> Can someone tell me if the '-fae' not working is a bug? And if so, is
> there a way I can work around it?
>
> Thanks,
>
> --
> Roland Asmann
> Senior Software Engineer
>
> adesso Austria GmbH
> Floridotower 26. Stock              T +43 1 2198790-27
> Floridsdorfer Hauptstr. 1           F +43 1 2198790-927
> A-1210 Wien                         M +43 664 88657566
>                                    E roland.asm...@adesso.at
>                                    W www.adesso.at
>
> -------------------------------------------------------------
>             >>> business. people. technology. <<<
> -------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to