I installed an instance of proximity (http://
proximity.abstracthorizon.org/index.html) for my team to help deal
with flaky external repositories. It's a pretty nice tool, and it
makes the download phase very fast when the projects are found in the
cache.
Also, like Jason says, once I trimmed down the number of repositories
used it also made general build stability increase a notch or two.
I'm not sure about the 4.1 branch, but all the 4.0 branch of activemq
seems need is a single non-snapshot maven2 mirror. You can even chop
out the entire plugin repository section (those cause it to pull from
snapshot repos so it can cause flakiness at times).
John
On Aug 11, 2006, at 1:43 AM, Jason Dillon wrote:
Might be something else going on...
I have been using bootstrap in Geronimo quite often now, and the
first thing it does is nuke ~/.m2/repository to ensure that a clean
install will work.
Granted sometimes m2 freakes... but it should be able to dl
everything in one shot if the planets align and the gods favor you.
I'd recommend limiting your dependence on external repos as much as
possible... where possible that is. Defs limit the number of
repos, and with m2, try to avoid using m1 repos... and where needed
only list that m1 repo in specific modules that need m1 artifacts.
You *should* be able to get a clean build from one mvn... if this
ends up painful for folks lemme know and I can peek at your build.
Cheers,
--jason
On Aug 11, 2006, at 1:17 AM, James Strachan wrote:
On 8/11/06, Jason Dillon <[EMAIL PROTECTED]> wrote:
Huh? Sounds kinda fishy to me... m2 should be able to download
everything in one shot... assuming that network connectivity is
good.
Are you guys seeing this often?
Yes - I've seen this quite a bit. its usually the repo that hosts a
jar having a bad day. Sometimes takes a few goes to get everything.
e.g. if you trash your entire ~/.m2/repository and do a build it
often
takes a couple of goes.
--
James
-------
http://radio.weblogs.com/0112098/