[ 
http://jira.codehaus.org/browse/MRELEASE-201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_116346
 ] 

Benjamin Bentmann commented on MRELEASE-201:
--------------------------------------------

Another encoding problem: The plugin (2.0-beta-7) does not output an XML 
declaration in the rewritten POM. While this might be acceptable for UTF-8 
encoded POMs (although I would consider it a betst practice to always output an 
XML declaration), it is in general wrong for any other encoding.

> Deployed POM is not valid XML
> -----------------------------
>
>                 Key: MRELEASE-201
>                 URL: http://jira.codehaus.org/browse/MRELEASE-201
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>            Reporter: Joerg Schaible
>         Attachments: MNG-2362.zip
>
>
> If the POM has utf-8 encoding and you make usage of entities to support 
> extended characters, these characters are no longer encoded as entities in 
> the repository (well, the effect is already visible in 
> target/effective-pom.xml). This is not a rule of general, POMs with packaging 
> "pom" are installed and deployed correctly.
> Multi module example. The attached archive contains a parent POM and a POM 
> for a jar. Both UTF-8 encoded POMs contain a developer with a name using an 
> entitiy. Releasing the POMs they are written with the expanded entitiy making 
> the XML invalid.

-- 
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