Hi Greg,

Greg Thompson wrote:
> In my javadoc-plugin configuration, I currently have something along the
> lines of:
> 
> <bottom><![CDATA[somestuff &copy; 2007 somestuff.]]></bottom>
> 
> For various reasons, I'd like to move the value into a property.  So
> I've added this to my pom's properties:
> 
> <jdBottom><![CDATA[somestuff &copy; 2007 somestuff.]]></jdBottom>
> 
> and changed the javadoc-plugin configuration to:
> 
> <bottom>${jdBottom}</bottom>
> 
> while help:effective-pom says that the property has the proper value:
> 
> <jdBottom>somestuff &amp;copy; 2007 somestuff.</jdBottom>
> 
> the expansion of the property is being parsed as XML, yielding this in
> the javadoc-plugin configuration:
> 
> <bottom>somestuff © 2007 somestuff.</bottom>
> 
> This is most definitely NOT what I want.  Of course, the first thing I
> tried was to wrap the use of the property in the javadoc-plugin
> configuration in another CDATA:
> 
> <bottom><![CDATA[${jdBottom}]]></bottom>
> 
> This has no effect.
> 
> Is there any way to do what I want here?  Thanks.


Have you tried to add one or more levels to the entity expansion?

E.g., specify the following in your properties section:

 <jdBottom><![CDATA[somestuff &amp;copy; 2007 somestuff.]]></jdBottom>

Or equivalently:

 <jdBottom>somestuff &amp;amp;copy; 2007 somestuff.</jdBottom>

Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to