[
http://jira.codehaus.org/browse/MASSEMBLY-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146833#action_146833
]
Petar Tahchiev commented on MASSEMBLY-108:
------------------------------------------
I don't understand this issue. I have a project that has the following
structure:
{noformat}
pom.xml
src/-|
|
|--main/-|
|
|-include/-|
|
|-a.txt
|-b/
{noformat}
And the last folder b/ is an empty folder. I can include a.txt and b/ in the
zip with the following assembly descriptor:
{noformat}
<?xml version="1.0" encoding="UTF-8"?>
<assembly>
<id>bin</id>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>src/main/include/</directory>
</fileSet>
</fileSets>
</assembly>
{noformat}
I used both 2.2-beta-1 and 2.2-beta-3-SNAPSHOT.
Is that what you want to achieve?
> 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
> Fix For: 2.3-beta-1
>
>
> 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