You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by youhaodeyi <yo...@gmail.com> on 2008/04/09 14:59:43 UTC
How can I set the order of repository?
Maven will try to download the dependencies from remote repository then local
repository. I want Maven to check local repository first then remote
repository. How can I do this?
--
View this message in context: http://www.nabble.com/How-can-I-set-the-order-of-repository--tp16585354s177p16585354.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: How can I set the order of repository?
Posted by ni...@planet.nl.
This is configurable for each repository for releases and snapshots. Take a look at [1] and the updatePolicy.
Hth,
Nick S.
[1] http://maven.apache.org/ref/2.0.7/maven-model/maven.html#class_releases
-----Original Message-----
From: youhaodeyi [mailto:youhaodeyi@gmail.com]
Sent: Wed 4/9/2008 14:59
To: users@maven.apache.org
Subject: How can I set the order of repository?
Maven will try to download the dependencies from remote repository then local
repository. I want Maven to check local repository first then remote
repository. How can I do this?
--
View this message in context: http://www.nabble.com/How-can-I-set-the-order-of-repository--tp16585354s177p16585354.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org