You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Seva Popov <se...@tvworks.com> on 2008/04/10 02:45:39 UTC

The same SNAPSHOT artifact in two remote repositories

Hi,

I noticed that Maven checks every configured repository according to the
order of the repositories specified in the pom before downloading.  But
I am not sure how it determines which one to download and if it is
deterministic or not. 

Say, I have the same SNAPSHOT artifacts (same artifactId, groupId,
version) in two different remote repositories.

So, will Maven always download the SNAPSHOT from the remote repository
that contains one that is newer or will it download the SNAPSHOT from
the first repository (according to the lookup order) that contains the
SNAPSHOT artifact?

Thanks,
Seva


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