On Wed, Jun 19, 2013 at 2:14 PM, Thomas Broyer <t.bro...@gmail.com> wrote:

> With copy, you declare the needed artifact in the plugin configuration.
> From Maven's PoV there's no dependency between the module that copies and
> one being copied.


Right.  OK.


> That means Maven can choose to build those two modules in
> any order.


Sure.  Oh, I see; I would have thought this would be obvious.


> If copied is built before copier, all is well, copied will be
> resolved from the reactor. However, if copier is built first, it'll pick
> copied from the local cache (or remote repo) and won't have the proper
> version/content (assuming SNAPSHOT, of course).
>

I see.


> All of this us avoided with copy-dependencies, because it uses the module's
> dependencies, so copier *depends* on copied and they'll always be built in
> the correct order.
>

Nice; thanks for the clarification.

Best,
Laird

-- 
http://about.me/lairdnelson

Reply via email to