Maven plugin adds new annotations @DefaultCoder(AvroCoder.class) and Issue interface to avro generated classes.
avro-generated-path - the path to generated classes package avro-namespace - the namespace used in Avro schemas
<!-- Change generated avros, add GBIF features -->
<plugin>
<groupId>org.gbif.pipelines</groupId>
<artifactId>maven-avro-annotation-editor</artifactId>
<executions>
<execution>
<goals>
<goal>postprocess</goal>
</goals>
<configuration>
<directory>${avro-generated-path}</directory>
<defaultPackage>${avro-namespace}</defaultPackage>
</configuration>
</execution>
</executions>
</plugin>