You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2011/08/30 21:09:32 UTC

[jira] Commented: (ARCHETYPE-346) Directory name of root generated module

    [ https://jira.codehaus.org/browse/ARCHETYPE-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=277389#comment-277389 ] 

Herve Boutemy commented on ARCHETYPE-346:
-----------------------------------------

I'm not ok with the idea of an addition to the archetype descriptor

but it might be an addition to the generate plugin, to let the user choose a different directory than the default one.

can you propose a patch?

> Directory name of root generated module
> ---------------------------------------
>
>                 Key: ARCHETYPE-346
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-346
>             Project: Maven Archetype
>          Issue Type: Improvement
>          Components: Generator
>    Affects Versions: 2.1
>            Reporter: Gael Lalire
>            Priority: Minor
>
> It seems that the root directory name have to be the ${artifactId}.
> I propose an addition in archetype-metadata.xml.
> <archetype-descriptor targetDirName="prefixINeed_${artifactId}">
> </archetype-descriptor>
> So we can also remove the ${artifactId} in the name of root directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira