Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7992197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T13:29:45+00:00 2026-06-04T13:29:45+00:00

While a similar question was asked more than half a year ago, I’m wondering

  • 0

While a similar question was asked more than half a year ago, I’m wondering what the best way to write JRuby code that’s depending on gems but also depending on Maven projects. Bundler seems to be the standard Maven like tool for the Ruby community, and I’d prefer to use that, but it looks like bundler won’t be supporting Maven dependencies.

Is gem install mvn:<groupId>:<artifactId> the only real solution? Would I just put that into a Rakefile? Do people then do all their gem installations with rake instead of bundler? Does anyone have other suggestions of approaching this problem? Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T13:29:46+00:00Added an answer on June 4, 2026 at 1:29 pm

    I found my answer in jbundler. With jbundler you define a Mvnfile, which looks similar to a Gemfile, and put your Maven dependencies there.

    repository 'http://your-local-repo-here/'
    jar 'groupId:artifactId', '1.0.0-SNAPSHOT'
    ...
    

    jbundler even works with locally installed (in your .m2/repository) jars, letting you integrate with your work-in-progress Java project.

    Since it integrates with Bundler, there’s no need to use another tool to pull down your Maven dependencies. Just bundle install; bundle exec something.rb. Strangly, the Maven dependency resolution happens at bundle exec time and not bundle install, but I can live with that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I asked a similar question a while ago Error Creating Debug Information - Code
Okay so I know I asked a similar question a while ago, but this
This is similar to a question I asked a while ago, however this didn't
Asked a similar question a while ago and tried to build off of my
I asked a similar question here a while back but all the answers were
I believe this question is slightly different than similar ones asked on here before
I know I asked a similar question to this not long ago, but I'm
While this question asked something similar too, I'm interested in this from another angle.
I previously asked a similar question on this topic a while back and got
Here is the reason why this question was being asked: www.devplusplus.com/Tests/CSharp/Hello_World . While similar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.