maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: integration tests fail, but not the main build
Date Tue, 25 Jan 2011 10:51:07 GMT
Never ever run the goals

pre-integration-test
integration-test
post-integration-test

directly from the command line

to run integration tests use

mvn verify

the best practice for using the integration-test phase is to not fail
the build in that phase and defer checking the integration test
results until the verify phase

-Stephen

On 25 January 2011 10:42, Simone Tripodi <simonetripodi@apache.org> wrote:
> Hi all,
> I'm sure I missed something, but when running integration tests using
> maven-invoker-plugin, even if integration tests fail, the build
> doesn't :(
> This[1] is the plugin configuration and the related output[2] I can
> get after ran `mvn clean integration-test`
> Any hint would be much more than appreciated, many thanks in advance!
> Simo
>
> [1] http://pastie.org/1495581
> [2] http://pastie.org/1495583
>
> http://people.apache.org/~simonetripodi/
> http://www.99soft.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Mime
View raw message