Removes compile dependency on antlr4-maven-plugin (Closes #111)
Change-Id: I1c8974ab2ff9268ce3a7bc6d1f24769d996504e8
Reviewed-on: https://korap.ids-mannheim.de/gerrit/c/KorAP/Koral/+/5824
Reviewed-by: margaretha <margaretha@ids-mannheim.de>
diff --git a/pom.xml b/pom.xml
index 763ab86..52f4951 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,19 +63,6 @@
<artifactId>antlr4-runtime</artifactId>
<version>${antlr4.version}</version>
</dependency>
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr4-maven-plugin</artifactId>
- <version>${antlr4.version}</version>
- <!-- <scope>provided</scope> -->
- <exclusions>
- <!-- incompatible with mock server -->
- <exclusion>
- <groupId>org.sonatype.sisu</groupId>
- <artifactId>sisu-guava</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
<!-- adding manually due to Shell Command Injection and Directory Traversal
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000487
https://cwe.mitre.org/data/definitions/22.html -->
diff --git a/src/main/java/de/ids_mannheim/korap/query/serialize/AnnisQueryProcessor.java b/src/main/java/de/ids_mannheim/korap/query/serialize/AnnisQueryProcessor.java
index 4ccf2a6..661a331 100644
--- a/src/main/java/de/ids_mannheim/korap/query/serialize/AnnisQueryProcessor.java
+++ b/src/main/java/de/ids_mannheim/korap/query/serialize/AnnisQueryProcessor.java
@@ -11,7 +11,6 @@
import java.util.NoSuchElementException;
import java.util.Set;
-import org.antlr.v4.parse.ANTLRParser.throwsSpec_return;
import org.antlr.v4.runtime.ANTLRInputStream;
import org.antlr.v4.runtime.BailErrorStrategy;
import org.antlr.v4.runtime.CharStream;