<files> wont put files in top level directory ---------------------------------------------
Key: MASSEMBLY-144 URL: http://jira.codehaus.org/browse/MASSEMBLY-144 Project: Maven 2.x Assembly Plugin Issue Type: Bug Affects Versions: 2.1 Environment: Windows XP using maven 2.0.4. I think I am using assembly 2.1 as that is the only version I could find in my ~/.m2 directory. Reporter: Alan Kent Priority: Minor I am relatively new to Maven so hopefully this is not a silly mistake, but the following assembly XML file will NOT include the TODO.txt file. If you put the file into a subdirectory (using <outputDirectory>a/b/c</outputDirectory> or by setting <includeBaseDirectory>true</includeBaseDirectory>) then the file will appear in the ZIP file. This is at least non-intuitive, but feels like a bug to me. <assembly> <id>bug-example</id> <formats> <format>zip</format> </formats> <includeBaseDirectory>false</includeBaseDirectory> <files> <file> <source>TODO.txt</source> <outputDirectory>/</outputDirectory> </file> </files> </assembly> -- 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