RubyGem Maven GemSpec

How can you specify Maven artifacts in gemspecs? I saw on
http://www.engineyard.com/blog/2011/jruby-1-6-0-rc1-released/ that you
can. Is there an example out there?

I tried creating one myself and adding the maven groupid and artifactid.
I want to eventually have the gemspec files being called by bundler and
install the maven packages through gemspec :name => ‘quartz’ for
example.

please use jruby-1.6.0 and have a look at
http://blog.mkristian.tk/2011/03/rubygems-maven-support.html

to install the gem with
$ gem install -l whatever.gem
works fine with maven-gems as dependencies. bundler can not install or
update maven-gems as such but when these gems are already installed
bundler can ‘use’ them.

On Mon, Mar 28, 2011 at 9:38 PM, Luis R. [email protected]
wrote:

How can you specify Maven artifacts in gemspecs?

use
mvn::
as dependency name.

I saw on

http://www.engineyard.com/blog/2011/jruby-1-6-0-rc1-released/ that you
can. Is there an example out there?

these info on RC1 do not apply to the released version - sorry for that.

I tried creating one myself and adding the maven groupid and artifactid.
I want to eventually have the gemspec files being called by bundler and
install the maven packages through gemspec :name => ‘quartz’ for
example.

bundler support is very limited with maven gems :frowning:

  • Kristian