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

Allow customization of file encoding used for mojo extraction

    Details

    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      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

          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.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: