You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jörg Hohwiller (JIRA)" <ji...@codehaus.org> on 2009/06/29 23:41:05 UTC

[jira] Commented: (MRESOURCES-36) resource copy to target/classes: empty directories are ignored

    [ http://jira.codehaus.org/browse/MRESOURCES-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=181884#action_181884 ] 

Jörg Hohwiller commented on MRESOURCES-36:
------------------------------------------

Fix uses different configuration:

    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
        <version>2.3</version>
        <configuration>
          <includeEmptyDirs>true</includeEmptyDirs>
        </configuration>
      </plugin>

> resource copy to target/classes: empty directories are ignored
> --------------------------------------------------------------
>
>                 Key: MRESOURCES-36
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-36
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.2
>            Reporter: Martin Vysny
>            Assignee: Olivier Lamy
>             Fix For: 2.3
>
>         Attachments: patchfile
>
>
> Hi,
>   I have several directories located in the src/test/resources and I
> need them to be copied to target/test-classes. This is of course handled
> by maven-resources-plugin, however it does not copy empty directories. I
> know it sounds insane to access empty dirs using classloader but I have
> my reasons ;)

-- 
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