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:
...
org.freehep
freehep-nar-plugin
Hi Ralph,
RalphWH wrote:
> Hello All,
>
> I have a project that is packaging into a jar and is using the
> freehep-nar-plugin to download and unpack the needed .nar
> files. This part
> works great. But what I haven't been able to figure out is
> how to then copy
> the .so files (in the .nar down
Like this:
org.apache.maven.plugins
maven-dependency-plugin
narUnArchiver
narUnArchiver
0.1
unpack
package
unpack
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:
org.freehep
freehep-nar-plugin
download-a-nar
package
n
>I then added the dependency tags as described in your blog post as
follows:
You need to add the dependency to the maven-dependency-plugin unpack
execution
--Brian
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
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 y
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 of