maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: Which goal fetches dependencies?
Date Fri, 01 Oct 2010 19:11:19 GMT
> 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.
>

What that means is that if you bind that plugin goal to the lifecycle but
don't specify any phase (i.e. define it in the plugins section of your pom),
it will bind to that phase by default.

/Anders

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message