Added a feature request. Some of my projects have such a rats nest of dependencies that it can be hard just to list them. I wish there was any easy way to override a transitive dependency in the Buildr file.
Thanks for the explanation and I'll either list everything out or come up with a work around for this artifact. Cheers, Chris Dean Antoine Toulme <[email protected]> writes: > The pom you downloaded used ${groupId} to mention the group id of the > dependency, and that's not well supported by Buildr. > Transitive dependency resolution is a weak spot of Buildr, and you should be > better off listing your dependencies... or fixing this problem. > > Feel free to open an enhancement request. > <dependency> <groupId>${groupId}</groupId> <artifactId>ftplet-api > </artifactId> </dependency> > * > * > On Tue, Nov 9, 2010 at 17:59, Chris Dean <[email protected]> wrote: > >> I'm trying to use the cascading library in my Clojure project, but >> Buildr can't follow the transitive dependency tree. Maybe an error in >> parsing. Any advice appreciated, because I'm stuck. >> >> This is on Buildr 1.4.2. >> >> Here is a Buildfile to replicate the issue: >> >> repositories.remote << "http://repo1.maven.org/maven2" >> repositories.remote << " >> http://repository.jboss.org/nexus/content/groups/public" >> repositories.remote << "http://conjars.org/repo" >> >> deps = transitive ["cascading:cascading-core:jar:1.1.3"] >> >> And the error: >> >> Downloading org.apache.ftpserver:ftpserver-core:pom:1.0.0 >> Downloading >> http://repo1.maven.org/maven2/org/apache/ftpserver/ftpserver-core/1.0.0/ftpserver-core-1.0.0.pom >> ftpserver-core-1..: 100% |................................| >> 5.7KB/5.7KB Time: 00:00:00 >> Downloading :ftplet-api:pom:1.0.0 >> Buildr aborted! >> RuntimeError : Failed to download :ftplet-api:pom:1.0.0, tried the >> following repositories: >> http://repo1.maven.org/maven2/ >> http://repository.jboss.org/nexus/content/groups/public/ >> http://conjars.org/repo/ >> /Users/ctdean/tmp/missing/Buildfile:5:in `inject' >> /Users/ctdean/tmp/missing/Buildfile:5 >> (See full trace by running task with --trace) >> >> Cheers, >> Chris Dean >>
