The mini guide (Using Mirrors for Repositories) shows how to set up
mirrors of "central" via the settings.xml file (like below):
<mirrors>
<mirror>
<id>ibiblio.org</id>
<url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
<mirrorOf>central</mirrorOf>
<!-- United States, North Carolina -->
</mirror>
...
However, I prefer to put this setting in a "parent" pom.xml which is the
parent of all our maven projects. This way, if I need to change mirrors,
all I need to do is deploy a new parent pom and everyone will get the
changes and start hitting the new mirror of central.
That said, is there a way to specify a mirror of "central" in a pom.xml,
rather than settings.xml?
(I couldn't find this in any of the guides, but if it's there, please
point me to it).
Thanks,
Dan
--------------------------------------------------
This e-mail and any files transmitted with it may contain privileged or
confidential information.
It is solely for use by the individual for whom it is intended, even if
addressed incorrectly.
If you received this e-mail in error, please notify the sender; do not
disclose, copy, distribute,
or take any action in reliance on the contents of this information; and delete
it from
your system. Any other use of this e-mail is prohibited.
Thank you for your compliance.
--------------------------------------------------