[ https://jira.codehaus.org/browse/ARCHETYPE-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy updated ARCHETYPE-383: ------------------------------------ Description: The descriptor can use velocity expressions for value and defaultValue, thus enabling the creation of velocity global properties for an archetype. For example : {code:xml}<requiredProperty key="className"> <defaultValue>${rootArtifactId.substring(0,1).toUpperCase()}${rootArtifactId.substring(1)}</defaultValue> </requiredProperty>{code} was: The descriptor can use velocity expressions for value and defaultValue, thus enabling the creation of velocity global properties for an archetype. For example : <requiredProperty key="className"> <defaultValue>${rootArtifactId.substring(0,1).toUpperCase()}${rootArtifactId.substring(1)}</defaultValue> </requiredProperty> > Use velocity expressions in descriptor properties > ------------------------------------------------- > > Key: ARCHETYPE-383 > URL: https://jira.codehaus.org/browse/ARCHETYPE-383 > Project: Maven Archetype > Issue Type: New Feature > Components: Plugin > Affects Versions: 2.1 > Reporter: Emmanuel Hugonnet > Assignee: Olivier Lamy > Fix For: 2.2 > > Attachments: patch_jira_383.patch > > > The descriptor can use velocity expressions for value and defaultValue, thus > enabling the creation of velocity global properties for an archetype. > For example : > {code:xml}<requiredProperty key="className"> > > <defaultValue>${rootArtifactId.substring(0,1).toUpperCase()}${rootArtifactId.substring(1)}</defaultValue> > </requiredProperty>{code} -- This message was sent by Atlassian JIRA (v6.1.6#6162)