maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evgeniy Voroniuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MRESOURCES-205) Flag "includeEmptyDirs" is not working if "targetPath" is specified on resource.
Date Fri, 04 Sep 2015 12:02:45 GMT

     [ https://issues.apache.org/jira/browse/MRESOURCES-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Evgeniy Voroniuk updated MRESOURCES-205:
----------------------------------------
    Attachment: test-includeEmptyDirs.zip

Test project. After build you can see that in default output resources directory "class" -
empty directory was copied, but in custom output directory specified in "targetPath" -  wasn't
copied.

> Flag "includeEmptyDirs" is not working if "targetPath" is specified on resource.
> --------------------------------------------------------------------------------
>
>                 Key: MRESOURCES-205
>                 URL: https://issues.apache.org/jira/browse/MRESOURCES-205
>             Project: Maven Resources Plugin
>          Issue Type: Bug
>          Components: copy
>    Affects Versions: 2.7
>            Reporter: Evgeniy Voroniuk
>         Attachments: test-includeEmptyDirs.zip
>
>
> If we specify target path like
> <resource>
>     <directory>src/main/resources</directory>
>     <targetPath>${project.build.directory}/distribution</targetPath>
> </resource>
> Then empty directory are not copied, even if flag "includeEmptyDirs" is set to "true"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message