Unpack does not seem to extract *.txt files -------------------------------------------
Key: MDEP-258 URL: http://jira.codehaus.org/browse/MDEP-258 Project: Maven 2.x Dependency Plugin Issue Type: Bug Components: unpack Affects Versions: 2.1 Environment: Windows 7 (64-bit), Java 1.5.0_22, Maven 2.2.1 Reporter: Ryan Holliday Assignee: Brian Fox Attachments: jamwiki-db-0.9.0-SNAPSHOT.jar When using the maven-dependency-plugin in the following example any *.txt files do not seem to get extracted, although everything else does. I've tried with and without any exclude patterns and with different phase values, but nothing seems to make a difference. Sample JAR is included. Apologies if this is due to some rule about what can/cannot be included in a JAR file, but I would assume that since the *.txt files are packaged by Maven that they should also be allowed to be extracted. <!-- Currently the sql.*.properties files and default topic files are in the jamwiki-db.jar file. To make it easy for sites to customize SQL (for bug fixing and such) and to create new translations, unpack these files from the JAR and place them into the WEB-INF/classes folder. --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack</id> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.jamwiki</groupId> <artifactId>jamwiki-db</artifactId> <type>jar</type> <outputDirectory>${project.build.directory}/classes</outputDirectory> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> -- 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