sending mail if compailation fails

2004-11-26 Thread rajas kumar
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

Re: sending mail if compailation fails

2004-11-26 Thread Corey Scott
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 > usin

Re: sending mail if compailation fails

2004-11-26 Thread Nicolas Chalumeau
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

Re: sending mail if compailation fails

2004-11-26 Thread Brett Porter
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 nagEma

Re: sending mail if compailation fails

2004-11-26 Thread Nicolas Chalumeau
Brett Porter wrote: >http://wiki.codehaus.org/maven/EmailTestReports > > I never see this link ! That's the solution I "try" to explain in my precedante mail I think ! >I think you will also need to ignore failures. > > Doesn't maven.test.failure.ignore ignore test failure ? >In the end, I