On 4/12/06, Kevin Carroll <[EMAIL PROTECTED]> wrote:
>
> Is there any way to override a phase?  I am building a jar file that needs
> to pull in
> dependencies so I have a custom ant task (classdepandjar) that does
> it.  The maven
> lifecycle still executes the default package phase and builds the jar for
> the project.  I
> don't need that jar and I would like to just eliminate it from being
> built.


Instead of "turning off" Maven's jar generation, perhaps you could use the
dependency plugin to pull in your external dependencies, and let Maven build
the jar. See:

http://mojo.codehaus.org/dependency-maven-plugin/

--
Martin Cooper


Thanks...Kevin Carroll
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to