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: ... build plugins plugin groupIdorg.freehep/groupId artifactIdfreehep-nar-plugin/artifactId

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

2008-06-27 Thread Brian E. Fox
Like this: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId dependencies dependency groupIdnarUnArchiver/groupId artifactIdnarUnArchiver/artifactId version0.1/version

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: plugin groupIdorg.freehep/groupId artifactIdfreehep-nar-plugin/artifactId executions execution

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

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: snip You need to add the dependency to the maven-dependency-plugin unpack execution --Brian - To unsubscribe, e-mail: [EMAIL PROTECTED] For

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