file path can ref variables for generate filename.
--------------------------------------------------
Key: ARCHETYPE-348
URL: http://jira.codehaus.org/browse/ARCHETYPE-348
Project: Maven Archetype
Issue Type: New Feature
Components: Archetypes
Affects Versions: 2.x
Reporter: badqiu
support filepath ref variable. this is useful for generate filepath or filename.
example:
variables:
package: com.company.project
packagePath: com\company\project
artifactId: helloworld
version: 1.0
filepath1: ${packagePath}\${artifactId}-resource.xml
output1: com\company\project\helloworld-resource.xml
filepath2: ${version}\${artifactId}-resource.xml
output2: 1.0\helloworld-resource.xml
filepath3: ${packagePath}\web\filters\ExampleFilter.java
output3: com\company\project\web\filters\ExampleFilter.java
--
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