"Lakshman Srilakshmanan" <[EMAIL PROTECTED]> writes: > Hi All, > > Could someone please clarify the difference between declaring > > > <mirrorOf>central</mirrorOf>
- mirrorOf of defines a server as a mirror of another server. - Repository (and pluginRepository) define a nem identified repository that will be queried for data. When maven is looking for an artifact, it tries all its repositories, starting from local repo, then user defined repos, then default ones. When a query is issued to a repository, the latter is referenced by its id so there may abe additional indirection layers before the query hit any actual server: - mirrors are used to change the url of a repo - proxies are used to access the external world - servers are used to resolve identification issues Through this mechanism, users can define "abstract" repositories in POMs that will be resolved to real servers according to local policy (ie. settings.xml). Not absolutely sure of all details but I think this correct on the whole. HTH -- OQube < software engineering \ génie logiciel > Arnaud Bailly, Dr. \web> http://www.oqube.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]