You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian Schulte (JIRA)" <ji...@codehaus.org> on 2012/10/02 10:21:36 UTC

[jira] (MJAVADOC-355) Encoding problem if platform encoding used to run Maven is different from default platform encoding.

Christian Schulte created MJAVADOC-355:
------------------------------------------

             Summary: Encoding problem if platform encoding used to run Maven is different from default platform encoding. 
                 Key: MJAVADOC-355
                 URL: https://jira.codehaus.org/browse/MJAVADOC-355
             Project: Maven 2.x Javadoc Plugin
          Issue Type: Wish
    Affects Versions: 2.9
            Reporter: Christian Schulte
            Priority: Trivial


When setting up a platform encoding in MAVEN_OPTS (e.g. '-Dfile.encoding=UTF-8'), the plugin writes command line argument files using that encoding. This encoding is not preserved when executing Javadoc which then reads these command line files using the real platform encoding. The platform encoding Maven is running with needs to be preserved in Javadoc.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MJAVADOC-355) Encoding problem if platform encoding used to run Maven is different from default platform encoding.

Posted by "Christian Schulte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MJAVADOC-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schulte updated MJAVADOC-355:
---------------------------------------

    Attachment: MJAVADOC-355.patch

Patch passing the platform encoding to Javadoc.
                
> Encoding problem if platform encoding used to run Maven is different from default platform encoding. 
> -----------------------------------------------------------------------------------------------------
>
>                 Key: MJAVADOC-355
>                 URL: https://jira.codehaus.org/browse/MJAVADOC-355
>             Project: Maven 2.x Javadoc Plugin
>          Issue Type: Wish
>    Affects Versions: 2.9
>            Reporter: Christian Schulte
>            Priority: Trivial
>         Attachments: MJAVADOC-355.patch
>
>
> When setting up a platform encoding in MAVEN_OPTS (e.g. '-Dfile.encoding=UTF-8'), the plugin writes command line argument files using that encoding. This encoding is not preserved when executing Javadoc which then reads these command line files using the real platform encoding. The platform encoding Maven is running with needs to be preserved in Javadoc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira