Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use jbundle to install jar dependencies? #70

Open
garyelephant opened this issue Mar 18, 2016 · 5 comments
Open

How to use jbundle to install jar dependencies? #70

garyelephant opened this issue Mar 18, 2016 · 5 comments

Comments

@garyelephant
Copy link

How to use jbundle to install jar dependencies?

For example I want to install this jar:

http://mvnrepository.com/artifact/com.maxmind.geoip2/geoip2/2.5.0

@mkristian
Copy link
Owner

Jarfile:

jar 'com.maxmind.geoip2:geoip2', '2.5.0'

then run lock_jars and use it with require 'jars/setup' - no need for jbundler. lock_jars comes with jar-dependencies which comes with recent versions of jruby as default gem.

@garyelephant
Copy link
Author

@mkristian That's amazing, thanks!

@codekitchen
Copy link

is this gem deprecated then? should the README be updated to reflect this? apologies if this is a silly question, I'm experienced in ruby but new to jruby.

@mkristian
Copy link
Owner

@codekitchen not deprecated or maybe, but with warbler it is the most common way to build war-files with jar dependencies. once this works with with the jar-dependencies gem then jbundler lost its place to be :)

@codekitchen
Copy link

Cool thanks for the clarification @mkristian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants