You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org> on 2010/05/20 02:41:12 UTC

[jira] Issue Comment Edited: (CONTINUUM-2507) Error releasing project with POM encoded in UTF-8 with BOM

    [ http://jira.codehaus.org/browse/CONTINUUM-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=221842#action_221842 ] 

Maria Catherine Tan edited comment on CONTINUUM-2507 at 5/19/10 7:39 PM:
-------------------------------------------------------------------------

Instead of using the FileReader, I used the ReaderFactory of plexus util for creating an xml reader instance so that the encoding will be recognized.
Committed in r946052 of trunk

As for the problem with the BOM, I submitted a patch in MNG-4667 that will allow user to strip the BOM out of the POM, so you don't need to manually remove it.

      was (Author: ctan):
    Instead of using the FileReader, I used the ReaderFactory of plexus util for creating an xml reader instance so that the encoding will be recognized.

As for the problem with the BOM, I submitted a patch in MNG-4667 that will allow user to strip the BOM out of the POM, so you don't need to manually remove it.
  
> Error releasing project with POM encoded in UTF-8 with BOM
> ----------------------------------------------------------
>
>                 Key: CONTINUUM-2507
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2507
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.3.4 (Beta)
>            Reporter: Leah Aliser
>            Assignee: Maria Catherine Tan
>            Priority: Minor
>             Fix For: Backlog
>
>
> I have a Visual Studio project, when I do perform release in Continuum it results in: Release Error Unable to get release plugin parameters and process project - only whitespace content allowed before start tag and not \uef (position: START_DOCUMENT seen \uef... @1:1). The error doesn't indicate which file Continuum is having a problem processing. After some time spent investigating the files, I noticed the BOM character was in the POM causing the error in release. Additionally,I was able to successfully run 'mvn release:prepare -DdryRun=true -DautoVersionSubmodules=true' at the command line.

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