[ http://jira.codehaus.org/browse/MASSEMBLY-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102508 ]
Dawid Kedziora commented on MASSEMBLY-108: ------------------------------------------ A workaround for 2.2-beta-1: {code:xml} <assembly> ... <fileSet> <directory>target/</directory> <outputDirectory>/logs</outputDirectory> <excludes> <exclude>**/*</exclude> </excludes> </fileSet> .... </assembly> {code} Generally speaking: get any existing directory, specify any output directory, and exclude everything from source directory. > Assembly Plugin Implicitly Excludes Empty Directory > --------------------------------------------------- > > Key: MASSEMBLY-108 > URL: http://jira.codehaus.org/browse/MASSEMBLY-108 > Project: Maven 2.x Assembly Plugin > Issue Type: Bug > Affects Versions: 2.1 > Reporter: Sharmarke Aden > > It seems that the inclusion of an empty directory isn't currently possible > with the assembly plugin. This is a problem because I would like to have an > empty "logs" directory included with my zip file assembly. It would be nice > if the assembly plugin gave you the option to add empty directories to an > 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