Maven Changelog Plugin
  1. Maven Changelog Plugin
  2. MCHANGELOG-86

Error with outputEncoding parameter set to UTF-8

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2
    • Labels:
      None
    • Environment:
      Windows XP Pro SP2, Maven 2.0.9, Java SE 1.5.0 Update 15, Subversion 1.4.6

      Description

      When using UTF-8 as setting for the parameter outputEncoding, we've got this error:

      [INFO] Generating "Change Log" report.
      [INFO] Generating changed sets xml to: D:\devs\projects\Test\workspace\TestWebapp\target\changelog.xml
      [INFO] Executing: svn --non-interactive log -v -r "

      {2008-05-05 11:45:19 +0000}

      :

      { 2008-06-05 11:45:19 +0000}

      " https://mysubversionsrv/svndev/test/trunk/TestWebapp
      [INFO] Working directory: D:\devs\projects\Test\workspace\TestWebapp
      [INFO] Generating "Developer Activity" report.
      [INFO] Using existing changelog.xml...
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error during page generation

      Embedded error: Error rendering Maven report: An error occurred while parsing D:
      \devs\projects\Test\workspace\TestWebapp\target\changelog.xml
      Invalid byte 1 of 1-byte UTF-8 sequence.
      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 39 seconds
      [INFO] Finished at: Wed Jun 04 13:45:23 CEST 2008
      [INFO] Final Memory: 41M/63M
      [INFO] ------------------------------------------------------------------------

      The file changelog.xml contains the good header line (<?xml version="1.0" encoding="UTF-8"?>), but the file is encoded with ANSI UNIX charset

        Activity

        Joël Royer created issue -
        Olivier Lamy (*$^¨%`£) made changes -
        Field Original Value New Value
        Assignee Olivier Lamy [ olamy ]
        Fix Version/s 2.2 [ 13634 ]
        Olivier Lamy (*$^¨%`£) made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:12:33 UTC 2015 [ 1428225153301 ]
        Mark Thomas made changes -
        Workflow jira [ 12717785 ] Default workflow, editable Closed status [ 12749120 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 22:37:13 UTC 2015 [ 1428273433745 ]
        Mark Thomas made changes -
        Workflow jira [ 12955260 ] Default workflow, editable Closed status [ 12991919 ]

          People

          • Assignee:
            Olivier Lamy (*$^¨%`£)
            Reporter:
            Joël Royer
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development