Description
When generating a new project one cannot use custom variables to generate module names. For example:
archetype-metadata.xml
<archetype-descriptor name="modules-archetype"> <requiredProperties> <requiredProperty key="module1"> </requiredProperty> </requiredProperties> <modules> <module id="${module1}-ejb" dir="__module1__-ejb" name="-${module1}-ejb"> <fileSets> <fileSet encoding="UTF-8"> <directory>src/main/java</directory> </fileSet> </fileSets> </module> </modules> </archetype-descriptor>
The above code does not replace file name "_module1_-ejb" but leaves it intact. This was supposedly patched already by Brad Szabo as seen here:
https://issues.apache.org/jira/browse/ARCHETYPE-191