blob: 79d1c0a31ec4ec03561a88c590cdea9c249d74a5 [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
Akrona03dc502023-09-11 10:50:30 +02005 <groupId>de.ids-mannheim.korap.koral</groupId>
margaretha842af332016-06-14 16:31:05 +02006 <artifactId>Koral</artifactId>
Akron87bf44e2024-07-12 11:29:50 +02007 <version>0.44.0</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>
ElenaIrimiaf7046142023-07-26 10:37:20 +020035 <developer>
36 <name>Elena Irimia</name>
37 </developer>
margaretha842af332016-06-14 16:31:05 +020038 </developers>
Akrone9c81d12016-06-13 17:27:21 +020039
margaretha842af332016-06-14 16:31:05 +020040 <properties>
margarethaf7dbe332016-06-16 20:14:26 +020041 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
dependabot[bot]62cd1b32024-11-28 17:56:01 +000042 <jackson.version>2.18.2</jackson.version>
dependabot[bot]b4738a32021-11-08 17:01:45 +000043 <antlr4.version>4.9.3</antlr4.version>
dependabot[bot]9d599e12022-05-23 10:31:49 +000044 <antlr3.version>3.5.3</antlr3.version>
Marc Kupietz63c31a42024-12-13 16:04:52 +010045 <java.version>17</java.version>
dependabot[bot]fd413f82024-11-22 17:10:09 +000046 <log4j.version>2.24.2</log4j.version>
margaretha842af332016-06-14 16:31:05 +020047 </properties>
margarethaf7dbe332016-06-16 20:14:26 +020048
margaretha842af332016-06-14 16:31:05 +020049 <repositories>
50 <repository>
51 <id>id-maven-repo</id>
margaretha09667672021-05-10 19:52:34 +020052 <url>https://maven.indexdata.com</url>
margaretha842af332016-06-14 16:31:05 +020053 </repository>
54 <repository>
55 <id>CLARIN</id>
56 <name>CLARIN Repository</name>
57 <url>https://nexus.clarin.eu/content/repositories/Clarin</url>
58 <snapshots>
59 <enabled>false</enabled>
60 </snapshots>
61 </repository>
62 </repositories>
63 <dependencies>
margaretha842af332016-06-14 16:31:05 +020064 <dependency>
65 <groupId>org.antlr</groupId>
66 <artifactId>antlr4-runtime</artifactId>
Akron8e28adf2020-07-24 14:32:56 +020067 <version>${antlr4.version}</version>
margaretha842af332016-06-14 16:31:05 +020068 </dependency>
margaretha7e8fad32021-06-24 19:08:07 +020069 <!-- adding manually due to Shell Command Injection and Directory Traversal
70 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000487
71 https://cwe.mitre.org/data/definitions/22.html -->
72 <dependency>
73 <groupId>org.codehaus.plexus</groupId>
74 <artifactId>plexus-utils</artifactId>
dependabot[bot]f6ee13c2024-09-24 17:47:52 +000075 <version>4.0.2</version>
margaretha7e8fad32021-06-24 19:08:07 +020076 </dependency>
margaretha842af332016-06-14 16:31:05 +020077 <dependency>
78 <groupId>org.antlr</groupId>
79 <artifactId>antlr-runtime</artifactId>
Akron8e28adf2020-07-24 14:32:56 +020080 <version>${antlr3.version}</version>
margaretha842af332016-06-14 16:31:05 +020081 <scope>compile</scope>
82 </dependency>
83 <dependency>
84 <groupId>com.google.guava</groupId>
85 <artifactId>guava</artifactId>
dependabot[bot]0a5a62f2024-09-24 17:48:08 +000086 <version>33.3.1-jre</version>
margaretha842af332016-06-14 16:31:05 +020087 </dependency>
88 <dependency>
89 <groupId>com.fasterxml.jackson.core</groupId>
90 <artifactId>jackson-core</artifactId>
margaretha666988f2017-11-13 15:30:06 +010091 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020092 </dependency>
93 <dependency>
94 <groupId>com.fasterxml.jackson.core</groupId>
95 <artifactId>jackson-annotations</artifactId>
margaretha666988f2017-11-13 15:30:06 +010096 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020097 </dependency>
98 <dependency>
99 <groupId>com.fasterxml.jackson.core</groupId>
100 <artifactId>jackson-databind</artifactId>
margaretha666988f2017-11-13 15:30:06 +0100101 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +0200102 </dependency>
103 <dependency>
104 <groupId>junit</groupId>
105 <artifactId>junit</artifactId>
dependabot[bot]d204fcb2021-02-15 05:28:59 +0000106 <version>4.13.2</version>
margaretha842af332016-06-14 16:31:05 +0200107 <scope>test</scope>
108 </dependency>
109 <dependency>
110 <groupId>commons-lang</groupId>
111 <artifactId>commons-lang</artifactId>
112 <version>2.6</version>
113 </dependency>
114 <dependency>
115 <groupId>org.z3950.zing</groupId>
116 <artifactId>cql-java</artifactId>
margaretha09667672021-05-10 19:52:34 +0200117 <version>1.13</version>
margaretha842af332016-06-14 16:31:05 +0200118 </dependency>
119 <dependency>
margarethaab205842019-02-07 16:38:41 +0100120 <groupId>org.apache.logging.log4j</groupId>
121 <artifactId>log4j-api</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200122 <version>${log4j.version}</version>
margaretha842af332016-06-14 16:31:05 +0200123 </dependency>
124 <dependency>
margarethaab205842019-02-07 16:38:41 +0100125 <groupId>org.apache.logging.log4j</groupId>
126 <artifactId>log4j-core</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200127 <version>${log4j.version}</version>
margarethaab205842019-02-07 16:38:41 +0100128 </dependency>
129 <dependency>
130 <groupId>org.apache.logging.log4j</groupId>
Marc Kupietzf78e7322024-12-13 15:52:54 +0100131 <artifactId>log4j-slf4j2-impl</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200132 <version>${log4j.version}</version>
margarethaab205842019-02-07 16:38:41 +0100133 </dependency>
134 <dependency>
135 <groupId>org.apache.logging.log4j</groupId>
136 <artifactId>log4j-jul</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200137 <version>${log4j.version}</version>
margarethaab205842019-02-07 16:38:41 +0100138 <exclusions>
139 <exclusion>
140 <groupId>org.slf4j</groupId>
141 <artifactId>slf4j-api</artifactId>
142 </exclusion>
143 </exclusions>
margaretha842af332016-06-14 16:31:05 +0200144 </dependency>
145 <dependency>
146 <groupId>org.slf4j</groupId>
147 <artifactId>slf4j-api</artifactId>
dependabot[bot]6cf70d62024-08-12 17:49:13 +0000148 <version>2.0.16</version>
margaretha842af332016-06-14 16:31:05 +0200149 </dependency>
150 <dependency>
151 <groupId>eu.clarin.sru.fcs</groupId>
152 <artifactId>fcs-simple-endpoint</artifactId>
dependabot[bot]21add442024-12-06 17:09:08 +0000153 <version>1.8.0</version>
margaretha842af332016-06-14 16:31:05 +0200154 </dependency>
ElenaIrimiaf7046142023-07-26 10:37:20 +0200155 </dependencies>
margaretha842af332016-06-14 16:31:05 +0200156 <build>
157 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
158 <outputDirectory>${basedir}/target/classes</outputDirectory>
159 <plugins>
margaretha2f9d28c2018-01-10 16:16:49 +0100160 <plugin>
Marc Kupietza8269db2020-07-14 15:52:06 +0200161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-clean-plugin</artifactId>
dependabot[bot]1448a802024-06-20 17:10:19 +0000163 <version>3.4.0</version>
margaretha2f9d28c2018-01-10 16:16:49 +0100164 <configuration>
165 <filesets>
166 <fileset>
167 <directory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse</directory>
168 <includes>
169 <include>**/*.java</include>
170 <include>**/*.tokens</include>
171 </includes>
172 <excludes>
173 <exclude>**/IErrorReporter.java</exclude>
174 <exclude>**/c2ps_opAnnot.java</exclude>
175 <exclude>**/c2ps_opBED.java</exclude>
176 <exclude>**/c2ps_opELEM.java</exclude>
177 <exclude>**/c2ps_opIN.java</exclude>
178 <exclude>**/c2ps_opOV.java</exclude>
179 <exclude>**/c2ps_opPROX.java</exclude>
Franck Bodmer6145d7a2023-10-19 10:01:59 +0200180 <exclude>**/c2ps_opREG.java</exclude>
margaretha2f9d28c2018-01-10 16:16:49 +0100181 <exclude>**/c2ps_opWF.java</exclude>
182 <exclude>**/c2ps_optCase.java</exclude>
183 <exclude>**/.gitignore</exclude>
184 <exclude>fcsql/*</exclude>
185 </excludes>
186 <followSymlinks>false</followSymlinks>
187 </fileset>
188 </filesets>
189 </configuration>
190 </plugin>
margaretha842af332016-06-14 16:31:05 +0200191 <plugin>
192 <groupId>org.apache.maven.plugins</groupId>
margaretha87291cf2017-11-17 14:36:16 +0100193 <artifactId>maven-surefire-plugin</artifactId>
dependabot[bot]5288c4f2024-11-04 17:31:50 +0000194 <version>3.5.2</version>
margaretha87291cf2017-11-17 14:36:16 +0100195 <configuration>
margarethaf011f262019-02-20 17:13:34 +0100196 <useSystemClassLoader>false</useSystemClassLoader>
197 <excludes>
198 <exclude>**/OPINTest.java</exclude>
199 </excludes>
margaretha87291cf2017-11-17 14:36:16 +0100200 </configuration>
201 </plugin>
202 <plugin>
203 <groupId>org.apache.maven.plugins</groupId>
margaretha842af332016-06-14 16:31:05 +0200204 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]44010342024-03-19 17:57:50 +0000205 <version>3.13.0</version>
margaretha842af332016-06-14 16:31:05 +0200206 <configuration>
margaretha5c260752018-02-12 16:05:51 +0100207 <!-- <verbose>true</verbose>
208 <fork>true</fork> -->
margaretha53965cf2018-02-12 16:19:10 +0100209 <!-- <executable>${env.JAVA7_HOME}/bin/javac</executable> -->
margaretha53965cf2018-02-12 16:19:10 +0100210 <source>${java.version}</source>
211 <target>${java.version}</target>
margaretha842af332016-06-14 16:31:05 +0200212 </configuration>
213 </plugin>
margarethaf7dbe332016-06-16 20:14:26 +0200214 <!-- <plugin>
215 <groupId>org.codehaus.mojo</groupId>
216 <artifactId>properties-maven-plugin</artifactId>
217 <version>1.0.0</version>
218 <executions>
219 <execution>
220 <goals>
221 <goal>set-system-properties</goal>
222 </goals>
223 <configuration>
224 <properties>
225 <property>
226 <name>https.protocols</name>
227 <value>TLSv1.2</value>
228 </property>
229 </properties>
230 </configuration>
231 </execution>
232 </executions>
233 </plugin> -->
234 <!-- <plugin>
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-surefire-plugin</artifactId>
237 <version>2.19.1</version>
238 <configuration>
239 <systemProperties>
240 <property>
241 <name>https.protocols</name>
242 <value>TLSv1.2</value>
243 </property>
244 </systemProperties>
245 <argLine>-Djava.https.protocols=TLSv1.2</argLine>
246 </configuration>
247 </plugin>
248 <plugin>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-failsafe-plugin</artifactId>
251 <version>2.19.1</version>
252 <configuration>
253 <systemPropertyVariables>
254 <https.protocols>TLSv1.2</https.protocols>
255 </systemPropertyVariables>
256 </configuration>
257 </plugin> -->
margaretha842af332016-06-14 16:31:05 +0200258 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
259 <plugin>
260 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
261 <artifactId>maven-java-formatter-plugin</artifactId>
262 <version>0.4</version>
263 <configuration>
264 <configFile>${project.basedir}/Format.xml</configFile>
265 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
margaretha53965cf2018-02-12 16:19:10 +0100266 <compilerSource>${java.version}</compilerSource>
267 <compilerCompliance>${java.version}</compilerCompliance>
268 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
margaretha842af332016-06-14 16:31:05 +0200269 </configuration>
270 </plugin>
271 <plugin>
272 <groupId>org.apache.maven.plugins</groupId>
273 <artifactId>maven-dependency-plugin</artifactId>
274 <executions>
275 <execution>
margarethadb09b032017-05-30 18:23:31 +0200276 <phase>package</phase>
margaretha842af332016-06-14 16:31:05 +0200277 <goals>
278 <goal>copy-dependencies</goal>
279 </goals>
280 <configuration>
281 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
282 </configuration>
283 </execution>
284 </executions>
285 </plugin>
286 <plugin>
287 <groupId>org.apache.maven.plugins</groupId>
288 <artifactId>maven-jar-plugin</artifactId>
dependabot[bot]a2ede342024-06-20 17:10:14 +0000289 <version>3.4.2</version>
margaretha842af332016-06-14 16:31:05 +0200290 <configuration>
291 <archive>
292 <manifest>
293 <addClasspath>true</addClasspath>
294 <classpathPrefix>../lib/</classpathPrefix>
295 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
296 </manifest>
297 </archive>
298 </configuration>
299 </plugin>
300 <plugin>
301 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
302 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
303 <groupId>org.antlr</groupId>
304 <artifactId>antlr4-maven-plugin</artifactId>
margaretha32f424a2021-05-10 15:54:41 +0200305 <version>${antlr4.version}</version>
margaretha842af332016-06-14 16:31:05 +0200306 <executions>
307 <execution>
308 <id>poliqarpplus</id>
309 <goals>
310 <goal>antlr4</goal>
311 </goals>
312 <configuration>
313 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
314 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
315 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
316 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100317 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200318 </execution>
319 <execution>
320 <id>annis</id>
321 <goals>
322 <goal>antlr4</goal>
323 </goals>
324 <configuration>
325 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
326 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
327 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
328 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100329 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200330 </execution>
331 <execution>
332 <id>collection</id>
333 <goals>
334 <goal>antlr4</goal>
335 </goals>
336 <configuration>
337 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
338 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
339 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
340 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100341 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200342 </execution>
ElenaIrimiaf7046142023-07-26 10:37:20 +0200343 <execution>
344 <id>cqp</id>
345 <goals>
346 <goal>antlr4</goal>
347 </goals>
348 <configuration>
349 <sourceDirectory>${basedir}/src/main/antlr/cqp</sourceDirectory>
350 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cqp</outputDirectory>
351 <libDirectory>${basedir}/src/main/antlr/cqp</libDirectory>
352 </configuration>
353 </execution>
354 </executions>
margaretha842af332016-06-14 16:31:05 +0200355 </plugin>
356 <plugin>
357 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
358 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
359 <groupId>org.antlr</groupId>
360 <artifactId>antlr3-maven-plugin</artifactId>
Akron8e28adf2020-07-24 14:32:56 +0200361 <version>${antlr3.version}</version>
margaretha842af332016-06-14 16:31:05 +0200362 <configuration>
363 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
364 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
365 <libDirectory>${basedir}/src/main/antlr</libDirectory>
366 </configuration>
367 <executions>
368 <execution>
369 <goals>
370 <goal>antlr</goal>
371 </goals>
margaretha5c260752018-02-12 16:05:51 +0100372 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200373 </execution>
374 </executions>
375 </plugin>
376 </plugins>
Akron908a9382021-03-04 17:26:25 +0100377 <resources>
378 <resource>
379 <directory>src/main/resources</directory>
380 <filtering>true</filtering>
381 <includes>
382 <include>koral.info</include>
383 </includes>
384 </resource>
385 </resources>
ElenaIrimiaf7046142023-07-26 10:37:20 +0200386 <pluginManagement>
387 <plugins>
388 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
389 <plugin>
390 <groupId>org.eclipse.m2e</groupId>
391 <artifactId>lifecycle-mapping</artifactId>
392 <version>1.0.0</version>
393 <configuration>
394 <lifecycleMappingMetadata>
395 <pluginExecutions>
396 <pluginExecution>
397 <pluginExecutionFilter>
398 <groupId>org.antlr</groupId>
399 <artifactId>
400 antlr3-maven-plugin
401 </artifactId>
402 <versionRange>
403 [3.5.2,)
404 </versionRange>
405 <goals>
406 <goal>antlr</goal>
407 </goals>
408 </pluginExecutionFilter>
409 <action>
410 <ignore></ignore>
411 </action>
412 </pluginExecution>
413 </pluginExecutions>
414 </lifecycleMappingMetadata>
415 </configuration>
416 </plugin>
417 </plugins>
418 </pluginManagement>
margaretha842af332016-06-14 16:31:05 +0200419 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000420</project>