Maven Compiler Plugin
  1. Maven Compiler Plugin
  2. MCOMPILER-148

Misleading documentation on <configuration><encoding>

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.4
    • Labels:
      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.

        Activity

        Mark Thomas made changes -
        Workflow jira [ 12956071 ] Default workflow, editable Closed status [ 12993134 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 22:48:53 UTC 2015 [ 1428274133206 ]
        Mark Thomas made changes -
        Workflow jira [ 12718657 ] Default workflow, editable Closed status [ 12750009 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:20:51 UTC 2015 [ 1428225651644 ]
        Robert Scholte made changes -
        Field Original Value New Value
        Fix Version/s 2.4 [ 16208 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Robert Scholte [ rfscholte ]
        Hayo created issue -

          People

          • Assignee:
            Robert Scholte
            Reporter:
            Hayo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development