- <plugin>
- <groupId>org.antlr</groupId>
- <artifactId>antlr4-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>antlr4</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <sourceDirectory>${project.basedir}/src/main/antlr</sourceDirectory>
- <outputDirectory>${project.build.directory}/generated-sources/parser</outputDirectory>
- <visitor>true</visitor>
- <listener>true</listener>
- </configuration>
- </plugin>