I simply have a mirror in my settings.xml, which is in my $HOME/.m2
directory.
lsu.edu
Mirror of http://repo1.maven.org/maven2/
http://ibiblio.lsu.edu/main/pub/packages/maven2
central
I didn't have to put a repositories section in my pom.xml.
Richard Allen
Hi Richard,
Thanks - I've followed that guide. I have mirrors defined per that
guide, but when I run a mvn compile and Maven attempts to download deps,
it seems to be doing it all from the central Ibiblio repo.
Do you mind sharing a pom.xml that uses the mirror? Specifically did
you have t
Hi Wayne,
Thanks for the response, I didn't mean to be pushy :)
Maven 2 is very very nice. I've been spending last week learning it,
converting many of my projects over to Maven 2 from POA (Plain Ol' Ant).
I have spent the majority of my time in this conversion from POA to M2
battling with
I've put mirrors in my settings.xml as described here:
http://maven.apache.org/guides/mini/guide-mirror-settings.html
It works well for me, especially the LSU mirror.
Richard Allen
Wayne Fay wrote:
Personally, I don't use settings.xml. So I didn't feel qualified to
answer your email, Ellio
Personally, I don't use settings.xml. So I didn't feel qualified to
answer your email, Elliot.
Instead I use and in my pom.xml file.
It works --- I can see files being downloaded from the various mirrors
etc when I run mvn -U...
checking for updates from dotsrc
checking for updates from ibiblio
Hi Wayne,
Wayne Fay wrote:
Add some of the Maven mirrors to your pom.xml, so you can at least
download the artifacts etc from another site when ibiblio is giving
you problems.
If I have mirrors defined in my settings.xml, do I need to also put them
in the pom.xml (see my earlier posting on g
I've had similar problems at times.
ibiblio is very heavily used during the day by millions of people
around the world. Sometimes http requests and downloads will time-out
completely.
Add some of the Maven mirrors to your pom.xml, so you can at least
download the artifacts etc from another site w
I periodically have unexplained maven crashes for no apparent reason.
I'll run a mvn compile, and it will be unable to locate a dependency
(generally associated with ibiblio), and then 5 minutes later, I'll try
the exact same thing, with no changes, and it will succeed. The flavor
of the day fo