Has anyone looked at the Sonatype Aether plugin(http://aether.sonatype.org/)? I've been following along with Clojure's Leiningen project, and they are moving their own system to using Aether for dependency management, as it handles all of the Maven settings, proxies, repository/dependency resolution, etc. that they've hacked together using Maven Ant Tasks currently. If all that is needed for Bundler integration is a dependency resolution mechanism for Java libs, I would think Aether could work, but I'm speculating quite a bit here.
-Nick Klauer On Mon, Nov 14, 2011 at 21:13, kristian <m.krist...@web.de> wrote: > hi, > > first I need to express my point of view about jruby and > classloaders/classpath, etc and that I did in blog post of mine: > > > http://blog.mkristian.tk/2011/09/jruby-and-rubygems-and-javaclassloader.html > > sonatype.org worked on a nexus plugin which can offer a maven > repository as rubygems-repository. the plan was to offer this for > maven-central but it is not sure whether that ever materializes. but > the plugin works (might run into inode problems on ext3 filesystem or > maybe other FS when mirroring): > > https://github.com/sonatype/nexus-ruby-support > > in case you want to submit an issue do it on my fork > https://github.com/mkristian/nexus-ruby-support/issues > > maven-gem support in jruby is not really ready for production: > > * any update of rubygems will wipe it out completely > * dependency resolution of rubygems and maven differ which results in > different set of jars which are used. > * there are maven artifacts which depends on the JVM you are using and > "dispatch" to the JVM dependent jar > > ruby-maven tries to be an extension for bundler which deals with jar > dependencies which removes all the above short comings. when you use > the bin-stubs from ruby-maven (which are located in ./target/bin) then > you can use all your ruby commands with a classloader setup with your > jar dependencies and maven did do the dependency resolution, i.e. > exactly those jars are used which the pom files declared. > > the idea of "ruby-maven is for jars and bundle is for gems" is pretty > new so any feedback is more then welcome ! > > regards, > Kristian > > On Mon, Nov 14, 2011 at 9:54 PM, Tobias Schlottke > <tobias.schlot...@gmail.com> wrote: > > Hi there, > > > > I recently had some problems with jar dependencies in jRuby and tried to > find the most elegant solution. > > IMHO the "gem install mvn:" feature is brilliant. > > The only missing thing is bundler support. > > Bundler is not able to find the gems because they're not included in the > #list result, which is the actual problem: > > As far as I understood maven, it is not possible to list all jars in a > maven repo. > > > > So my question is: > > Is anybody working on this topic? > > IMHO there should be a way to inject a list of artifacts or a project > with the goal to build a central index. > > Builder is the best way to resolve and handle those dependencies. > > > > What do you think? > > > > Take a look at what I did so far: > > https://github.com/tobsch/maven-rubygems > > > > I know that this is pretty dirty but I wanted to get a feeling for your > opinion on this first. > > > > Best, > > > > Tobias > > --------------------------------------------------------------------- > > To unsubscribe from this list, please visit: > > > > http://xircles.codehaus.org/manage_email > > > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >