This content has been marked as final.
Show 4 replies
-
1. Re: Build fail on test errors
alesj Apr 18, 2008 4:53 AM (in response to wolfc)Is this not it?
<configuration> <testFailureIgnore>false</testFailureIgnore> </configuration>
-
2. Re: Build fail on test errors
pgier Apr 18, 2008 9:40 AM (in response to wolfc)Actually "false" is the default behaviour anyway, so you shouldn't have to specify that you want it false. Just don't put it in the surefire config at all and it should fail when there are failures.
Carlo, what do you mean "fails if the workspace is unclean"? Do you mean no local uncommitted changes? -
3. Re: Build fail on test errors
alrubinger Apr 18, 2008 9:45 AM (in response to wolfc)Yes.
Is it possible to further restrict this such that "mvn deploy" is prohibited unless your local changes are committed AND your local wc is current with "svn info"'s "Last Changed Revision"?
Otherwise we're overwriting each other's snapshots. :)
S,
ALR -
4. Re: Build fail on test errors
pgier Apr 18, 2008 10:14 AM (in response to wolfc)This feature is not available as far as I know. But I agree it would be useful. I created a jira issue for it here:
http://jira.codehaus.org/browse/MDEPLOY-76