New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update grails-app/conf/BuildConfig.groovy to declare dependencies #6
Conversation
Update grails-app/conf/BuildConfig.groovy to declare dependencies
Great! I will release it in 0.5.2. |
I face this error when I run the package-plugin, any idea how to solve it: | Downloading: commons-pool-1.4.jar.sha1 | Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
|
The error happened after I pull your changes to my local repo, also I remove the relevant jar files in lib directory |
I saw that once before I'd uncommented mavenCentral() in the plugin BuildConfig.groovy (my application that uses the plugin already has mavenCentral() in the repositories section). Note that http://repo1.maven.org/maven2/com/google/guava/guava/r03/guava-r03.pom does actually exist |
hm... I will try to look for solution. It is blocking issue on my side at the moment. Please let's me know if you have any idea how to fix it. Thanks. |
Just spotted that you were getting a SHA digest mis-match - what happens if you clear out that portion of the Grails ivy cache, do a clean and then try again? What does the grail dependency-report show? |
I did remove the ivy-cache and 2.0.0 directory in .grails directory and Please see the dependency report screen at Cheers, On Fri, Jan 13, 2012 at 6:09 PM, Robin Bramley <
|
Just spotted from running the dependency report that it should also exclude slf4j-api (which gets evicted). My report for guava r03 has: But the guava-parent that was causing your issue isn't included in my ivy report - maybe transitive dependencies of guava should be disabled? If that doesn't work, could always leave guava in lib for the meantime unless someone on the mailing list has some better ideas... |
Rather than replicating the libs that were included, I've simplified the dependencies to:
This also works in my test app... |
Great! I will try it out tomorrow morning. It is 1:10am on my side now. |
I had to exclude the guava dependency in my BuildConfig
My dependency report it's similar to the @limcheekin It's necessary the dependency? |
you can try to test out all the commands especially recommender at http://limcheekin.github.com/mahout-recommender/docs/manual/ref/Command%20Line/recommender.html If everything work fine, you should on the go. |
Patch for issue 4 (also need to remove the 6 jar files from lib).
Have tried this locally on a clone of the repo, compiled, packaged the plugin and then installed into an application and smoke tested it.