-
download avro-tools 1.9.1 (e.g. http://archive.apache.org/dist/avro/avro-1.9.1/java/avro-tools-1.9.1.jar)
-
go to
src/main/avro/example
-
run avrotools
java -jar avro-tools-1.9.1.jar compile schema Simple.avsc Complex.avsc .
Maybe definition of map in Comple.avsc
is wrong and plugin can not detect correct order how to generate files.
{ "name": "fooComplex", "type": { "type": "map", "values": { "type": "Simple" } } }
If I change the definition to
{ "name": "fooComplex", "type": { "type": "map", "values": "Simple" } }
Than plugin works.