Maven and JRuby Roundup: Maven_gem Brings Maven Libs to RubyGems, GemCutter Inspires JavaGems

| by Mirko Stocker Follow 0 Followers on Dec 18, 2009. Estimated reading time: 1 minute |

A note to our readers: You asked so we have developed a set of features that allow you to reduce the noise: you can get email and web notifications for topics you are interested in. Learn more about our new features.

"Ruby is about to gain thousands of gems", Charles Nutter twittered a few days ago. What has happened? Last year, Charles started the maven_gem project, "a RubyGems plugin (and a utility) to install Maven artifacts as RubyGems", and he now apparently succeeded in making maven artifacts installable as RubyGems, as this shell session shows. This really would make a slew of libraries available to be used in JRuby projects.

Contrary to what's written in the maven_gem Readme file, it seems to be possible to just create a Gem without installing it.

A related new project is JavaGems. It's goal is to be a simpler alternative to Maven for JVM languages, not a replacement, as noted in their FAQ:

Maven is fine. It's an incredibly powerful tool with a lot more features than JavaGems will probably ever have. If Maven is working for you, keep using Maven. The problem is, some of us have smaller needs and don't need all the power of Maven, but rather, need something more simple. JavaGems aims to fill that gap. It's not trying to replace Maven, but rather, complement it.

JavaGems is essentially a Gemcutter instance providing, at the moment, artifacts such as JRuby, Clojure and several Scala libraries. It uses RubyGems and Bundler for dependency management. To see JavaGems in action, this blog post shows how to install Clojure, Compojure (a Clojure web framework) and get a "Hello World" example running in a few easy steps.

In other JRuby related news, JRuby's Java integration will soon be able to generate classes that implement Java interfaces and extend Java classes, as shown in this JRuby example.

For more information on the interaction between Clojure and JRuby, see JRuby and Clojure - A Good Match? on InfoQ.

Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Don't forget about buildr by pub cog

Just wanted to point that a ruby/maven brigde already exist with project:

From the official documentation:
"We designed Buildr to work as a drop-in replacement for Maven 2.0, and share artifacts through the same local and remote repositories."

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss

Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you