Skip to content

Instantly share code, notes, and snippets.

@andywer
Created December 11, 2013 15:57
Show Gist options
  • Save andywer/7912933 to your computer and use it in GitHub Desktop.
Save andywer/7912933 to your computer and use it in GitHub Desktop.
And a new problem... Related to Gradle + Maven
andy@ubuntu-vostro:~/workspace/index-vivus$ ./railscmd rails s
Error listing versions of com.google.guava:guava:13.+ using class org.gradle.api.internal.artifacts.repositories.resolver.MavenVersionLister$1. Will attempt an alternate way to list versions. This behaviour has been deprecated and is scheduled to be removed in Gradle 2.0
Error listing versions of log4j:log4j:1.2.+ using class org.gradle.api.internal.artifacts.repositories.resolver.MavenVersionLister$1. Will attempt an alternate way to list versions. This behaviour has been deprecated and is scheduled to be removed in Gradle 2.0
FAILURE: Build failed with an exception.
* Where:
Build file '/home/andy/workspace/index-vivus/frontend/build.gradle' line: 40
* What went wrong:
A problem occurred evaluating project ':frontend'.
> Could not resolve all dependencies for configuration ':backend:compile'.
> Could not resolve com.google.guava:guava:13.+.
Required by:
index_vivus:backend:0.1
> Failed to list versions for com.google.guava:guava:13.+.
> Could not list versions using M2 pattern 'http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]'.
> Could not GET 'http://repo1.maven.org/maven2/com/google/guava/guava/'.
> repo1.maven.org
> Could not resolve log4j:log4j:1.2.+.
Required by:
index_vivus:backend:0.1
> Failed to list versions for log4j:log4j:1.2.+.
> Could not list versions using M2 pattern 'http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]'.
> Could not GET 'http://repo1.maven.org/maven2/log4j/log4j/'.
> repo1.maven.org
* 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: 51.304 secs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment