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

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.7
    • 1.7.7
    • java
    • None
    • MacOS 10.9

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: