Bump antlr4 version from 4.8 to 4.5.1,
as it was in conflict with eu.clarin.sru.fcs/fcs-ql
This partially reverts I7e21879e866cc11a2a5553c828d118df38698421 and
I4ee970b774e1fe8bb46bd56def35dfedde06232b.
Change-Id: I2ee9d2409a6fdb370640c346bca67b69f4510d48
diff --git a/pom.xml b/pom.xml
index 763971f..610d340 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,6 +37,8 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jackson.version>[2.9.5,)</jackson.version>
+ <antlr4.version>4.5.1</antlr4.version>
+ <antlr3.version>3.5.2</antlr3.version>
<java.version>1.8</java.version>
<log4j.version>2.13.3</log4j.version>
</properties>
@@ -59,17 +61,17 @@
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
- <version>4.8-1</version>
+ <version>${antlr4.version}</version>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
- <version>4.8-1</version>
+ <version>${antlr4.version}</version>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr-runtime</artifactId>
- <version>3.5.2</version>
+ <version>${antlr3.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
@@ -339,7 +341,7 @@
recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
<groupId>org.antlr</groupId>
<artifactId>antlr3-maven-plugin</artifactId>
- <version>3.5.2</version>
+ <version>${antlr3.version}</version>
<configuration>
<sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
<outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>