What version of Maven are you using? I remember reading something about Maven not returning a failure code, but I think that was back around beta8.
How are you invoking Maven from Anthill? I have Anthill run an Ant script, which then invokes com.werken.forehead.Forehead in a <java> element. If you do this, too, make sure you have failonerror="true" in <java>. Otherwise the Ant task will appear successful even though the build/tests failed. Jeff On Wed, 13 Aug 2003, at 14:31:20 [GMT -0400] Nelson, Scott (MAN - Corporate) wrote: > Hey everybody, > I am new to maven and I am in the process of setting up a continuous > integration environment with anthill using maven. The problem I am having > is maven doesn't seem to return anything other than a 0 for a return code > therefore I always get a build success regardless of the output from the > executed the maven goals. > I was wondering does maven supply different return codes for a build success > and build failure? > Do I just have to set the property like maven.test.failure.ignore to false? > If this property is set, will maven return a 1 when a build failure is > thrown or some other non-zero value? Anthill is looking for a 1 to signify > that the build failed. > Any help in understanding this would be greatly appreciated. > Thanks, > Scott > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
