You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Arek Burdach (JIRA)" <ji...@apache.org> on 2018/08/06 09:59:00 UTC

[jira] [Created] (AVRO-2207) avro-maven-plugin don't specify encoding for files generated from avdls and avprs

Arek Burdach created AVRO-2207:
----------------------------------

             Summary: avro-maven-plugin don't specify encoding for files generated from avdls and avprs
                 Key: AVRO-2207
                 URL: https://issues.apache.org/jira/browse/AVRO-2207
             Project: Avro
          Issue Type: Bug
          Components: java
    Affects Versions: 1.8.2
            Reporter: Arek Burdach


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).

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)