[
https://jira.codehaus.org/browse/ARCHETYPE-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Kopf updated ARCHETYPE-455:
-----------------------------------
Attachment: archetype-multi-module-project-1.1.jar
Example archetype that generates a multi-module-project with one module.
> Flexible Modulename
> -------------------
>
> Key: ARCHETYPE-455
> URL: https://jira.codehaus.org/browse/ARCHETYPE-455
> Project: Maven Archetype
> Issue Type: Wish
> Components: Generator
> Reporter: Michael Kopf
> Attachments: archetype-common-flex-module-name.patch,
> archetype-multi-module-project-1.1.jar
>
>
> I have to create a multi-module project from maven-archetype with free
> configurable modulenames. This should be possible with required properties in
> the archetype.
> Up to now this is only possible with artifactId or rootArtifactId and you
> have to use it in form of prefix__rootArtifactId__postfix for the module
> directory.
> What I want is to set a required property while setting up the new project
> with the archetype. Within the archetype you have to configure the module
> with directory __yourproperty__ and in the archetype-metadata.xml the module
> entry like as follows:
> {code}
> <module id="${yourproperty}" dir="__yourproperty__" name="${yourproperty}">
> {code}
> I made a patch which works for me.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira