> Did you file this as a bug report?

I just filed it as Maven-356. I was unsure if such goal overriding was
supported or not- it was something we just happened onto as we migrated to
Maven and it seemed to work well for us (until now). Thanks for confirming
that this is supposed to work,

--------------------------------------
David Zeleznik
ILOG - Changing the rules of business
mailto:[EMAIL PROTECTED]
http://www.ilog.com
--------------------------------------


> "David Zeleznik" <[EMAIL PROTECTED]> 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:
> >
> >    <project>
> >      <goal name="java:compile">
> >        <echo>The java:compile goal in maven.xml</echo>
> >      </goal>
> >    </project>
> >
> > 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:[EMAIL PROTECTED]
> > http://www.ilog.com
> > --------------------------------------
> >
> >
> > ---------------------------------------------------------------------
> > 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