custom variable filtered in created resources ---------------------------------------------
Key: ARCHETYPE-255 URL: http://jira.codehaus.org/browse/ARCHETYPE-255 Project: Maven Archetype Issue Type: Wish Components: Creator, Generator Environment: Any Reporter: Lorand Somogyi It would be nice to be able to define a custom variable that would be filtered for created resources just like artifactId or gourpId. Example ------------ Command line: mvn archetype:create ... -DartifactId=my-foo -DmyVar=myValue Usage, in archetype-resources pom for example: <scm> <developersConnection>https://example.com/foo/${myVar}/${artifactId}/trunk Which would translate to: <scm> <developersConnection>https://example.com/foo/myValue/my-foo/trunk -- 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