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>
      <groupId>org.freehep</groupId>
      <artifactId>freehep-nar-plugin</artifactId>
      <executions>
        <execution>
          <id>download-a-nar</id>
          <phase>package</phase>
          <goals>
            <goal>nar-download</goal>
            <goal>nar-unpack</goal>
          </goals>
        </execution>
      </executions>
     </plugin>

     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-dependency-plugin</artifactId>
       <executions>
         <execution>
           <id>unpack</id>
           <phase>package</phase>
           <goals>
             <goal>unpack</goal>
           </goals>
           <configuration>
             <artifactItems>
               <artifactItem>
                 <groupId>narUnArchiver</groupId>
                 <artifactId>narUnArchiver</artifactId>
                 <version>0.1</version>
               </artifactItem>
             </artifactItems>
           </configuration>
         </execution>
       </executions>
     </plugin>
   </plugins>

    This results in the file component.xml (from narUnArchiver.jar) being
unpacked in the target directory. I don't think this the desired result.
What am I missing here?

Thanks!


Brian E Fox wrote:
> 
>>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 additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-copy-unpacked-nar-file-contents-into-target-directory--tp17834192p17957042.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to