Maven Resources Plugin
  1. Maven Resources Plugin
  2. MRESOURCES-57

use ${project.build.sourceEncoding} as default value for "encoding" parameter

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.3
    • Component/s: None
    • Labels:
      None
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      The platform's default encoding may easily differ among machines/developers so relying on it breaks with the aim of reproducible builds. The encoding used should always be fixed for a particular plugin run, either explicitly by the user or implicitly by a known default value.

      See also MCOMPILER-63.

        Issue Links

          Activity

          Show
          Herve Boutemy added a comment - see http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding
          Hide
          Herve Boutemy added a comment -

          done in r649654

          Show
          Herve Boutemy added a comment - done in r649654
          Hide
          Benjamin Bentmann added a comment -

          Needs to be reverted to use platform encoding by default.

          Show
          Benjamin Bentmann added a comment - Needs to be reverted to use platform encoding by default.
          Hide
          Benjamin Bentmann added a comment -

          Done in r653078.

          Show
          Benjamin Bentmann added a comment - Done in r653078 .

            People

            • Assignee:
              Herve Boutemy
              Reporter:
              Benjamin Bentmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: