On Fri, Nov 6, 2009 at 1:19 PM, Andy Olliver <
andy@...> wrote:
> Hi
> I am attempting to use the new dependency management features in 1.2 - they
> seem like a great idea.
> I am finding 2 problems that I have not been able to solve in a way I am
> happy with. Any pointers would be very much appreciated.
> 1. transitive dependencies
> Dependencies described in BuildConfig.groovy: the dependencies themselves
> are resolved correctly, but no transitive dependencies are picked up. My
> current solution is to define all required dependencies, but this is a lot
> of typing and will be fragile over time.
For transitive resolves to work you have to resolve against a public
repo. If you resolve against a local repo (like grailsHome()) then its
not transitive since the ivy/maven metadata doesn't exist
> 2. snapshot dependencies
> New updates to snapshots jars within my local maven repository are not being
> picked up by Ivy. My current solution is to delete items in the ivy cache. I
> think this is an IVY issue - IVY-93B.
Hmm the new "useOrigin true" setting might help with this, but I don't
know tbh. The issue you refer to doesn't exist. I found this:
http://issues.apache.org/jira/browse/IVY-501But it has been resolved already. There is also this one:
http://issues.apache.org/jira/browse/IVY-940You may want to raise a Grails JIRA with steps to reproduce and I'll
see what we can do
Cheers
> bests
> Andy
--
Graeme Rocher
Head of Grails Development
SpringSource - A Division of VMware
http://www.springsource.com---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email