Sometimes, integration tests running with maven-invoker-plugin
need some environment preparation.
There is a good way of doing this setup - use setupIncludes
configuration property to specify set of special integration modules, which will be executed before the others (
http://maven.apache.org/plugins/maven-invoker-plugin/examples/prepare-build-env.html)
That's nice, but sometimes we also need a teardown procedure, to cleanup the environment after all integration tests are finished (whenever they where passed or not).
Is there any way to perform this kind of teardown activity with maven-invoker-plugin
?