maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seva Popov" <seva_po...@tvworks.com>
Subject The same SNAPSHOT artifact in two remote repositories
Date Thu, 10 Apr 2008 00:45:39 GMT
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


Mime
View raw message