Share →

Syntax maven plugin usage


To install syntax-maven-plugin in your project, you need to enter the following plugin in your pom file under plugins.

  <plugin>
    <groupId>me.jaimegarza</groupId>
    <artifactId>syntax-maven-plugin</artifactId>
    <version>1.0.1</version>
    <executions> 
      <execution>
        <id>generate-parser</id>
        <phase>generate-sources</phase>
        <goals>
          <goal>generate</goal>
        </goals>
      </execution>
      <configuration>
      ...
      </configuration>
    </executions>
  </plugin>

Please refer to the Reference for additional configuration details