Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1471

avro-maven-plugin schema generation should use project.build.sourceEncoding for generated files

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.7
    • Fix Version/s: 1.7.7
    • Component/s: java
    • Labels:
      None
    • Environment:

      MacOS 10.9

    • Tags:
      avro-maven-plugin encoding

      Description

      avro-maven-plugin generates java sources using system default encoding which is not good if maven project sources' encoding is different (which is often true on OS with non-UTF-8 system encoding like OSX and Windows) as generated files encoding differs from the rest of the project sources.

      It would be great if avro-maven-plugin used the project.build.sourceEncoding property for generated sources.

        Attachments

        1. AVRO-1471.patch
          6 kB
          Eugene Mustaphin

          Activity

            People

            • Assignee:
              eumust Eugene Mustaphin
              Reporter:
              eumust Eugene Mustaphin
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: