Skip to content

Instantly share code, notes, and snippets.

@AlexanderSavochkin
Created October 29, 2015 07:12
Show Gist options
  • Save AlexanderSavochkin/cdb2f70363108012adcd to your computer and use it in GitHub Desktop.
Save AlexanderSavochkin/cdb2f70363108012adcd to your computer and use it in GitHub Desktop.
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javacc-maven-plugin</artifactId>
<version>2.6</version>
<dependencies>
<dependency>
<groupId>net.java.dev.javacc</groupId>
<artifactId>javacc</artifactId>
<version>6.1.2</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>javacc</id>
<phase>generate-sources</phase>
<goals>
<goal>javacc</goal>
</goals>
</execution>
<execution>
<id>jjtree-javacc</id>
<phase>generate-sources</phase>
<goals>
<goal>jjtree-javacc</goal>
</goals>
</execution>
</executions>
<configuration>
<grammarEncoding>UTF-8</grammarEncoding>
</configuration>
</plugin>
</plugins>
</build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment