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

avro-maven-plugin don't specify encoding for files generated from avdls and avprs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.2
    • 1.9.0
    • java
    • None

    Description

      When someone generates source file from avdl/avpr, compiler uses system default encoding for output files. It can be different from this expected by project's compiler. It is quite usual thing that developers specify source encoding on project level using project.build.sourceEncoding property and expects that it will solve the problem.

      The problem doesn't exists when sources are generated from avsc. That implementation sets output encoding to this taken from project.build.sourceEncoding.

      Proposed solutions is to use the same behaviour in other two cases (avdl and avpr).

       

      Attachments

        Issue Links

          Activity

            People

              dkulp Daniel Kulp
              arkadiusx Arek Burdach
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: