You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Joerg Schaible (JIRA)" <ji...@codehaus.org> on 2010/10/20 16:43:32 UTC

[jira] Commented: (MEV-667) plexus-utils-1.0.4.pom contains no valid XML

    [ http://jira.codehaus.org/browse/MEV-667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=240301#action_240301 ] 

Joerg Schaible commented on MEV-667:
------------------------------------

It's a simple replace "s/&oslash;/o/" in Tryvge's last name.

> plexus-utils-1.0.4.pom contains no valid XML
> --------------------------------------------
>
>                 Key: MEV-667
>                 URL: http://jira.codehaus.org/browse/MEV-667
>             Project: Maven Evangelism
>          Issue Type: Bug
>          Components: Invalid POM
>            Reporter: Joerg Schaible
>            Assignee: Juven Xu
>
> plexus-utils-1.0.4.pom contains an '&oslash;' in Tryvge's last name. However, the file declares no XML header and therefore a conforming XML parser handles the file as UTF-8. Unfortunately this character imples an ISO-8859-1 encoding. This character is the reason why quite all the Apache commons builds of the last years fail with strange errors, if build with IBM JDK 1.4 or 1.5. Building with jamvm 1.5.4 revealed now at least for me the reason:
> {noformat}
> [WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.0.4:runtime' is invalid. It will be ignored for
> artifact resolution. Reason: Parse error reading POM. Reason: TEXT must be immediately followed by END_TAG
> and not START_TAG (position: START_TAG seen ...<name>Trygve Laugst\ufffdname>\n      <email>... @116:14)  
> for project org.codehaus.plexus:plexus-utils at /home/joehni/.m2/repository/org/codehaus/plexus/plexus-
> utils/1.0.4/plexus-utils-1.0.4.pom
> {noformat}
> So either add an XML header with correct encoding or fix the file encoding.

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