Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-94

Use correct encoding for plugin descriptor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.4.2
    • API
    • None
    • Patch

    Description

      The plugin.xml is currently written without a XML declaration, defaulting the encoding to UTF-8. However, the actual Writer being employed is using the JVM's default encoding, yielding invalid XML for non-ascii characters if file.encoding != UTF-8.

      Attachments

        1. plugin-descriptor-encoding.patch
          2 kB
          Benjamin Bentmann

        Activity

          People

            hboutemy Herve Boutemy
            bentmann Benjamin Bentmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: