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
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.3
    • Component/s: None
    • Labels:
      None
    • Flags:
      Patch

      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.

      1. resource-encoding.patch
        1 kB
        Benjamin Bentmann

        Issue Links

          Activity

          Benjamin Bentmann created issue -
          Benjamin Bentmann made changes -
          Field Original Value New Value
          Link This issue relates to MRESOURCES-62 [ MRESOURCES-62 ]
          Show
          Hervé Boutemy added a comment - see http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding
          Hervé Boutemy made changes -
          Link This issue is related to MNG-2216 [ MNG-2216 ]
          Hide
          Hervé Boutemy added a comment -

          done in r649654

          Show
          Hervé Boutemy added a comment - done in r649654
          Hervé Boutemy made changes -
          Assignee Herve Boutemy [ hboutemy ]
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 2.3 [ 12622 ]
          Resolution Fixed [ 1 ]
          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.
          Benjamin Bentmann made changes -
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          Benjamin Bentmann made changes -
          Summary Provide specific default value for "encoding" parameter use ${project.build.sourceEncoding} as default value for "encoding" parameter
          Hide
          Benjamin Bentmann added a comment -

          Done in r653078.

          Show
          Benjamin Bentmann added a comment - Done in r653078 .
          Benjamin Bentmann made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Dennis Lundberg made changes -
          Link This issue is related to MRESOURCES-98 [ MRESOURCES-98 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 12:20:57 UTC 2015 [ 1428236457206 ]
          Mark Thomas made changes -
          Workflow jira [ 12724888 ] Default workflow, editable Closed status [ 12756755 ]
          Mark Thomas made changes -
          Patch Submitted Yes [ 10763 ]
          Flags Patch [ 10430 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 01:00:00 UTC 2015 [ 1428282000487 ]
          Mark Thomas made changes -
          Workflow jira [ 12962693 ] Default workflow, editable Closed status [ 12999035 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          41d 1h 16m 1 Hervé Boutemy 18/Apr/08 14:55
          Closed Closed Reopened Reopened
          13d 14h 37m 1 Benjamin Bentmann 02/May/08 05:33
          Reopened Reopened Closed Closed
          1d 4h 6m 1 Benjamin Bentmann 03/May/08 09:39

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development