So LockJar is finally up and running, a frankenstein of Maven and Bundler.
https://github.com/mguymon/lock_jar
You just need to install the lock_jar gem and require 'lock_jar/buildr'
in your buildfile to include the addon.
https://gist.github.com/2401487
The new task lockjar:lock will generate the Jarfile.lock which contains
all the transitive dependencies for the lock_jar definitions in the
buildfile.
https://gist.github.com/2401497
That is used when compiling and tests. If you change the lock_jar
definitions, you have to re-generate the Jarfile.lock.