We made an archetype and would like to leave undetermined properties, e.g. ${my.property} in the pom.xml for the archetype. Velocity gags on this because it can't determine it's value during archetype:create.
Here's some trace on an archetype:create. The archetype is created and they are only warnings. Any suggestions? We would like to leave these. There's a properties section in the pom where these can be defined by the archetype user. Any help is appreciated. [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 188,column 35] : ${ cargo.wait} is not a valid reference. [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 195,column 53] : ${ cargo.host} is not a valid reference. [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 196,column 57] : ${ cargo.port} is not a valid reference. [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 223,column 24] : ${ web.framework} is not a valid reference. [INFO] ********************* End of debug info from resources from generated POM *********************** [INFO] Archetype created in dir: /home/piratepete/Test/myproject [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second [INFO] Finished at: Mon Nov 27 19:33:47 CST 2006 [INFO] Final Memory: 4M/8M [INFO] ------------------------------------------------------------------------ [EMAIL PROTECTED]:~/Test$ Thanks, David