I found my answer in jbundler . With jbundler, you define an Mvnfile that is similar to a Gemfile , and place your Maven dependencies there.
repository 'http://your-local-repo-here/' jar 'groupId:artifactId', '1.0.0-SNAPSHOT' ...
jbundler even works with locally installed (in your .m2 / repositories) banks, allowing you to integrate with your Java project during development.
Since it integrates with the Bundler, there is no need to use another tool to reduce your dependencies on Maven. Just bundle install; bundle exec something.rb bundle install; bundle exec something.rb . Oddly enough, Maven's dependency resolution happens in bundle exec time, not bundle install , but I can live with it.
Arthur maltson
source share