maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Edelson <justinedel...@gmail.com>
Subject Re: Which goal fetches dependencies?
Date Fri, 01 Oct 2010 18:46:14 GMT
On 10/1/10 2:32 PM, Phillip Hellewell wrote:
> On Fri, Oct 1, 2010 at 12:11 PM, Justin Edelson <justinedelson@gmail.com> wrote:
>> Dependencies are resolved by Maven whenever a Mojo's metadata indicates that dependency
resolution is a prerequisite to Mojo execution. This can happen in any phase.
> 
> Is there any way to just do just the dependency resolution without
> doing the rest of the phase?
> 
> Phillip

If you want to resolve dependencies before the compile phase, write a
Mojo that has
@requiresDependencyResolution and then bind that goal to a phase before
compile.

Justin

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


Mime
View raw message