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] Created: (MCOMPILER-148) Misleading documentation on <configuration><encoding>
Date Fri, 04 Feb 2011 12:46:22 GMT
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