Skip to content

Commit 5dcd5bf

Browse files
build: set JavaCC options in the Maven build
Signed-off-by: Andreas Reichel <andreas@manticore-projects.com>
1 parent e842e18 commit 5dcd5bf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pom.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,21 +206,25 @@
206206
<groupId>org.javacc.plugin</groupId>
207207
<artifactId>javacc-maven-plugin</artifactId>
208208
<version>3.0.3</version>
209-
210209
<executions>
211210
<execution>
212211
<id>javacc</id>
213212
<phase>generate-sources</phase>
214213
<goals>
215214
<goal>jjtree-javacc</goal>
216215
</goals>
216+
<configuration>
217+
<grammarEncoding>UTF-8</grammarEncoding>
218+
<isStatic>false</isStatic>
219+
<jdkVersion>1.8</jdkVersion>
220+
</configuration>
217221
</execution>
218222
</executions>
219223
<dependencies>
220224
<dependency>
221225
<groupId>net.java.dev.javacc</groupId>
222226
<artifactId>javacc</artifactId>
223-
<version>7.0.13</version>
227+
<version>[7.0.13,)</version>
224228
</dependency>
225229
</dependencies>
226230
</plugin>

0 commit comments

Comments
 (0)