continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maria Catherine Tan (JIRA)" <j...@codehaus.org>
Subject [jira] Issue Comment Edited: (CONTINUUM-2507) Error releasing project with POM encoded in UTF-8 with BOM
Date Thu, 20 May 2010 00:41:12 GMT

    [ 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

        

Mime
View raw message