Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-4, 2.0-beta-5, 2.0-beta-6
-
Fix Version/s: 2.0-beta-8
-
Component/s: None
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
I have committed a test that works in my Sun and IBM JDKs under windows but breaks in the Continuum at codehaus.
Tomorrow i'll try with IBM JDK under linux.
Issue Links
- is related to
-
MRELEASE-302
Test don't pass on windows due to encoding issues
-
- relates to
-
MNG-2254
the encoding parameter in xml declaration of POM is ignored
-
-
MRELEASE-201
Deployed POM is not valid XML
-
-
MRELEASE-223
Generated pom.xml has invalid chars (does not correctly handle xml entities)
-
-
MDEPLOY-66
add XML encoding support for POM reading/writing
-
It is even worse. Even if the POM contains a valid xml declaration with utf-8 as encoding, the plugin writes an invalid XML file! Just add a developer with a name containing a German umlaut like 'ü' or any other character expressed with an entity (here the EURO symbol):
<name>ö &xf6; €</name>
the saved pom.xml contains after preparation
<name>ö ö *</name>
where '*' is the replacement character for a non-displayable character.