Don't specify overwrite=false, this is the default so just don't set it. If you do, then you run into a bug: http://jira.codehaus.org/browse/MDEP-80
-----Original Message----- From: Nelz [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 12:41 PM To: [email protected] Subject: Dependency:unpack Hey All... I am having trouble with the dependency:unpack plugin... If I turn the "overWrite" directive to true, it always unpacks the zip file (~40 seconds)... If I turn it to false and try to "clean" then "generate-sources", it says that the file has already been unzipped. (The only thing in /target is an empty /dojo directory... I.e. no dependency-marker directory...) I've tried several permutations of commenting stuff in/out, and still no luck... Can anyone help? - Nelz Here is my config: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack</id> <phase>generate-sources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.dojotoolkit</groupId> <artifactId>dojo</artifactId> <version>0.4.2</version> <type>zip</type> <overWrite>false</overWrite> <outputDirectory> ${project.build.directory}/dojo </outputDirectory> <!-- <destFileName>dojo.zip</destFileName> --> </artifactItem> </artifactItems> <!-- <outputDirectory> ${project.build.directory}/dojos </outputDirectory> <overWriteReleases>false</overWriteReleases> <overWriteSnapshots> false </overWriteSnapshots>--> </configuration> </execution> </executions> </plugin> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
