Re: preGoal - how to stop the build ??
If the Ant task isn't failing, you can't expect Maven to fail. Look at the tasks 'failonerror' attribute. You may need to modify your Java app to get this working. On 5/5/05, Mark D. Hansen <[EMAIL PROTECTED]> wrote: > goal1, goal2, are ant tasks. I guess the java is failing in a way > that does not throw an exception. Sorry for the stupid question! > > > -Original Message- > > From: Brett Porter [mailto:[EMAIL PROTECTED] > > Sent: Thursday, May 05, 2005 9:56 AM > > To: Maven Users List > > Subject: Re: preGoal - how to stop the build ?? > > > > > > What do you mean by "fails"? It certainly should stop dead if you hit > > or an exception. > > > > - Brett > > > > On 5/5/05, Mark D. Hansen <[EMAIL PROTECTED]> wrote: > > > I have this: > > > > > > > > > > > > > > > > > > > > > If goal1 fails, the processing continues to try to run > > "goal2". How do I make it stop if goal1 fails? Acually, I'd > > like the whole build to stop if any part of the preGoal > > fails. How do I do that? > > > > > > Thanks! > > > > > > > > - > > > 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] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jamie Bisotti Software Engineer Lexmark International, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: preGoal - how to stop the build ??
goal1, goal2, are ant tasks. I guess the java is failing in a way that does not throw an exception. Sorry for the stupid question! > -Original Message- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 05, 2005 9:56 AM > To: Maven Users List > Subject: Re: preGoal - how to stop the build ?? > > > What do you mean by "fails"? It certainly should stop dead if you hit > or an exception. > > - Brett > > On 5/5/05, Mark D. Hansen <[EMAIL PROTECTED]> wrote: > > I have this: > > > > > > > > > > > > > > If goal1 fails, the processing continues to try to run > "goal2". How do I make it stop if goal1 fails? Acually, I'd > like the whole build to stop if any part of the preGoal > fails. How do I do that? > > > > Thanks! > > > > > - > > 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] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: preGoal - how to stop the build ??
What do you mean by "fails"? It certainly should stop dead if you hit or an exception. - Brett On 5/5/05, Mark D. Hansen <[EMAIL PROTECTED]> wrote: > I have this: > > > > > > > If goal1 fails, the processing continues to try to run "goal2". How do I > make it stop if goal1 fails? Acually, I'd like the whole build to stop if > any part of the preGoal fails. How do I do that? > > Thanks! > > - > 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]