Return-Path: Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 2566 invoked by uid 500); 30 Mar 2003 15:30:44 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 2549 invoked from network); 30 Mar 2003 15:30:44 -0000 Received: from 202-44-167-185.nexnet.net.au (HELO adslgateway.multitask.com.au) (202.44.167.185) by daedalus.apache.org with SMTP; 30 Mar 2003 15:30:44 -0000 In-Reply-To: To: "Maven Users List" Cc: "David Zeleznik" Subject: Re: Overriding standard plugin goals in maven.xml MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.0.1 February 07, 2003 From: dion@multitask.com.au Message-ID: Date: Mon, 31 Mar 2003 01:32:01 +1000 X-MIMETrack: Serialize by Router on ADSLGateway/Multitask Consulting/AU(Release 6.0|September 26, 2002) at 31/03/2003 01:32:08 AM, Serialize complete at 31/03/2003 01:32:08 AM Content-Type: text/plain; charset="US-ASCII" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Did you file this as a bug report? -- dIon Gillard, Multitask Consulting Blog: http://www.freeroller.net/page/dion/Weblog Work: http://www.multitask.com.au "David Zeleznik" wrote on 28/03/2003 01:13:33 PM: > Hi All, > > We have a need to override several standard plugin goals for our project > builds. In these cases, providing a pre or post-goal is not enough. For > several weeks, we have been successfully overriding these built-in plugin > goals in our maven.xml scripts. Now, we have discovered that whether our > version of the goal or the plugin version executes depends somehow on the > execution context- we cannot obtain consistent override behavior. Here is a > very simple example of a maven.xml: > > > > The java:compile goal in maven.xml > > > > And here is the behavior we see: > > maven java:compile - our overridden goal in maven.xml executes > maven java:jar - the java:compile goal in the plugin executes > maven clean java:compile - the java:compile goal in the plugin executes > > So, is there anyway to provide a consistent override/replacement for a goal > that has been defined by a plugin? This is really critical for us. We are > currently using b8 and I hope someone can point me in the right direction on > this. Thanks! > > -------------------------------------- > David Zeleznik > ILOG - Changing the rules of business > mailto:dzeleznik@ilog.com > http://www.ilog.com > -------------------------------------- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org