It looks like this particular problem is resolved now. See below.
On Fri, Dec 11, 2009 at 1:24 PM, Elliot Metsger <[email protected]> wrote:
> Not being familiar with all of the repositories or dependencies of fedora,
> it may be worth the cost of fedora/duraspace running a proxy which
> aggregates and hosts these artifacts.
In this case, the problem was one of excluding bad m2 repositories
from the list of repositories to check for. The dependencies turn out
to be pretty reliably/quickly available in public repos (mostly
central), it's just that maven doesn't seem to give us much control of
which repositories to actually look at. And if the first one it tries
responds in a certain way, we get a bum artifact and the build fails +
the local repo gets left in a bad state.
> On Dec 11, 2009, at 12:48 PM, Andrew Woods wrote:
>> Thanks, Chris.
>> DuraCloud also has dependencies through maven-repository.dev.java.net
>> and has intermittently suffered from its flakiness. Although the
>> repository has thus far always come back online, it would save us all
>> a headache if we avoided it altogether.
>> Andrew
I just tried clearing the problematic dependencies out of the CI
server's local repo, getting rid of the /etc/hosts hack, and putting
the following in the root pom:
<repository>
<id>java.net</id>
<url>https://maven-repository.dev.java.net/nonav/repository</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>false</enabled></snapshots>
</repository>
That seems to have done the trick...the Bamboo build is still running
but is well past the compilation stage now
Note: the following was handy for finding the references to the bum
repo in the poms:
cd ~/.m2/repository
grep -r maven-repository.dev `find .|grep pom$`
...from that it was possible to verify that the id used to refer to
the URL of the bad repo was consistently "java.net" in all referencing
poms (axis2 v1.4.1, castor 1.3.0.1, and log4j 1.2.15 btw).
- Chris
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers