> My problem is that things can go wrong in pre. When they do, the build
> fails, and then post doesn't run, and the early parts of pre that
> succeed don't get cleaned up.
pre should fail the build and clean it up itself. It might be
difficult if there are multiple mojo binded to pre-integration-test.
In this case, you need write your own mojo to guarantee the clean up
is executed if failed in the middle of setup.

post only clean up the succeeded pre and integration test, not failed pre :)

-Guo

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

Reply via email to