Can't unpack multiple classifiers from same artifact; "already unpacked"
------------------------------------------------------------------------
Key: MDEP-49
URL: http://jira.codehaus.org/browse/MDEP-49
Project: Maven 2.x Dependency Plugin
Issue Type: Bug
Affects Versions: 1.0
Reporter: Chris Hilton
Assigned To: Brian Fox
A plugin configuration like this does not work:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>dependency-maven-plugin</artifactId>
<executions>
<execution>
<id>generate-resources-apphome</id>
<phase>generate-resources</phase>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.example</groupId>
<artifactId>MyProject</artifactId>
<version>5.0-SNAPSHOT</version>
<classifier>someFiles</classifier>
<type>zip</type>
<outputDirectory>target/dir1</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>com.example</groupId>
<artifactId>MyProject</artifactId>
<version>5.0-SNAPSHOT</version>
<classifier>otherFiles</classifier>
<type>zip</type>
<outputDirectory>target/dir2</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
<goals>
<goal>unpack</goal>
</goals>
</execution>
</executions>
</plugin>
The otherFiles.zip file is never unpacked to dir2 and the conole output states:
[INFO] MyProject-5.0-SNAPSHOT-otherFiles.zip already unpacked.
When actually it was the someFiles.zip that was already unpacked.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira