Maven does return an exit code, but I think the m1 batch file does not pass it back. You could look at the m2 batch file where it seems to work (win2k+ only) and make the same changes, then submit it back for future inclusion in m1.
- Brett On 8/11/05, Jamie Bisotti <[EMAIL PROTECTED]> wrote: > Ant provides the ability to use BuildListeners to monitor significant > events in the build life-cycle. Does Maven provide anything similar? > > Basically, I need a good way of determining when a Maven build fails. > I'd rather not just parse the output because this is for our > "official" build environment, which typically keys off either a return > code (which maven.bat does not provide) or the existence of an "error > file". Any ideas? > -- > Jamie Bisotti > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
