You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2014/11/25 21:49:03 UTC
[jira] (MECLIPSE-683) UTF8 Byte Order Marks in POM files are not
ignored correctly
[ https://jira.codehaus.org/browse/MECLIPSE-683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MECLIPSE-683.
-----------------------------------
Resolution: Won't Fix
Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.
> UTF8 Byte Order Marks in POM files are not ignored correctly
> ------------------------------------------------------------
>
> Key: MECLIPSE-683
> URL: https://jira.codehaus.org/browse/MECLIPSE-683
> Project: Maven 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 (http://jira.codehaus.org/browse/MSQL-33).
> If one builds with
> % mvn eclipse:clean eclipse:eclipse -Declipse.workspace=WORKSPACE_LOCATION
> and pom.xml files contain the utf8 byte order mark (http://en.wikipedia.org/wiki/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(MXParser.java:1519)
> at org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1395)
> 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 was sent by Atlassian JIRA
(v6.1.6#6162)