You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ittay Dror (JIRA)" <ji...@codehaus.org> on 2008/04/06 10:10:58 UTC

[jira] Created: (ARCHETYPE-155) use groovy templates to generate files

use groovy templates to generate files
--------------------------------------

                 Key: ARCHETYPE-155
                 URL: http://jira.codehaus.org/browse/ARCHETYPE-155
             Project: Maven Archetype
          Issue Type: Improvement
            Reporter: Ittay Dror


velocity is really poor for creating templates. in my case, i have some rules for generating parent pom group/artifact ids from the current groupid, which is awkward to do in velocity (if possible, i didn't try). also, some parts need to be generated based on values passed by the user, and i want to signal errors if the values he passed are not correct.

using groovy is very easy. maybe a parameter in archetype.xml?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira