Re: How to copy unpacked nar file contents into target directory?

2008-06-30 Thread RalphWH
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

RE: How to copy unpacked nar file contents into target directory?

2008-06-29 Thread Jörg Schaible
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

RE: How to copy unpacked nar file contents into target directory?

2008-06-27 Thread Brian E. Fox
Like this: org.apache.maven.plugins maven-dependency-plugin narUnArchiver narUnArchiver 0.1 unpack package unpack

RE: How to copy unpacked nar file contents into target directory?

2008-06-17 Thread RalphWH
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

RE: How to copy unpacked nar file contents into target directory?

2008-06-16 Thread Brian E. Fox
>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

RE: How to copy unpacked nar file contents into target directory?

2008-06-16 Thread RalphWH
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

RE: How to copy unpacked nar file contents into target directory?

2008-06-13 Thread Brian E. Fox
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