blob: 248299b6afbf223a996303a3bf48b0938dda65d4 [file] [log] [blame]
Joachim Bingel4b405f52013-11-15 15:29:30 +00001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
margaretha842af332016-06-14 16:31:05 +02002 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
Michael Hanl10d21502014-02-07 20:09:58 +00004
margaretha842af332016-06-14 16:31:05 +02005 <groupId>de.ids_mannheim.korap</groupId>
6 <artifactId>Koral</artifactId>
margaretha3bfa8d62021-12-17 16:28:29 +01007 <version>0.38.1</version>
margaretha842af332016-06-14 16:31:05 +02008 <packaging>jar</packaging>
9 <name>Koral</name>
Akron87275682020-03-04 07:32:55 +010010 <url>https://korap.ids-mannheim.de</url>
Akrone9c81d12016-06-13 17:27:21 +020011
margaretha842af332016-06-14 16:31:05 +020012 <organization>
13 <name>IDS Mannheim</name>
14 <url>http://www.ids-mannheim.de/</url>
15 </organization>
Akrone9c81d12016-06-13 17:27:21 +020016
margaretha842af332016-06-14 16:31:05 +020017 <developers>
18 <developer>
19 <name>Joachim Bingel</name>
20 <email>bingel@ids-mannheim.de</email>
21 </developer>
22 <developer>
23 <name>Nils Diewald</name>
24 <email>diewald@ids-mannheim.de</email>
25 <url>http://nils-diewald.de</url>
26 </developer>
27 <developer>
28 <name>Michael Hanl</name>
29 <email>hanl@ids-mannheim.de</email>
30 </developer>
31 <developer>
32 <name>Eliza Margaretha</name>
33 <email>margaretha@ids-mannheim.de</email>
34 </developer>
35 </developers>
Akrone9c81d12016-06-13 17:27:21 +020036
margaretha842af332016-06-14 16:31:05 +020037 <properties>
margarethaf7dbe332016-06-16 20:14:26 +020038 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Akron7edacf42021-12-14 14:43:26 +010039 <jackson.version>[2.12.4,)</jackson.version>
dependabot[bot]b4738a32021-11-08 17:01:45 +000040 <antlr4.version>4.9.3</antlr4.version>
dependabot[bot]9d599e12022-05-23 10:31:49 +000041 <antlr3.version>3.5.3</antlr3.version>
margaretha53965cf2018-02-12 16:19:10 +010042 <java.version>1.8</java.version>
Akron43dd2462022-01-03 09:18:49 +010043 <log4j.version>[2.17.1,)</log4j.version>
margaretha842af332016-06-14 16:31:05 +020044 </properties>
margarethaf7dbe332016-06-16 20:14:26 +020045
margaretha842af332016-06-14 16:31:05 +020046 <repositories>
47 <repository>
48 <id>id-maven-repo</id>
margaretha09667672021-05-10 19:52:34 +020049 <url>https://maven.indexdata.com</url>
margaretha842af332016-06-14 16:31:05 +020050 </repository>
51 <repository>
52 <id>CLARIN</id>
53 <name>CLARIN Repository</name>
54 <url>https://nexus.clarin.eu/content/repositories/Clarin</url>
55 <snapshots>
56 <enabled>false</enabled>
57 </snapshots>
58 </repository>
59 </repositories>
60 <dependencies>
margaretha842af332016-06-14 16:31:05 +020061 <dependency>
62 <groupId>org.antlr</groupId>
63 <artifactId>antlr4-runtime</artifactId>
Akron8e28adf2020-07-24 14:32:56 +020064 <version>${antlr4.version}</version>
margaretha842af332016-06-14 16:31:05 +020065 </dependency>
66 <dependency>
67 <groupId>org.antlr</groupId>
68 <artifactId>antlr4-maven-plugin</artifactId>
Akron8e28adf2020-07-24 14:32:56 +020069 <version>${antlr4.version}</version>
margaretha32f424a2021-05-10 15:54:41 +020070 <!-- <scope>provided</scope> -->
71 <exclusions>
margaretha7e8fad32021-06-24 19:08:07 +020072 <!-- incompatible with mock server -->
margaretha32f424a2021-05-10 15:54:41 +020073 <exclusion>
74 <groupId>org.sonatype.sisu</groupId>
75 <artifactId>sisu-guava</artifactId>
76 </exclusion>
77 </exclusions>
margaretha7e8fad32021-06-24 19:08:07 +020078 </dependency>
79 <!-- adding manually due to Shell Command Injection and Directory Traversal
80 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000487
81 https://cwe.mitre.org/data/definitions/22.html -->
82 <dependency>
83 <groupId>org.codehaus.plexus</groupId>
84 <artifactId>plexus-utils</artifactId>
dependabot[bot]96376622021-08-27 17:01:28 +000085 <version>3.4.1</version>
margaretha7e8fad32021-06-24 19:08:07 +020086 </dependency>
margaretha842af332016-06-14 16:31:05 +020087 <dependency>
88 <groupId>org.antlr</groupId>
89 <artifactId>antlr-runtime</artifactId>
Akron8e28adf2020-07-24 14:32:56 +020090 <version>${antlr3.version}</version>
margaretha842af332016-06-14 16:31:05 +020091 <scope>compile</scope>
92 </dependency>
93 <dependency>
94 <groupId>com.google.guava</groupId>
95 <artifactId>guava</artifactId>
Akron47174952020-06-16 18:18:00 +020096 <version>[29.0-jre,)</version>
margaretha842af332016-06-14 16:31:05 +020097 </dependency>
98 <dependency>
99 <groupId>com.fasterxml.jackson.core</groupId>
100 <artifactId>jackson-core</artifactId>
margaretha666988f2017-11-13 15:30:06 +0100101 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +0200102 </dependency>
103 <dependency>
104 <groupId>com.fasterxml.jackson.core</groupId>
105 <artifactId>jackson-annotations</artifactId>
margaretha666988f2017-11-13 15:30:06 +0100106 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +0200107 </dependency>
108 <dependency>
109 <groupId>com.fasterxml.jackson.core</groupId>
110 <artifactId>jackson-databind</artifactId>
margaretha666988f2017-11-13 15:30:06 +0100111 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +0200112 </dependency>
113 <dependency>
114 <groupId>junit</groupId>
115 <artifactId>junit</artifactId>
dependabot[bot]d204fcb2021-02-15 05:28:59 +0000116 <version>4.13.2</version>
margaretha842af332016-06-14 16:31:05 +0200117 <scope>test</scope>
118 </dependency>
119 <dependency>
120 <groupId>commons-lang</groupId>
121 <artifactId>commons-lang</artifactId>
122 <version>2.6</version>
123 </dependency>
124 <dependency>
125 <groupId>org.z3950.zing</groupId>
126 <artifactId>cql-java</artifactId>
margaretha09667672021-05-10 19:52:34 +0200127 <version>1.13</version>
margaretha842af332016-06-14 16:31:05 +0200128 </dependency>
129 <dependency>
margarethaab205842019-02-07 16:38:41 +0100130 <groupId>org.apache.logging.log4j</groupId>
131 <artifactId>log4j-api</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200132 <version>${log4j.version}</version>
margaretha842af332016-06-14 16:31:05 +0200133 </dependency>
134 <dependency>
margarethaab205842019-02-07 16:38:41 +0100135 <groupId>org.apache.logging.log4j</groupId>
136 <artifactId>log4j-core</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200137 <version>${log4j.version}</version>
margarethaab205842019-02-07 16:38:41 +0100138 </dependency>
139 <dependency>
140 <groupId>org.apache.logging.log4j</groupId>
141 <artifactId>log4j-slf4j-impl</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200142 <version>${log4j.version}</version>
margarethaab205842019-02-07 16:38:41 +0100143 </dependency>
144 <dependency>
145 <groupId>org.apache.logging.log4j</groupId>
146 <artifactId>log4j-jul</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200147 <version>${log4j.version}</version>
margarethaab205842019-02-07 16:38:41 +0100148 <exclusions>
149 <exclusion>
150 <groupId>org.slf4j</groupId>
151 <artifactId>slf4j-api</artifactId>
152 </exclusion>
153 </exclusions>
margaretha842af332016-06-14 16:31:05 +0200154 </dependency>
155 <dependency>
156 <groupId>org.slf4j</groupId>
157 <artifactId>slf4j-api</artifactId>
dependabot[bot]48f81712022-02-08 17:02:28 +0000158 <version>1.7.36</version>
margaretha842af332016-06-14 16:31:05 +0200159 </dependency>
160 <dependency>
161 <groupId>eu.clarin.sru.fcs</groupId>
162 <artifactId>fcs-simple-endpoint</artifactId>
dependabot[bot]6ce96722021-12-20 17:01:59 +0000163 <version>1.6.0</version>
margaretha842af332016-06-14 16:31:05 +0200164 </dependency>
margaretha842af332016-06-14 16:31:05 +0200165 </dependencies>
166 <build>
167 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
168 <outputDirectory>${basedir}/target/classes</outputDirectory>
169 <plugins>
margaretha2f9d28c2018-01-10 16:16:49 +0100170 <plugin>
Marc Kupietza8269db2020-07-14 15:52:06 +0200171 <groupId>org.apache.maven.plugins</groupId>
172 <artifactId>maven-clean-plugin</artifactId>
dependabot[bot]75ef1902022-04-05 17:02:03 +0000173 <version>3.2.0</version>
margaretha2f9d28c2018-01-10 16:16:49 +0100174 <configuration>
175 <filesets>
176 <fileset>
177 <directory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse</directory>
178 <includes>
179 <include>**/*.java</include>
180 <include>**/*.tokens</include>
181 </includes>
182 <excludes>
183 <exclude>**/IErrorReporter.java</exclude>
184 <exclude>**/c2ps_opAnnot.java</exclude>
185 <exclude>**/c2ps_opBED.java</exclude>
186 <exclude>**/c2ps_opELEM.java</exclude>
187 <exclude>**/c2ps_opIN.java</exclude>
188 <exclude>**/c2ps_opOV.java</exclude>
189 <exclude>**/c2ps_opPROX.java</exclude>
190 <exclude>**/c2ps_opWF.java</exclude>
191 <exclude>**/c2ps_optCase.java</exclude>
192 <exclude>**/.gitignore</exclude>
193 <exclude>fcsql/*</exclude>
194 </excludes>
195 <followSymlinks>false</followSymlinks>
196 </fileset>
197 </filesets>
198 </configuration>
199 </plugin>
margaretha842af332016-06-14 16:31:05 +0200200 <plugin>
201 <groupId>org.apache.maven.plugins</groupId>
margaretha87291cf2017-11-17 14:36:16 +0100202 <artifactId>maven-surefire-plugin</artifactId>
dependabot[bot]e4c27d62020-07-15 05:54:42 +0000203 <version>2.22.2</version>
margaretha87291cf2017-11-17 14:36:16 +0100204 <configuration>
margarethaf011f262019-02-20 17:13:34 +0100205 <useSystemClassLoader>false</useSystemClassLoader>
206 <excludes>
207 <exclude>**/OPINTest.java</exclude>
208 </excludes>
margaretha87291cf2017-11-17 14:36:16 +0100209 </configuration>
210 </plugin>
211 <plugin>
212 <groupId>org.apache.maven.plugins</groupId>
margaretha842af332016-06-14 16:31:05 +0200213 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]e9d5f5e2022-03-11 17:01:55 +0000214 <version>3.10.1</version>
margaretha842af332016-06-14 16:31:05 +0200215 <configuration>
margaretha5c260752018-02-12 16:05:51 +0100216 <!-- <verbose>true</verbose>
217 <fork>true</fork> -->
margaretha53965cf2018-02-12 16:19:10 +0100218 <!-- <executable>${env.JAVA7_HOME}/bin/javac</executable> -->
219 <compilerVersion>2.0</compilerVersion>
220 <source>${java.version}</source>
221 <target>${java.version}</target>
margaretha842af332016-06-14 16:31:05 +0200222 </configuration>
223 </plugin>
margarethaf7dbe332016-06-16 20:14:26 +0200224 <!-- <plugin>
225 <groupId>org.codehaus.mojo</groupId>
226 <artifactId>properties-maven-plugin</artifactId>
227 <version>1.0.0</version>
228 <executions>
229 <execution>
230 <goals>
231 <goal>set-system-properties</goal>
232 </goals>
233 <configuration>
234 <properties>
235 <property>
236 <name>https.protocols</name>
237 <value>TLSv1.2</value>
238 </property>
239 </properties>
240 </configuration>
241 </execution>
242 </executions>
243 </plugin> -->
244 <!-- <plugin>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-surefire-plugin</artifactId>
247 <version>2.19.1</version>
248 <configuration>
249 <systemProperties>
250 <property>
251 <name>https.protocols</name>
252 <value>TLSv1.2</value>
253 </property>
254 </systemProperties>
255 <argLine>-Djava.https.protocols=TLSv1.2</argLine>
256 </configuration>
257 </plugin>
258 <plugin>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-failsafe-plugin</artifactId>
261 <version>2.19.1</version>
262 <configuration>
263 <systemPropertyVariables>
264 <https.protocols>TLSv1.2</https.protocols>
265 </systemPropertyVariables>
266 </configuration>
267 </plugin> -->
margaretha842af332016-06-14 16:31:05 +0200268 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
269 <plugin>
270 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
271 <artifactId>maven-java-formatter-plugin</artifactId>
272 <version>0.4</version>
273 <configuration>
274 <configFile>${project.basedir}/Format.xml</configFile>
275 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
margaretha53965cf2018-02-12 16:19:10 +0100276 <compilerSource>${java.version}</compilerSource>
277 <compilerCompliance>${java.version}</compilerCompliance>
278 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
margaretha842af332016-06-14 16:31:05 +0200279 </configuration>
280 </plugin>
281 <plugin>
282 <groupId>org.apache.maven.plugins</groupId>
283 <artifactId>maven-dependency-plugin</artifactId>
284 <executions>
285 <execution>
margarethadb09b032017-05-30 18:23:31 +0200286 <phase>package</phase>
margaretha842af332016-06-14 16:31:05 +0200287 <goals>
288 <goal>copy-dependencies</goal>
289 </goals>
290 <configuration>
291 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
292 </configuration>
293 </execution>
294 </executions>
295 </plugin>
296 <plugin>
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-jar-plugin</artifactId>
dependabot[bot]5e56e552022-01-12 17:01:41 +0000299 <version>3.2.2</version>
margaretha842af332016-06-14 16:31:05 +0200300 <configuration>
301 <archive>
302 <manifest>
303 <addClasspath>true</addClasspath>
304 <classpathPrefix>../lib/</classpathPrefix>
305 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
306 </manifest>
307 </archive>
308 </configuration>
309 </plugin>
310 <plugin>
311 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
312 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
313 <groupId>org.antlr</groupId>
314 <artifactId>antlr4-maven-plugin</artifactId>
margaretha32f424a2021-05-10 15:54:41 +0200315 <version>${antlr4.version}</version>
margaretha842af332016-06-14 16:31:05 +0200316 <executions>
317 <execution>
318 <id>poliqarpplus</id>
319 <goals>
320 <goal>antlr4</goal>
321 </goals>
322 <configuration>
323 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
324 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
325 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
326 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100327 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200328 </execution>
329 <execution>
330 <id>annis</id>
331 <goals>
332 <goal>antlr4</goal>
333 </goals>
334 <configuration>
335 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
336 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
337 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
338 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100339 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200340 </execution>
341 <execution>
342 <id>collection</id>
343 <goals>
344 <goal>antlr4</goal>
345 </goals>
346 <configuration>
347 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
348 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
349 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
350 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100351 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200352 </execution>
353 </executions>
354 </plugin>
355 <plugin>
356 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
357 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
358 <groupId>org.antlr</groupId>
359 <artifactId>antlr3-maven-plugin</artifactId>
Akron8e28adf2020-07-24 14:32:56 +0200360 <version>${antlr3.version}</version>
margaretha842af332016-06-14 16:31:05 +0200361 <configuration>
362 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
363 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
364 <libDirectory>${basedir}/src/main/antlr</libDirectory>
365 </configuration>
366 <executions>
367 <execution>
368 <goals>
369 <goal>antlr</goal>
370 </goals>
margaretha5c260752018-02-12 16:05:51 +0100371 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200372 </execution>
373 </executions>
374 </plugin>
375 </plugins>
Akron908a9382021-03-04 17:26:25 +0100376 <resources>
377 <resource>
378 <directory>src/main/resources</directory>
379 <filtering>true</filtering>
380 <includes>
381 <include>koral.info</include>
382 </includes>
383 </resource>
384 </resources>
margaretha842af332016-06-14 16:31:05 +0200385 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000386</project>