Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.2
-
None
Description
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.