maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Müller (JIRA) <>
Subject [jira] Created: (MECLIPSE-683) UTF8 Byte Order Marks in POM files are not ignored correctly
Date Wed, 16 Mar 2011 10:55:22 GMT
UTF8 Byte Order Marks in POM files are not ignored correctly

                 Key: MECLIPSE-683
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
          Components: Core : Dependencies resolution and build path (.classpath)
    Affects Versions: 2.8
            Reporter: Martin Müller
         Attachments: stacktrace.txt

This is the same problem as in the maven sql plugin (

If one builds with 
% mvn eclipse:clean eclipse:eclipse -Declipse.workspace=WORKSPACE_LOCATION
and pom.xml files contain the utf8 byte order mark (
the projects in the workspace are not recorgnized correctly in the eclipse workspace. A warning
indicates that the procect is not recognized:

[WARNING] could not read workspace project:D:\Projekte\Workspaces\Trunk\.metadata\.plugins\org.eclipse.core.resources\.projects\projectname
org.codehaus.plexus.util.xml.pull.XmlPullParserException: only whitespace content allowed
before start tag and not \uef (position: START_DOCUMENT seen \uef... @1:1)
        at org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(
        at org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(

This leads to a external dependencies instead of correct workspace dependencies.

Testcase can be easily created with e.g. Copy XML Editor, which defaults to save the byte
order mark in UTF-8 files (see options).

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message