You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/03/14 15:16:29 UTC

[jira] Created: (MPLUGIN-94) Use correct encoding for plugin descriptor

Use correct encoding for plugin descriptor
------------------------------------------

                 Key: MPLUGIN-94
                 URL: http://jira.codehaus.org/browse/MPLUGIN-94
             Project: Maven 2.x Plugin Tools
          Issue Type: Bug
          Components: API
    Affects Versions: 2.3
            Reporter: Benjamin Bentmann
         Attachments: plugin-descriptor-encoding.patch

The {{plugin.xml}} is currently written without a XML declaration, defaulting the encoding to UTF-8. However, the actual {{Writer}} being employed is using the JVM's default encoding, yielding invalid XML for non-ascii characters if file.encoding != UTF-8.

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

        

[jira] Closed: (MPLUGIN-94) Use correct encoding for plugin descriptor

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPLUGIN-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy closed MPLUGIN-94.
--------------------------------

         Assignee: Herve Boutemy
       Resolution: Fixed
    Fix Version/s: 2.4.2

applied in r643339
thanks

> Use correct encoding for plugin descriptor
> ------------------------------------------
>
>                 Key: MPLUGIN-94
>                 URL: http://jira.codehaus.org/browse/MPLUGIN-94
>             Project: Maven 2.x Plugin Tools
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 2.3
>            Reporter: Benjamin Bentmann
>            Assignee: Herve Boutemy
>             Fix For: 2.4.2
>
>         Attachments: plugin-descriptor-encoding.patch
>
>
> The {{plugin.xml}} is currently written without a XML declaration, defaulting the encoding to UTF-8. However, the actual {{Writer}} being employed is using the JVM's default encoding, yielding invalid XML for non-ascii characters if file.encoding != UTF-8.

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