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 <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to