Last active
May 21, 2020 06:36
-
-
Save talfco/c057d428e6720da37e2facf317bd516c to your computer and use it in GitHub Desktop.
Avro Compiler in Maven.pom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.avro</groupId> | |
<artifactId>avro-maven-plugin</artifactId> | |
<version>1.9.2</version> | |
<executions> | |
<execution> | |
<phase>generate-sources</phase> | |
<goals> | |
<goal>schema</goal> | |
</goals> | |
<configuration> | |
<sourceDirectory>${project.basedir}/src/main/avro/</sourceDirectory> | |
<outputDirectory>${project.basedir}/src/main/java/</outputDirectory> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment