geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <>
Subject Re: Ignore errors from Maven plugin
Date Tue, 07 Mar 2006 19:05:07 GMT

On Mar 7, 2006, at 10:49 AM, David Carew wrote:

> I'm not that familiar with Maven (so  this might be a general  
> question)  but I'm trying to build and deploy my project using the  
> Geronimo Maven plugin (for the deployment part). I'm running these  
> commands:  stop, undeploy, distribute, start  (in that order).   
> Before my project is initially deployed,  stop will  cause errors   
> and Maven terminates.  Is there a way to configure Maven to ignore  
> the errors from stop and undeploy  so that I don't have to find  
> another way to deploy the very first time ?

Not that I know of.  I suggest you use more goals: one to distribute  
+ start, one to stop + undeploy, and possibly a combination goal. I  
suppose we could add a flag to prevent maven errors if the stop/ 
undeploy don't have a target...

david jencks

View raw message