Hi,
>
Curious. Why a profile and not failsafe? I've been steering my teams
towards failsafe, would like to hear your reasons.

The profile has a simple reason, cause if you don't use a profile every time you do a release all integration tests have to run...(that takes time ...sometimes long time to run)...

The point about maven-failsafe-plugin is simple because in most cases it's hard to setup an environment via a test case (may be via mocking etc.)...for example if you test things like creating archives using dependencies etc.

Sometimes it's better to create IT's which run's via failsafe but sometimes it's better to use invoker....that depends...

If you use maven-invoker it's more the real world (maven run) cause maven-invoker really runs maven.....and you will find many things you don't find via a failsafe IT's...For example setting up a repository with defined contents (mrm plugin http://mojo.codehaus.org/mrm-maven-plugin/)..see the versions-maven-plugin as a good example for that...

Kind regards
Karl Heinz Marbaise

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to