2008/6/27 Niclas Hedhman <[EMAIL PROTECTED]>:

> On Sat, Jun 28, 2008 at 1:14 AM, Hendy Irawan <[EMAIL PROTECTED]>
> wrote:
> > It seems that pax-import-bundle / pax-embed-jar messes up (i.e. empties)
> > CDATA in pom.xml
>
> I would suspect that this happens in the Maven built-in parser, and
> not really Pax Construct...
>

yes - actually the built-in Maven POM reader/writer removes all comments
and re-organizes the POM when it re-writes the XML, so in Pax-Construct
we extend that code to try to capture and re-insert the missing details

the release plugin, which also updates POMs, uses JDOM with additional
code to also try to capture missing whitespace, etc - but even the release
plugin can occasionally miss things that appear before the project tag

can you give an example of where information goes missing, as afaik any
CDATA sections should remain in the XML DOM that gets written back?

Cheers
> Niclas
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>

-- 
Cheers, Stuart
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to