This is the archetype's template pom.xml, not the owning project
pom.xml, and hence that line will get processed and removed by the
template engine. I stated in my original email that this is the file
in question: src/main/resources/archetype-resources/pom.xml.
I am not saying this is a good idea. It's just a undocumented
workaround that I discovered. I much prefer the archetype plugin
itself to provide a way to un-escape the dollar sign so it won't get
substituted by engine. Or simply populate the parameter ${dollar}
instead of making user to set it is a step to improvement.
-Zemian
On Mar 4, 2008, at Tue Mar 4 - 1:15 PM, Wendy Smoak wrote:
On Tue, Mar 4, 2008 at 10:37 AM, Zemian Deng
<[EMAIL PROTECTED]> wrote:
Added this on top of pom.xml
#set($dollar = '$')
Doesn't that make it invalid xml? I'm not sure this is a good idea if
anything other than Maven needs to consume the files.
Specifically I wonder whether that line ends up in the pom deployed to
the artifact repository when you release the project.
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]