Re: [jruby-user] Re: How to use custom class files in Rails?
christian <[email protected]> Mon, 10 Nov 2014 15:09:21 +0000
| Newsgroups | gmane.comp.lang.jruby.user |
|---|---|
| Message-ID | <CAMV7UWFb_us95bqdkFgx_nY+Wt6vfYT59KpHrpibYzfdoJMW7A@mail.gmail.com> |
see https://github.com/mkristian/jar-dependencies/tree/master/example for an example. both jbundler and jar-dependencies use ruby-maven under the hood. jar-dependencies comes with jruby-1.7.14+ On Mon, Nov 10, 2014 at 2:54 PM, Ariel Valentin <[email protected]> wrote: > Christian, > > I had forgotten about ruby-maven. I recall a conversation at one point > where you where describing an experimental feature of the jruby-1.7.14 that > allowed users to specify maven dependencies in gemspecs but can't seem to > trac that down. Was that my imagination? > > Ariel Valentin > e-mail: [email protected] > website: http://blog.arielvalentin.com > skype: ariel.s.valentin > twitter: arielvalentin > linkedin: http://www.linkedin.com/profile/view?id=8996534 > --------------------------------------- > *simplicity *communication > *feedback *courage *respect > > On Mon, Nov 10, 2014 at 7:14 AM, christian <[email protected]> wrote: > >> a more complete example which also copies your dependent jars into lib - >> Mavenfile: >> >> jar 'org.slf4j:slf4j-simple', '1.6.4' >> plugin :jar, :outputDirectory => 'lib' >> plugin :dependency, :outputDirectory => 'lib' do >> execute_goals :'copy-dependencies', :phase => :package >> end >> > >