You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by rpalache <ra...@oracle.com> on 2009/05/20 20:41:40 UTC
How to exit mvn on first failure.
Hi,
May be a basic question.
Running "mvn clean test -DfailIfNoTests=false" from base directory will run
all the tests and will notify of any failures only after completing all the
tests ( around 60-70mins).
Is there any way (may be a system property -D) to exit the process as soon
as it encounters the first test failure / error ?
Thanks,
Ravi.
--
View this message in context: http://n2.nabble.com/How-to-exit-mvn-on-first-failure.-tp2947866p2947866.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.
Re: How to exit mvn on first failure.
Posted by Donald Woods <dw...@apache.org>.
Have you tried:
-ff,--fail-fast Stop at first failure in reactorized builds
-Donald
rpalache wrote:
> Hi,
>
> May be a basic question.
>
> Running "mvn clean test -DfailIfNoTests=false" from base directory will run
> all the tests and will notify of any failures only after completing all the
> tests ( around 60-70mins).
>
> Is there any way (may be a system property -D) to exit the process as soon
> as it encounters the first test failure / error ?
>
> Thanks,
> Ravi.