Franz: It still has an issue with the variables after I did this ...
<archetype> <id>appfuse-basic</id> <resources> <resource filtered="false">pom.xml</resource> </resources> <site-resources> <site-resource>src/site/site.xml</site-resource> </site-resources> </archetype> Here's the console ... [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 138,column 22] : ${ spring.version} is not a valid reference. [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 20:10:16 CST 2006 [INFO] Final Memory: 4M/8M [INFO] ------------------------------------------------------------------------ [EMAIL PROTECTED]:~/Test$ I can't figure this out. :-) David On 11/27/06, Franz Allan Valencia See <[EMAIL PROTECTED]> wrote:
Good day to you, David, You can use the filtered attribute to turn off the filtering of a particular source / resource ( see [1] ). Cheers, Franz [1] http://www.nabble.com/archetype-descriptor-schema--tf2181358.html#a6061573 On 11/27/06, David Whitehurst <[EMAIL PROTECTED]> wrote: > 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]