[
https://issues.apache.org/jira/browse/ARCHETYPE-497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15234074#comment-15234074
]
Petar Tahchiev commented on ARCHETYPE-497:
------------------------------------------
Hello,
if you leave the directory empty, like this:
{code}
<fileSet filtered="true" packaged="false" encoding="UTF-8">
<!-- this does not work, I also tried '.' -->
<directory></directory>
<includes>
<include>*.md</include>
<include>*.json</include>
</includes>
</fileSet>
{code}
it works. Can you please confirm.
Thanks.
> An archetype descriptor with resources in the root folder is not handled very
> well.
> -----------------------------------------------------------------------------------
>
> Key: ARCHETYPE-497
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-497
> Project: Maven Archetype
> Issue Type: Bug
> Components: Generator
> Reporter: Kedar Mhaswade
> Original Estimate: 96h
> Remaining Estimate: 96h
>
> I have created a detailed project on GitHub explaining the problem. Simply
> put, it is not possible right now to copy the resources using the fileset
> that refers to the current directory to something else other than
> (src/main/resources).
> Please see the [readme |
> https://github.com/kedarmhaswade/is-this-archetype-bug/blob/master/README.md]
> of the test case for details. Let me know if you need more information. If
> there is a workaround, please let me know that too.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)