Re: maven plugin with an XML configuration

2008-12-14 Thread clement escoffier
Hi, Thanks for your reply. CDATA sounds good for my case. How I can configure the plugin to read the XML configuration as CDATA ? Thanks in advance, Regards, Clement 2008/12/11 Brett Porter > You could use DOM and convert it to a string in the plugin, but that means > that you have to use a

Re: maven plugin with an XML configuration

2008-12-11 Thread Brett Porter
You could use DOM and convert it to a string in the plugin, but that means that you have to use a DOM object :) Other than that, I think you need to wrap it in a CDATA. Plexus has no internal converter for turning a DOM into a string at the moment. - Brett On 11/12/2008, at 9:17 PM, cleme

maven plugin with an XML configuration

2008-12-11 Thread clement escoffier
Hello, I'm developing a maven plugin with a configuration containing an XML String. However, I would like to get it as a regular String. In my context it is not possible to use DOM objects as the content undetermined. Here is an example of such configuration: