Discussion:
how to escape %{SOMENAME} characters in archetypes?
Mick Knutson
2009-03-10 20:36:30 UTC
Permalink
I keep getting these errors created a project from my archetype:

*[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/pom.xml [ *
*line 84,column 44] : ${user.home} is not a valid reference. *
*[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/pom.xml [ *
*line 84,column 65] : ${symphony.profile.name} is not a valid reference. *

Thanks for your help in advance....

---
Thank YouÂ…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Twitter: http://twitter.com/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---
Wendy Smoak
2009-03-10 21:41:50 UTC
Permalink
Post by Mick Knutson
reference : template = archetype-resources/pom.xml [ *
*line 84,column 44] : ${user.home} is not a valid reference. *
reference : template = archetype-resources/pom.xml [ *
*line 84,column 65] : ${symphony.profile.name} is not a valid reference. *
You subject line uses a percent, while the warnings are for a dollar
sign ${expression}. Just a typo?

There is information about escaping the dollar sign on this page,
maybe it will help:
http://docs.codehaus.org/display/MAVENUSER/Assembly+Plugin
--
Wendy
Loading...