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

        

Reply via email to