Hi everybody,
I have a project dependency (a zipped library-file) in my local repository.
I want to unzip this file before starting compiling. I tried it with the
maven-dependency-plugin but it didn't work. Any ideas why? Or what I could
do? No error message, it says expanding <file> into <dir> but there is
nothing. Thanks for your help.
Christian
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-dependencies</id>
<phase>process-sources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/alternateLocation</outputDirecto
ry>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
<type>zip</type>
</configuration>
</execution>
</executions>
</plugin>
<dependencies>
<dependency>
<groupId>testlib</groupId>
<artifactId>testlib</artifactId>
<version>1.0</version>
<type>zip</type>
<scope>compile</scope>
</dependency>
</dependencies>