Problems accessing maven central repository


(mallappa sajjan) #1

please help for below exception aftter executing the gradle build.

FAILURE: Build failed with an exception.

  • What went wrong: Could not resolve all dependencies for configuration ‘:xi-util:trunk:compile’. > Could not resolve group:com.google.guava, module:guava, version:r09.

Required by:

xi-projects.xi-util:trunk:unspecified

Could not GET ‘http://repo1.maven.org/maven2/com/google/guava/guava/r09/gua va-r09.pom’. Received status code 403 from server: Forbidden ( Forefront TMG den ied the specified Uniform Resource Locator (URL). )

Could not GET ‘https://repository.jboss.org/nexus/content/repositories/rele ases/com/google/guava/guava/r09/guava-r09.pom’.


(Peter Niederwieser) #2

Sounds like your firewall prevents access to Maven Central, or at least to http://repo1.maven.org/maven2/com/google/guava/guava/r09/guava-r09.pom.

PS: Please use a more specific title for posts.


(Urs Reupke) #3

I have the same problem (with a different library), without any firewall configured. Could there be anything else that causes the issue?

It clearly is system-dependent, but I can’t figure out the cause.


(Luke Daley) #4

We are seeing similar reports from people on certain kinds of systems. Looks like there’s some network issue with the central repo. We are investigating.


(Urs Reupke) #5

In case it helps you, the issue does not appear to be limited to gradle. Maven Central just does not respond. Here is wget:

myself@system$ wget http://repo1.maven.org/maven2/org/reflections/reflections/0.9.7/reflections-0.9.7.pom --2012-11-01 18:27:24–

http://repo1.maven.org/maven2/org/reflections/reflections/0.9.7/reflections-0.9.7.pom

Resolving repo1.maven.org… 68.232.34.223

Connecting to repo1.maven.org|68.232.34.223|:80… connected.

HTTP request sent, awaiting response…


(Urs Reupke) #6

Switching to Reflections 0.9.8 solves the issue for me. Green lights on all channels.