Michael Kopf created ARCHETYPE-455:
--------------------------------------

             Summary: 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

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

Reply via email to