Sounds like a job for the build management system itself. In Anthill we can tell job steps to run if the previous step failed.
________________________________ Curt Yanko | Continuous Integration Services | UnitedHealth Group IT Making IT Happen, one build at a time, 600 times a day > -----Original Message----- > From: Stephen Connolly [mailto:[email protected]] > Sent: Tuesday, December 14, 2010 9:07 PM > To: Maven Users List > Subject: Re: Use error to start a new process? > > antrun anyone > > On 14 December 2010 17:15, Wayne Fay <[email protected]> wrote: > >> Is there any possibility to configure the > exec-maven-plugin (or any > >> other existing plugin) in a way, that I can catch the maven build > >> error of the install-execute-process and use is as a trigger, that > >> starts the re-install-process? > > > > I doubt this functionality exists in any current plugin. But take a > > look at the failsafe plugin and maybe you'll get some ideas > on how you > > can modify the exec-m-p to accommodate this requirement. > > > > Otherwise I'd just handle this in a shell script/batch file > that calls > > Maven, checks the results, and then calls Maven again if necessary. > > > > Wayne > > > > > --------------------------------------------------------------------- > > 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] > > This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
