maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hayo S. (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MCOMPILER-148) Misleading documentation on <configuration><encoding>
Date Fri, 04 Feb 2011 12:50:22 GMT

    [ 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

        

Mime
View raw message