You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hayo S. (JIRA)" <ji...@codehaus.org> on 2011/02/04 13:46:22 UTC

[jira] Created: (MCOMPILER-148) Misleading documentation on

Misleading documentation on <configuration><encoding> 
------------------------------------------------------

                 Key: MCOMPILER-148
                 URL: http://jira.codehaus.org/browse/MCOMPILER-148
             Project: Maven 2.x Compiler Plugin
          Issue Type: Bug
    Affects Versions: 2.0.2
            Reporter: Hayo S.
            Priority: Minor


On http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html you will find the following documentation:

encoding | String | 2.0 | The -encoding argument for the Java compiler. 
                          Default value is: ${project.build.sourceEncoding}.

At least for version 2.0.2 the value of project.build.sourceEncoding is omitted for compilation. It works in version 2.3.2. (Other version unknown to me).

The effect is that the project is compiled with the system default encoding instead. Applies especially to default configuration of the plugin.

-- 
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] Commented: (MCOMPILER-148) Misleading documentation on

Posted by "Hayo S. (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCOMPILER-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=254660#action_254660 ] 

Hayo S. commented on MCOMPILER-148:
-----------------------------------

According to http://jira.codehaus.org/browse/MCOMPILER-70 fixed in 2.1. So the correct documentation would be:

The -encoding argument for the Java compiler.
Since 2.1: Default value is: ${project.build.sourceEncoding}.

> Misleading documentation on <configuration><encoding> 
> ------------------------------------------------------
>
>                 Key: MCOMPILER-148
>                 URL: http://jira.codehaus.org/browse/MCOMPILER-148
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.2
>            Reporter: Hayo S.
>            Priority: Minor
>
> On http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html you will find the following documentation:
> encoding | String | 2.0 | The -encoding argument for the Java compiler. 
>                           Default value is: ${project.build.sourceEncoding}.
> At least for version 2.0.2 the value of project.build.sourceEncoding is omitted for compilation. It works in version 2.3.2. (Other version unknown to me).
> The effect is that the project is compiled with the system default encoding instead. Applies especially to default configuration of the plugin.

-- 
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: (MCOMPILER-148) Misleading documentation on

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MCOMPILER-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MCOMPILER-148.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4
         Assignee: Robert Scholte

Fixed in [rev. 1162951|http://svn.apache.org/viewvc?rev=1162951&view=rev]

> Misleading documentation on <configuration><encoding> 
> ------------------------------------------------------
>
>                 Key: MCOMPILER-148
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-148
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.2
>            Reporter: Hayo S.
>            Assignee: Robert Scholte
>            Priority: Minor
>             Fix For: 2.4
>
>
> On http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html you will find the following documentation:
> encoding | String | 2.0 | The -encoding argument for the Java compiler. 
>                           Default value is: ${project.build.sourceEncoding}.
> At least for version 2.0.2 the value of project.build.sourceEncoding is omitted for compilation. It works in version 2.3.2. (Other version unknown to me).
> The effect is that the project is compiled with the system default encoding instead. Applies especially to default configuration of the plugin.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira