You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by solo1970 <so...@ericsson.com> on 2009/03/23 18:43:26 UTC

Unpacking zip dependency to compile....Help

Hello,

Here is what I need to do:

I have a .zip dependency that contains a whole bunch of .jar files that I
need to compile and to set in the manifests classpath.  This is what I've
done so far, but now I'm stuck and confused!
1. I've added the dependency
2. I've added the plugin to unpack it...

My questions now are:  Where should I unpack the JARs in order for them to
be used for compilation???


...
        <dependency>
              <groupId>external.3pp.sap.BO</groupId>
              <artifactId>crystalReportsServer</artifactId>
              <version>1.0.0-2008</version>
              <classifier>dep</classifier>
              <type>zip</type>
           </dependency>
...

               <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-dependency-plugin</artifactId>
                 <executions>
                   <execution>
                     <id>unpack-zip-jar</id>
                     <goals>
                       <goal>unpack-dependencies</goal>
                     </goals>
                     <configuration>
                       <excludeTransitive>true</excludeTransitive>
                     </configuration>
                   </execution>
                 </executions>
              </plugin>
...

I'd appreciate some help
Sonia
-- 
View this message in context: http://www.nabble.com/Unpacking-zip-dependency-to-compile....Help-tp22664567p22664567.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org