maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Hellewell <ssh...@gmail.com>
Subject Re: Which goal fetches dependencies?
Date Fri, 01 Oct 2010 19:00:02 GMT
On Fri, Oct 1, 2010 at 12:36 PM, Wayne Fay <waynefay@gmail.com> wrote:
>> Is there any way to just do just the dependency resolution without
>> doing the rest of the phase?
>
> dependency:go-offline perhaps?
> http://maven.apache.org/plugins/maven-dependency-plugin/go-offline-mojo.html

Sweet, that worked great!  Also, it looks like dependency:resolve
works too.  Not sure why I didn't think of that earlier.

What I still don't quite understand is the documentation for
dependency:resolve says that it binds by default to the
generate-sources phase, yet when I do a mvn generate-sources, it does
not fetch the dependencies to my local repository.

Phillip

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


Mime
View raw message