Skip to content

Latest commit

 

History

History

maven-avro-annotation-editor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Pipelines maven plugin

Maven plugin adds new annotations @DefaultCoder(AvroCoder.class) and Issue interface to avro generated classes.

How to use:

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>