nag is read by some plugins, but not used by maven directly yet. You can use the exit code if you are wrapping the execution.
If you want to detect the success/failure of maven from inside maven, you're best to use the reactor and pick up the failed projects from that, then send a mail based on that. Refer to the maven jelly tag library for parameters to the reactor. Personally, I use cruise control to handle the whole thing. Down the track, there are other CI solutions on the way that are Maven centric. - Brett Quoting Jesper Linvald <[EMAIL PROTECTED]>: > > Thank you Brett - I wont go there then :) > > Your answer begets the following question though: is there then a way to ask > maven whether the build was a success or not? > I want to create a build report and send it by mail and it seems that e.g. > the nagEmailAddress haven�t really been used/implemented anywhere... > > Any ideas? > > Regards Jesper > > >-----Original Message----- > >From: Brett Porter [mailto:[EMAIL PROTECTED] > >Sent: 14. juni 2004 15:52 > >To: Maven Users List > >Subject: Re: Direct maven output > > > >Sorry, I reread this, and realise you are probably trying to catpure output > >for > >a segment of the build inside a plugin. That's not something that I think > >exists > >at the moment, although it may be possible by writing a Jelly tag that > >redirected the XMLOutput... (you probably don't want to go there :) > > > >Cheers, > >Brett > > > >Quoting Brett Porter <[EMAIL PROTECTED]>: > > > >> For Maven 1.0, the only way to do this is to write your own > >log4j.properties > >> and > >> override it (refer to log4j documentation). > >> > >> That will get 95% of the output - but there is still some system.* in > >there. > >> > >> - Brett > >> > >> Quoting Jesper Linvald <[EMAIL PROTECTED]>: > >> > >> > Hello all, > >> > > >> > I am writing a custom maven plugin and would like to know how I can > >> > redirect build output to a file. > >> > > >> > Basically i need to log/redirect what usually get sent to the > >console... > >> > > >> > Is there a way to do this in Jelly or in another way? > >> > > >> > Regards > >> > > >> > Jesper Linvald > >> > MAERSK DATA TRANSPORT > >> > Tel no.: +45 3911 1891 > >> > 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] > > > > > >--- > >Incoming mail is certified Virus Free. > >Checked by AVG anti-virus system (http://www.grisoft.com). > >Version: 6.0.693 / Virus Database: 454 - Release Date: 31-05-2004 > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.693 / Virus Database: 454 - Release Date: 31-05-2004 > > > > --------------------------------------------------------------------- > 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]
