A little more investigation on my part shows that this is not possible, currently. If there is interest in this functionality, let me know at the filed issue: http://jira.codehaus.org/browse/ARCHETYPE-70
Jeff jblack wrote: > > If I have a simple prototype pom.xml that has an <issueManagement> section > templated out like such: > > <issueManagement> > <system>CollabNet</system> > <url>https://${my.projectName}.dev.java.net/servlets/Issues</url> > </issueManagement> > > Why doesn't "mvn archetype:create ... -Dmy.projectName=new-project" > correctly substitute the template parameter? What is the correct method > to inject custom archetype parameters? > > The archetype trace shows: > [WARNING] org.apache.velocity.runtime.exception.ReferenceException: > reference : template = archetype-resources/pom.xml [line 7,column 9] : > ${my.projectName} is not a valid reference. > > There were several questions around this topic, but the answers were not > specific as to the resolution. > > > Jeff > -- View this message in context: http://www.nabble.com/Custom-archetype-parameters-for-the-prototype-pom.xml-tf4474881s177.html#a12760218 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
