TorqueBox RubyGems Maven Proxy Repository
This server provides a Maven proxy in front of
the official RubyGems repository. This gives every
RubyGem a set of Maven coordinates. Additionally, the proxy will inspect the contents
of each fetched RubyGem, and create a Maven POM (akin to a .gemspec).
Its primary use is during the build of TorqueBox itself. In the event you do have a use for it, you may weave it into your Maven build using configuration such as below:
<repositories>
<repository>
<id>rubygems-proxy</id>
<name>Rubygems Proxy</name>
<url>http://rubygems-proxy.torquebox.org/releases</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>fale</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
...
</repositories>
To then include a gem into your Maven project POM, specify the groupId as rubygems
and type as gem.
<dependencies>
<dependency>
<groupId>rubygems</groupId>
<artifactId>rails</artifactId>
<version>.3.0.3</version>
<type>gem</type>
</dependency>
...
</dependencies>