Description
When you have a directory structure like:
src/ main/resources/ src/ example.yml
And a fileSet in the archetype-descriptor like:
<fileSet> <!-- <directory></directory> --> <includes> <include>*.yml</include> </includes> </fileSet>
When you generate the archetype you won't get the .yml files, but instead you get an empty directory with the name `null`.
When you explicitly provide the <directory> element, the `null` directory disappears and the .yml file is copied.
I think it would make sense to either;
a) Log an error or warning that the xml is incomplete
b) When no directory is provided, use a default (of the root directory) instead
Where option B makes to most sense to me.
Attachments
Attachments
Issue Links
- links to