You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "James Roper (JIRA)" <ji...@apache.org> on 2016/08/17 02:35:21 UTC

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

    [ https://issues.apache.org/jira/browse/ARCHETYPE-455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15423767#comment-15423767 ] 

James Roper commented on ARCHETYPE-455:
---------------------------------------

I was thinking... I know, I could do my part and implement this myself! Then I saw a patch was already attached 3 years ago, with no review or response from the maintainers in that time.  Willingness to contribute to this open source project is futile.

> 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
>         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.4#6332)