【发布时间】:2018-02-05 09:19:41
【问题描述】:
我想使用 Avro 模式和 mvn 而不是 sbt 生成带有 getter、setter 和构造函数的 scala 类。
谢谢
【问题讨论】:
我想使用 Avro 模式和 mvn 而不是 sbt 生成带有 getter、setter 和构造函数的 scala 类。
谢谢
【问题讨论】:
您可以为此使用 Avro4s 并添加以下内容:
<dependency>
<groupId>com.sksamuel.avro4s</groupId>
<artifactId>avro4s-core_2.11</artifactId>
<version>xxx</version>
</dependency>
更多关于使用this Avro4s的详情
【讨论】: