[ http://jira.codehaus.org/browse/MRELEASE-45?page=comments#action_73651 ] 
            
Brett Porter commented on MRELEASE-45:
--------------------------------------

the first is probably possible, but the second isn't with any of the apis I've 
looked at. Nothing tracks whitespace inside tags in the DOM.

It would probably require some comparison logic at the start to identify it and 
reapply it later, but its not trivial. We already do something similar to 
maintain comments outside the root tag which are also not preserved.

> release plugin removes xml comments and attributes
> --------------------------------------------------
>
>                 Key: MRELEASE-45
>                 URL: http://jira.codehaus.org/browse/MRELEASE-45
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>            Reporter: Vincent Siveton
>         Assigned To: Brett Porter
>             Fix For: 2.0-beta-4
>
>
> I noticed that maven-release-plugin has removed some elements in pom.xml 
> files, during beta1 transition :
> * xml encoding;
> * Apache license;
> * xsd reference (Regression bug MNG-596)
> Try a svn diff between 289378 and 289532 revisions for 
> components\maven-plugins\maven-site-plugin\pom.xml

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to