So I jumped straight into the fire and have created a basic dependency resolver using Aether for Buildr.
https://github.com/mguymon/buildr-resolver
It will take an array of dependencies and find their dependencies, returning the total of all dependencies. For example, if you pass it ["org.apache.activemq:activemq-spring:jar:5.4.2"] it returns an array of "org.apache.activemq:activemq-spring:jar:5.4.2" and its 32 dependencies.
Not surprising, it still needs work. It requires JRuby but I should be able to get it to work with RJB for vanilla Ruby support. Aether is downloading dependencies on its own, which needs to be disabled, so buildr can handle that part.
buildr-resolver may cause conflicts due to the jars required to bootstrap Aether. Needs a way to load Aether without polluting the project runtime. Bootstrap deps - https://github.com/mguymon/naether/blob/master/src/main/java/com/slackworks/Bootstrap.java
I made a simple wrapper for Aether that buildr-resolver uses. It does some juggling to make Maven and Gem play nice - https://github.com/mguymon/naether
-------- Original Message -------- Subject: Dependency resolution with Maven's Aether Date: Thu, 24 Feb 2011 15:04:02 -0500 From: Michael Guymon <[email protected]> To: [email protected] Has anyone looked into using Maven 3's new Aether framework for handling dependency resolution in Buildr? Then lazy developers like me could only have to define a few jar dependencies and Buildr would be able to figure out the rest. I have only done a little bit of reading on the subject and am curious if anyone has any insight if it is plausible and 'a good idea'. thanks, Michael
