Skip to content
This repository has been archived by the owner on May 19, 2019. It is now read-only.

pack jar from jar-dependencies as packed jars #6

Closed
mkristian opened this issue Mar 20, 2015 · 1 comment
Closed

pack jar from jar-dependencies as packed jars #6

mkristian opened this issue Mar 20, 2015 · 1 comment
Assignees
Milestone

Comments

@mkristian
Copy link

it kind of difficult to load some jars via jar-dependencies and some other jars should not be loaded.

jruby comes with couple of jars with its default gems: jline-2.11.jar, those bouncy-castle jars. jruby-9k will come with snakeyaml-1.14.jar and maybe one or more other jars soon.

AND there is no way to find out which jars jruby bundles with those default gems (any ideas on how to expose those extra dependencies formally are welcome).

now jar-dependencies loads those jars. it will look on "classpath" or "classloader" first.

with maven I just use http://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html, set useRepositoryLayout=true and outputDirectory=target/classes and the artifact will have those jars where jar-dependencies is going to look for them.

@rtyler rtyler self-assigned this Jul 26, 2015
@rtyler rtyler modified the milestone: 0.2.0 Jul 27, 2015
@rtyler
Copy link
Member

rtyler commented Jul 27, 2015

This should be solved by the work I'm doing to have JRubyStorm depend on JRubyJar instead of relying on Shadowjar for packing topology jars

rtyler pushed a commit to rtyler/jruby-gradle-storm-plugin that referenced this issue Jul 27, 2015
This will make it easier to move over to JRubyJar soon

References jruby-gradle#6, jruby-gradle#8
@rtyler rtyler closed this as completed in d7288e2 Aug 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants