Always filter the output file name always.
authorpetar.tahchiev <paranoiabla@gmail.com>
Tue, 28 Mar 2017 08:59:06 +0000 (11:59 +0300)
committerpetar.tahchiev <paranoiabla@gmail.com>
Tue, 28 Mar 2017 08:59:06 +0000 (11:59 +0300)
commitcb1ffb29802681fbfef24960a7f482ff526d08ed
treee29fc32a663ed29bd93fae6836534d83796eeba4
parent2ac48e1c1efa5c2a8377bfca77f94b1e0472e643
Always filter the output file name always.

The filenames were only processed for filtering if resources in the folder
were filtered. However if a folder contains both filtered and not-filtered
resources then the folders are duplicated (see ARCHETYPE-524).

With this change we filter the filenames always - making the resulting files
reside in the same folder always.
archetype-common/src/main/java/org/apache/maven/archetype/creator/FilesetArchetypeCreator.java
archetype-testing/archetype-final/src/test/java/org/apache/maven/archetype/creator/DefaultArchetypeCreatorIT.java
archetype-testing/archetype-final/src/test/resources/projects/create-6/archetype.properties.sample [new file with mode: 0644]
archetype-testing/archetype-final/src/test/resources/projects/create-6/pom.xml.sample [new file with mode: 0644]
archetype-testing/archetype-final/src/test/resources/projects/create-6/src/main/webapp/resources/create-6/a.gif [new file with mode: 0644]
archetype-testing/archetype-final/src/test/resources/projects/create-6/src/main/webapp/resources/create-6/a.jsp [new file with mode: 0644]