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 10:12:00 UTC

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

     [ https://issues.apache.org/jira/browse/AVRO-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arek Burdach updated AVRO-2207:
-------------------------------
    Comment: was deleted

(was: I've created PR fixing an issue: https://github.com/apache/avro/pull/324)

> 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
>            Priority: Major
>
> 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)