Thanks guys! I think I finally got something together that works:
The in pom.xml of the project you want to assemble with the nar .so
libraries:
...
build
plugins
plugin
groupIdorg.freehep/groupId
artifactIdfreehep-nar-plugin/artifactId
Like this:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-dependency-plugin/artifactId
dependencies
dependency
groupIdnarUnArchiver/groupId
artifactIdnarUnArchiver/artifactId
version0.1/version
Thanks for your help Brian. I'm afriad I'm not quite following your
suggestion though.
If I add the narUnArchiver dependency to the maven-dependency-plugin like
so:
plugin
groupIdorg.freehep/groupId
artifactIdfreehep-nar-plugin/artifactId
executions
execution
Thank you for your reply. I have tried to get your solution working, but I
have not quite succeeded.
To answer your assumption first:
I'm assuming the nar is just a zip like jars and wars.
Yes, this is true.
This is what I've done:
I created a new jar with the components.xml file containing
I then added the dependency tags as described in your blog post as
follows:
snip
You need to add the dependency to the maven-dependency-plugin unpack
execution
--Brian
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I'm assuming the nar is just a zip like jars and wars. If so, you just
need to map nar to the correct unarchiver and the dependency plugin will
be able to unpack it.
Add the following to a jar in META-INF/plexus/components.xml (or just
drop into src/main/resources/META-INF/plexus/components.xml