Skip to content
Browse files

Added documentation about the maven integration

  • Loading branch information...
1 parent 0ddaf30 commit 4f7369d33dd8e4ed918cb29c1260b9df6b5690d4 @ANithian committed Feb 13, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 README.md
View
11 README.md
@@ -27,3 +27,14 @@ See [UPGRADING](https://github.com/carlhuda/bundler/blob/master/UPGRADING.md).
### Other questions
Feel free to chat with the Bundler core team (and many other users) on IRC in the [#bundler](irc://irc.freenode.net/bundler) channel on Freenode, or via email on the [Bundler mailing list](http://groups.google.com/group/ruby-bundler).
+
+### Maven Integration (JRuby only)
+This version of bundler allows maven dependencies to be included alongside your other Ruby dependencies opening up a whole new world of possibilities! There are two ways to add your maven dependencies:
+1) mvn "repo URL (or 'default' for the default repo URL)" do
+ gem "mvn:<group_id>:<artifact_id>", "version number"
+ end
+2) gem "mvn:<group_id>:<artifact_id>", "version number", :mvn=>"repo URL (or 'default' for the default repo URL)"
+
+This integration will download the right jar using maven into your *maven* repo location and simply write the necessary ruby files to require the jars from the
+right location in the maven repository. This allows for maven repos and gem repos to live side by side without duplication of binaries and ensure that dependencies
+are resolved properly as maven does that automatically.

0 comments on commit 4f7369d

Please sign in to comment.
Something went wrong with that request. Please try again.