On Thursday 13 August 2009 Julien HENRY wrote: > If I understand the failsafe plugin documentation and your suggestion, it > means failing the build during the verify phase instead of test phase. > > So I will try something like: > 1) > configure failsafe plugin to be attached to the test phase instead of > the integration-test one ACK > 2) disable surefire ACK > 3) mvn clean post-integration-test site site-deploy sonar:sonar install > verify Not 'verify' but 'failsafe:verify'. Or configure the failsafe:verify goal to be executed in some phase like verify. > Anyway I can already tell I don't like this solution as it smells too > much a hack for me and it will make it harder for my users to understand > the purpose of all this mess. Well, I'm afraid you either have to live with it, or enhance surefire (which would be the nicest option). > What a pity there is no separate verify goal on the surefire plugin... Maybe you should search surefire's JIRA for related issues. I think I remember a similar discussion on the maven-user list some time ago. hth, - martin