maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <bpor...@f2network.com.au>
Subject RE: [reactor] sending e-mails upon project failure
Date Tue, 09 Mar 2004 22:07:39 GMT
Vincent,

Yes, I added this last year for exactly this purpose... And promptly
switched to cruise control afterwards :)

- Brett

> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@pivolis.com] 
> Sent: Wednesday, 10 March 2004 5:26 AM
> To: 'Maven Users List'
> Subject: RE: [reactor] sending e-mails upon project failure
> 
> 
> 
> > -----Original Message-----
> > From: matthew.hawthorne [mailto:matth@apache.org]
> > 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message