After cloning from Github, running gradle fails with:
$ java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
$ ./gradlew eclipse
Downloading http://services.gradle.org/distributions/gradle-1.8-all.zip
............................................
Unzipping /home/gliptak/.gradle/wrapper/dists/gradle-1.8-all/2kopnp0i5dq014k75fp36m3vd5/gradle-1.8-all.zip to /home/gliptak/.gradle/wrapper/dists/gradle-1.8-all/2kopnp0i5dq014k75fp36m3vd5
Set executable permissions for: /home/gliptak/.gradle/wrapper/dists/gradle-1.8-all/2kopnp0i5dq014k75fp36m3vd5/gradle-1.8/bin/gradle
Download http://dl.bintray.com/content/netflixoss/external-gradle-plugins/nl/javadude/gradle/plugins/license-gradle-plugin/0.6.1/license-gradle-plugin-0.6.1.pom
Download http://repo1.maven.org/maven2/com/mapvine/gradle-cobertura-plugin/0.1/gradle-cobertura-plugin-0.1.pom
Download http://dl.bintray.com/content/netflixoss/external-gradle-plugins/gradle-release/gradle-release/1.1.5/gradle-release-1.1.5.pom
Download http://repo1.maven.org/maven2/org/ajoberstar/gradle-git/0.5.0/gradle-git-0.5.0.pom
Download http://dl.bintray.com/content/gvsmirnov/gradle-plugins/com/github/jengelman/gradle/plugins/shadow/0.8.1/shadow-0.8.1.pom
Download http://repo1.maven.org/maven2/com/mycila/maven-license-plugin/maven-license-plugin/1.10.b1/maven-license-plugin-1.10.b1.pom
Download http://repo1.maven.org/maven2/com/mycila/parent-pom/5/parent-pom-5.pom
Download http://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/2.2.0.201212191850-r/org.eclipse.jgit.ui-2.2.0.201212191850-r.pom
Download http://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit-parent/2.2.0.201212191850-r/org.eclipse.jgit-parent-2.2.0.201212191850-r.pom
Download http://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/2.2.0.201212191850-r/org.eclipse.jgit-2.2.0.201212191850-r.pom
Download http://repo1.maven.org/maven2/jdom/jdom/1.1/jdom-1.1.pom
Download http://repo1.maven.org/maven2/asm/asm/3.3.1/asm-3.3.1.pom
Download http://repo1.maven.org/maven2/asm/asm-parent/3.3.1/asm-parent-3.3.1.pom
Download http://repo1.maven.org/maven2/asm/asm-commons/3.3.1/asm-commons-3.3.1.pom
Download http://repo1.maven.org/maven2/com/mycila/xmltool/xmltool/3.3/xmltool-3.3.pom
Download http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.pom
Download http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/2.0.6/plexus-2.0.6.pom
Download http://repo1.maven.org/maven2/com/jcraft/jsch/0.1.44-1/jsch-0.1.44-1.pom
Download http://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/6/oss-parent-6.pom
Download http://repo1.maven.org/maven2/org/jdom/jdom/1.1/jdom-1.1.pom
Download http://repo1.maven.org/maven2/asm/asm-tree/3.3.1/asm-tree-3.3.1.pom
Download http://dl.bintray.com/content/netflixoss/external-gradle-plugins/nl/javadude/gradle/plugins/license-gradle-plugin/0.6.1/license-gradle-plugin-0.6.1.jar
Download http://repo1.maven.org/maven2/com/mapvine/gradle-cobertura-plugin/0.1/gradle-cobertura-plugin-0.1.jar
Download http://dl.bintray.com/content/netflixoss/external-gradle-plugins/gradle-release/gradle-release/1.1.5/gradle-release-1.1.5.jar
Download http://repo1.maven.org/maven2/org/ajoberstar/gradle-git/0.5.0/gradle-git-0.5.0.jar
Download http://dl.bintray.com/content/gvsmirnov/gradle-plugins/com/github/jengelman/gradle/plugins/shadow/0.8.1/shadow-0.8.1.jar
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'rxjava'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not download artifact 'com.google.guava:guava:11.0.2@jar'
> Artifact 'com.google.guava:guava:11.0.2@jar' not found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 5 mins 50.933 secs
The guava jar does seem to be available at http://repo1.maven.org/maven2/com/google/guava/guava/11.0.2/
Did I miss some required settings?
Thanks
Looks like your maven repo cache is corrupted. Try deleting ~/.m2/ and building again.
Yes, deleting ~/.m2/ cleared the error. Thank you for the pointer.
Is there any other option besides deleting ~/.m2/ ?
just cleaning the folder /guava works for me.
Cleaning up com.google.guava artifacts from ~/.m2 resolved an issue for me
where is this ~/.m2
it should be in your home folder. check your maven settings.xml if you are another folder other than the default
Most helpful comment
Cleaning up com.google.guava artifacts from ~/.m2 resolved an issue for me