JRuby gem consists of nucleus.zip and some other dependencies.
nucleus.zip has some inconsistencies compared to web.zip.
grizzly-module-10.0-tp-2-SNAPSHOT.jar in web.zip
grizzly-module-1.7.3.1.jar in nucleus.zip
Similarly,
javax.javaee-10.0-SNAPSHOT.jar in nucleus.zip and
javax.javaee-10.0-tp-2-SNAPSHOT.jar in web.zip.
I also see 2 hk2 versions:
hk2-0.2.jar and hk2-core-0.2.jar in web.zip
The side effect of this is that when JRuby gem is build (unpacks
nucleus.zip) and some other v3 dependencies are copied to
glassfish/modules and it ends up getting all the above mentioned jars
bumping up gem size from 6 MB to 9 MB!
Can someone look into it to see why nucleus.zip is bundling
javax.javaee-10.0-SNAPSHOT.jar and grizzly-module-1.7.3.1.jar where as
rest of v3 sub-systems depends on different version?
-vivek.