Maven Changes Plugin
  1. Maven Changes Plugin
  2. MCHANGES-71

need add template encoding to announcement-generate

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Component/s: announcement
    • Labels:
      None
    • Number of attachments :
      0

      Description

      I need to generate a Chinese announcement, would you please add the following velocity property into parameters
      input.encoding
      output.encoding

        Issue Links

          Activity

          Hide
          Dennis Lundberg added a comment -

          Do you want to be able to specify the input and output encodings in the configuration element for this plugin in your pom, like this?

            <configuration>
              <inputEncoding>UTF-8</inputEncoding>
              <outputEncoding>UTF-8</outputEncoding>
            </configuration>
          

          Then those parameters should be forwarded to the velocity context as the properties "input.encoding" and output.encoding"?

          Show
          Dennis Lundberg added a comment - Do you want to be able to specify the input and output encodings in the configuration element for this plugin in your pom, like this? <configuration> <inputEncoding>UTF-8</inputEncoding> <outputEncoding>UTF-8</outputEncoding> </configuration> Then those parameters should be forwarded to the velocity context as the properties "input.encoding" and output.encoding"?
          Hide
          Benjamin Bentmann added a comment -

          The default values for these new parameters should follow our proposal about Source File Encoding.

          Show
          Benjamin Bentmann added a comment - The default values for these new parameters should follow our proposal about Source File Encoding .
          Hide
          Olivier Lamy added a comment -

          fixed in rev 710219
          Feel free to reopen it if you have any issues (I can't with chinese characters ).

          Show
          Olivier Lamy added a comment - fixed in rev 710219 Feel free to reopen it if you have any issues (I can't with chinese characters ).

            People

            • Assignee:
              Unassigned
              Reporter:
              Yao Yong
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: