Discussion:
[jruby-dev] maven
(too old to reply)
christian
2013-12-23 10:02:56 UTC
Permalink
hi,

since the maven build does more or less its job now, it is time to ask if
there is something which is really annoying or something which got dropped
during the whole migration.

please speak out and let me know. for a start I add my wish-list now

* get rid of build.xml ;)
* lib/jruby.jar and the jruby-core-complete artifact are identical - needs
to be build only ONCE
* each of ext/* should look like usual gem project and jruby should utilize
those gems to setup the resp. parts in lib/ruby/**
* default gems should be cherry-picked (bin-stubs and specifications) from
downloaded gems - I got stuck here with jruby-maven-plugin can not handle
gems with platform **universal-java** like in krypt-core.
* use ruby-maven (gem) where I can easily embed ruby scripts inside the
pom.rb or Mavenfile. it also makes it easy to setup a gem project with
jar-extension and still use `rake build` to build the gem or to `rake
junit` to run junit tests on the java part. it also generates a pom.xml
which works with proper maven.

please comment and ADD to the list whatever you have on your mind !!!

best regards,
christian
Vít Ondruch
2013-12-26 15:44:51 UTC
Permalink
Post by christian
hi,
since the maven build does more or less its job now, it is time to ask
if there is something which is really annoying or something which got
dropped during the whole migration.
please speak out and let me know. for a start I add my wish-list now
* get rid of build.xml ;)
* lib/jruby.jar and the jruby-core-complete artifact are identical -
needs to be build only ONCE
* each of ext/* should look like usual gem project and jruby should
utilize those gems to setup the resp. parts in lib/ruby/**
* default gems should be cherry-picked (bin-stubs and specifications)
from downloaded gems - I got stuck here with jruby-maven-plugin can
not handle gems with platform **universal-java** like in krypt-core.
* use ruby-maven (gem) where I can easily embed ruby scripts inside
the pom.rb or Mavenfile. it also makes it easy to setup a gem project
with jar-extension and still use `rake build` to build the gem or to
`rake junit` to run junit tests on the java part. it also generates a
pom.xml which works with proper maven.
please comment and ADD to the list whatever you have on your mind !!!
best regards,
christian
Only one issue ... bundling/repacking ... this makes JRuby unpackagable
on Fedora :/


Vít

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
christian
2013-12-26 19:48:40 UTC
Permalink
I am aware of

https://github.com/jruby/jruby/issues/1210
https://github.com/jruby/jruby/issues/1207

which is something I am going to address with the work around the defaults
gems. is there more to it ?

- christian
hi,
Post by christian
since the maven build does more or less its job now, it is time to ask if
there is something which is really annoying or something which got dropped
during the whole migration.
please speak out and let me know. for a start I add my wish-list now
* get rid of build.xml ;)
* lib/jruby.jar and the jruby-core-complete artifact are identical -
needs to be build only ONCE
* each of ext/* should look like usual gem project and jruby should
utilize those gems to setup the resp. parts in lib/ruby/**
* default gems should be cherry-picked (bin-stubs and specifications)
from downloaded gems - I got stuck here with jruby-maven-plugin can not
handle gems with platform **universal-java** like in krypt-core.
* use ruby-maven (gem) where I can easily embed ruby scripts inside the
pom.rb or Mavenfile. it also makes it easy to setup a gem project with
jar-extension and still use `rake build` to build the gem or to `rake
junit` to run junit tests on the java part. it also generates a pom.xml
which works with proper maven.
please comment and ADD to the list whatever you have on your mind !!!
best regards,
christian
Only one issue ... bundling/repacking ... this makes JRuby unpackagable on
Fedora :/
Vít
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
Vít Ondruch
2013-12-26 22:06:18 UTC
Permalink
Post by christian
I am aware of
https://github.com/jruby/jruby/issues/1210
https://github.com/jruby/jruby/issues/1207
which is something I am going to address with the work around the
defaults gems. is there more to it ?
- christian
I've never went through the whole chain of JRuby dependencies after
reporting these two, since there was no point to continue updating the
JRuby packages, so hard to say. But I am afraid there is more. Actually,
the whole system of repackaging the gems into maven fragments is
nontransparent and hard to replace by the rubygems already shipped with
Fedora. But that is probably the workaround you are speaking about.


Vít


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Loading...