Maven Plugin Tools
  1. Maven Plugin Tools
  2. MPLUGIN-101

Allow customization of file encoding used for mojo extraction

    Details

    • Flags:
      Patch

      Description

      Right now, the user has no chance to configure the file encoding used when scanning the source tree for mojos at the POM level, e.g. QDox's JavaDocBuilder simply uses the JVM's default encoding. For smooth and reproducible builds in a Non-ASCII world, the plugin needs an "encoding" parameter to pass around into the MojoScanner and finally into the various MojoDescriptorExtractor's.

        Issue Links

          Activity

          Benjamin Bentmann created issue -
          Benjamin Bentmann made changes -
          Field Original Value New Value
          Attachment source-file-encoding.patch [ 33266 ]
          Benjamin Bentmann made changes -
          Patch Submitted [Yes]
          Component/s Beanshell Plugins [ 13024 ]
          Benjamin Bentmann made changes -
          Link This issue depends upon MPLUGIN-110 [ MPLUGIN-110 ]
          Benjamin Bentmann made changes -
          Link This issue relates to MPLUGIN-100 [ MPLUGIN-100 ]
          Benjamin Bentmann made changes -
          Link This issue is depended upon by MPLUGIN-111 [ MPLUGIN-111 ]
          Hervé Boutemy made changes -
          Link This issue is related to MNG-2216 [ MNG-2216 ]
          Siveton Vincent made changes -
          Fix Version/s 2.5 [ 14148 ]
          John Casey made changes -
          Assignee John Casey [ jdcasey ]
          Hide
          John Casey added a comment -

          I've added the encoding parameter to the new PluginToolsRequest interface/default impl. instead of making it a direct parameter of each method within the plugin tools. This should make it easier to get that parameter to the places where it might be needed.

          Show
          John Casey added a comment - I've added the encoding parameter to the new PluginToolsRequest interface/default impl. instead of making it a direct parameter of each method within the plugin tools. This should make it easier to get that parameter to the places where it might be needed.
          John Casey made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 12:08:28 UTC 2015 [ 1428235708524 ]
          Mark Thomas made changes -
          Workflow jira [ 12723097 ] Default workflow, editable Closed status [ 12756310 ]
          Mark Thomas made changes -
          Patch Submitted Yes [ 10763 ]
          Flags Patch [ 10430 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 00:41:51 UTC 2015 [ 1428280911727 ]
          Mark Thomas made changes -
          Workflow jira [ 12960695 ] Default workflow, editable Closed status [ 12997210 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          342d 20h 59m 1 John Casey 20/Feb/09 15:14

            People

            • Assignee:
              John Casey
              Reporter:
              Benjamin Bentmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development