You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martin Skopp <sk...@riege.de> on 2003/06/25 08:16:17 UTC

Re: Maven run stops on compile error

On Wed, 2003-06-25 at 01:19, Oliver Dohmen wrote:
> In my current project i`ve tried to compile all sources 
> via Cron and want to generate and publish the site 
> to the intranet every night. 

Same do I here...

> Or is it possible to mail the project team on broken builds ? 

I do a simple commandline workaround:

maven mygoal > logfile
mail -s "maven build report" developer@mydomain < logfile

cu
-- 
Martin Skopp
Riege Software International GmbH
Support: mailto:maint@riege.com, Information: http://www.riege.com

This email is intended to be viewed with a nonproportional font.
Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
Fingerprint: 1970 C78D 9A1D 99FA 5CE4  5C0D 29E6 6A95 3D40 27B5


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven run stops on compile error

Posted by Jon Strayer <jo...@strayer.net>.
** Reply to message from Martin Skopp <sk...@riege.de> on
25 Jun 2003 08:16:17 +0200

> On Wed, 2003-06-25 at 01:19, Oliver Dohmen wrote:
> > In my current project i`ve tried to compile all sources 
> > via Cron and want to generate and publish the site 
> > to the intranet every night. 
> 
> Same do I here...
> 
> > Or is it possible to mail the project team on broken builds ? 
> 
> I do a simple commandline workaround:
> 
> maven mygoal > logfile
> mail -s "maven build report" developer@mydomain < logfile

Cursecontrol supports Maven now.  It has buil in support
for sending email reports on build failures.

-- 



"Perhaps a sedative?" - Slappy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven run stops on compile error

Posted by Oliver Dohmen <od...@luusa.org>.
Hi, 
thanks for the answers, but is it possible to evaluate if a goal fails ? 

If java:compile fails it stops the complete maven run ! 

When I am in the situation to call several subproject builds in one maven 
script all will fail if one fail. Right ?!

I want to have something like :
 
  if ( java:compile==ok )  {
     <attainGoal name="test:test"/>
  }else{
    <!-- 
    analyse compile errors,
    find guilty developers :),
    generate report, 
    send reports. --> 
  }
  
  I hope you understand what i mean. 

  many thanks, odo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org