You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@apache.org> on 2017/02/07 13:38:42 UTC

[jira] [Closed] (ARCHETYPE-455) Flexible Modulename

     [ https://issues.apache.org/jira/browse/ARCHETYPE-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed ARCHETYPE-455.
------------------------------------
    Resolution: Duplicate
      Assignee: Robert Scholte

Looks like a duplicate of ARCHETYPE-241, which will be part of 3.0.0

> Flexible Modulename
> -------------------
>
>                 Key: ARCHETYPE-455
>                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-455
>             Project: Maven Archetype
>          Issue Type: Wish
>          Components: Generator
>            Reporter: Michael Kopf
>            Assignee: Robert Scholte
>         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 was sent by Atlassian JIRA
(v6.3.15#6346)