> -----Original Message-----
> From: matthew.hawthorne [mailto:[EMAIL PROTECTED]
> Sent: 09 March 2004 15:50
> To: Maven Users List
> Subject: Re: [reactor] sending e-mails upon project failure
> 
> Vincent Massol wrote:
> > Acutally I work with Dominique. We only need to send emails for now
(we
> > do not need the modificationset Ant task from CC). CC is a good idea
but
> > we'll need to do some research to see how it would work and how to
> > integrate it with our current continuous build. For now, would you
know
> > of a solution to use the reactor and still be able to send emails on
> > build errors?
> >
> > Anyone sending emails while using the reactor?
> 
> 
> This is one of the unfortunate things that was so easy to do in Ant
but
> just doesn't have an
> equivalent in Maven.
> 
> I wrote a shell script that pipes Maven's standard out to a file, then
I
> grep the file for the word
> "failed" and send an email with the content of the file if it matches.
> 
> Not the most elegant solution... but it works.

Ok, I've taken the time to read the maven reactor source code and it
seems there is an easy solution. The jelly property "failedProjects"
contains the list of all project objects that have failed during a
reactor run.

Looks easy... I knew there had to be a simple solution :-)

Thanks
-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to