[
http://jira.codehaus.org/browse/MNG-2142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=270190#comment-270190
]
Christopher Barrow commented on MNG-2142:
-----------------------------------------
Actually there is a good solution which is to use the failsafe plug-in. This is
designed for integration tests and handles this case very well. The test
failures are discovered in the verify phase so the post-integration-test phase
is always executed. So I would suggest it's not worth fixing this bug.
> Forcing execution of the post-integration-test phase
> ----------------------------------------------------
>
> Key: MNG-2142
> URL: http://jira.codehaus.org/browse/MNG-2142
> Project: Maven 2 & 3
> Issue Type: Improvement
> Components: Integration Tests
> Affects Versions: 2.0.3
> Reporter: Vincent Massol
> Fix For: Issues to be reviewed for 3.x
>
>
> The post-integration-test phase needs to always be called even in case of
> tests failures in the integration-test phase.
> For example when using Cargo the container may be left running if the
> post-integration-test phase is not called...
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira