http://wiki.codehaus.org/maven/EmailTestReports

I think you will also need to ignore failures.

In the end, I found it better to use cruise control and let it fail
and mail when the tests fail.

- Brett


On Fri, 26 Nov 2004 14:05:14 +0100, Nicolas Chalumeau
<[EMAIL PROTECTED]> wrote:
> The nagEmailAddress element in the pom is use by CC to send email when
> build fail
> 
> I don't think you can send an email in a postGoal of test as if there
> is test failure the build stop. The solution to don't stop the build
> when there are test failure is probably to set the
> maven.test.failure.ignore to true and check maven.test.failure value
> to send email or not.
> 
> Nicolas,
> 
> 
> 
> 
> On Fri, 26 Nov 2004 20:26:37 +0800, Corey Scott <[EMAIL PROTECTED]> wrote:
> > This may not be the reply you are after, but I personally have found
> > CruiseControl extremely useful for this kind of thing.
> >
> > -Corey
> >
> > On Fri, 26 Nov 2004 04:19:13 -0800 (PST), rajas kumar
> >
> >
> > <[EMAIL PROTECTED]> wrote:
> > > I want to send a mail if compilation fails.We have a several modules. I 
> > > am using the technique of module level compilation by the help of maven 
> > > reactor. If any module fails i want to send mail to the particular module 
> > > owner. I am only able to send mail if testcase fails. How can is send 
> > > mail if compilation is failed.
> > >
> > >                    pcm--!
> > >                            !
> > >                            !--admin
> > >                            !--build
> > >                            !--user
> > >                            !--people
> > >                            !-util
> > >                            !-web
> > >
> > > Any boby plz help in this issue
> > >
> > > thanks&&regards
> > > praveen
> > >
> > >
> > > ---------------------------------
> > > Do you Yahoo!?
> > > Yahoo! Mail - Helps protect you from nasty viruses.
> > >
> >
> > ---------------------------------------------------------------------
> > 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]

Reply via email to