Is there a way I can use the
jruby-maven-pluginshttps://github.com/mkristian/jruby-maven-pluginsto
package up all of the gem dependencies into the .jar I create for a
Java
project? If I want to create an assembly using the Maven Assembly
Pluginhttp://maven.apache.org/plugins/maven-assembly-plugin/,
I can’t use the descriptorRef of
jar-with-dependencieshttp://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#jar-with-dependenciesto
bundle it up, since it doesn’t know how to package .gem types:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.2:assembly
(default-cli) on
project ruby-maven-gems: Failed to create assembly: Error adding
file-set
for ‘rubygems:rubyzip2:gem:2.0.1’ to archive: Error adding archived
file-set. PlexusIoResourceCollection not found for:
/Users/klauer/.m2/repository/rubygems/rubyzip2/2.0.1/rubyzip2-2.0.1.gem:
No
such archiver: ‘gem’. → [Help 1]
So I was just wondering if there was a way to create something like
rawrhttp://rawr.rubyforge.orgdoes, but for Maven projects?
-Nick K.