[
https://issues.apache.org/jira/browse/ARCHETYPE-508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte updated ARCHETYPE-508:
-------------------------------------
Fix Version/s: (was: 3.0.0)
> Ability to use any context property for module name
> ---------------------------------------------------
>
> Key: ARCHETYPE-508
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-508
> Project: Maven Archetype
> Issue Type: Bug
> Components: Generator, Plugin
> Affects Versions: 2.4
> Reporter: Dejan Ognjenović
>
> When generating a new project one cannot use custom variables to generate
> module names. For example:
> {code:title=archetype-metadata.xml | borderStyle=solid}
> <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>
> {code}
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)