blob: 14f255e9c8726271f508581715e11388d8fb7988 [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 Kupietz1846ec32022-11-15 19:30:24 +010045 <java.version>11</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> -->
210 <compilerVersion>2.0</compilerVersion>
211 <source>${java.version}</source>
212 <target>${java.version}</target>
margaretha842af332016-06-14 16:31:05 +0200213 </configuration>
214 </plugin>
margarethaf7dbe332016-06-16 20:14:26 +0200215 <!-- <plugin>
216 <groupId>org.codehaus.mojo</groupId>
217 <artifactId>properties-maven-plugin</artifactId>
218 <version>1.0.0</version>
219 <executions>
220 <execution>
221 <goals>
222 <goal>set-system-properties</goal>
223 </goals>
224 <configuration>
225 <properties>
226 <property>
227 <name>https.protocols</name>
228 <value>TLSv1.2</value>
229 </property>
230 </properties>
231 </configuration>
232 </execution>
233 </executions>
234 </plugin> -->
235 <!-- <plugin>
236 <groupId>org.apache.maven.plugins</groupId>
237 <artifactId>maven-surefire-plugin</artifactId>
238 <version>2.19.1</version>
239 <configuration>
240 <systemProperties>
241 <property>
242 <name>https.protocols</name>
243 <value>TLSv1.2</value>
244 </property>
245 </systemProperties>
246 <argLine>-Djava.https.protocols=TLSv1.2</argLine>
247 </configuration>
248 </plugin>
249 <plugin>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-failsafe-plugin</artifactId>
252 <version>2.19.1</version>
253 <configuration>
254 <systemPropertyVariables>
255 <https.protocols>TLSv1.2</https.protocols>
256 </systemPropertyVariables>
257 </configuration>
258 </plugin> -->
margaretha842af332016-06-14 16:31:05 +0200259 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
260 <plugin>
261 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
262 <artifactId>maven-java-formatter-plugin</artifactId>
263 <version>0.4</version>
264 <configuration>
265 <configFile>${project.basedir}/Format.xml</configFile>
266 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
margaretha53965cf2018-02-12 16:19:10 +0100267 <compilerSource>${java.version}</compilerSource>
268 <compilerCompliance>${java.version}</compilerCompliance>
269 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
margaretha842af332016-06-14 16:31:05 +0200270 </configuration>
271 </plugin>
272 <plugin>
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-dependency-plugin</artifactId>
275 <executions>
276 <execution>
margarethadb09b032017-05-30 18:23:31 +0200277 <phase>package</phase>
margaretha842af332016-06-14 16:31:05 +0200278 <goals>
279 <goal>copy-dependencies</goal>
280 </goals>
281 <configuration>
282 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
283 </configuration>
284 </execution>
285 </executions>
286 </plugin>
287 <plugin>
288 <groupId>org.apache.maven.plugins</groupId>
289 <artifactId>maven-jar-plugin</artifactId>
dependabot[bot]a2ede342024-06-20 17:10:14 +0000290 <version>3.4.2</version>
margaretha842af332016-06-14 16:31:05 +0200291 <configuration>
292 <archive>
293 <manifest>
294 <addClasspath>true</addClasspath>
295 <classpathPrefix>../lib/</classpathPrefix>
296 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
297 </manifest>
298 </archive>
299 </configuration>
300 </plugin>
301 <plugin>
302 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
303 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
304 <groupId>org.antlr</groupId>
305 <artifactId>antlr4-maven-plugin</artifactId>
margaretha32f424a2021-05-10 15:54:41 +0200306 <version>${antlr4.version}</version>
margaretha842af332016-06-14 16:31:05 +0200307 <executions>
308 <execution>
309 <id>poliqarpplus</id>
310 <goals>
311 <goal>antlr4</goal>
312 </goals>
313 <configuration>
314 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
315 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
316 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
317 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100318 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200319 </execution>
320 <execution>
321 <id>annis</id>
322 <goals>
323 <goal>antlr4</goal>
324 </goals>
325 <configuration>
326 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
327 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
328 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
329 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100330 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200331 </execution>
332 <execution>
333 <id>collection</id>
334 <goals>
335 <goal>antlr4</goal>
336 </goals>
337 <configuration>
338 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
339 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
340 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
341 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100342 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200343 </execution>
ElenaIrimiaf7046142023-07-26 10:37:20 +0200344 <execution>
345 <id>cqp</id>
346 <goals>
347 <goal>antlr4</goal>
348 </goals>
349 <configuration>
350 <sourceDirectory>${basedir}/src/main/antlr/cqp</sourceDirectory>
351 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cqp</outputDirectory>
352 <libDirectory>${basedir}/src/main/antlr/cqp</libDirectory>
353 </configuration>
354 </execution>
355 </executions>
margaretha842af332016-06-14 16:31:05 +0200356 </plugin>
357 <plugin>
358 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
359 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
360 <groupId>org.antlr</groupId>
361 <artifactId>antlr3-maven-plugin</artifactId>
Akron8e28adf2020-07-24 14:32:56 +0200362 <version>${antlr3.version}</version>
margaretha842af332016-06-14 16:31:05 +0200363 <configuration>
364 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
365 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
366 <libDirectory>${basedir}/src/main/antlr</libDirectory>
367 </configuration>
368 <executions>
369 <execution>
370 <goals>
371 <goal>antlr</goal>
372 </goals>
margaretha5c260752018-02-12 16:05:51 +0100373 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200374 </execution>
375 </executions>
376 </plugin>
377 </plugins>
Akron908a9382021-03-04 17:26:25 +0100378 <resources>
379 <resource>
380 <directory>src/main/resources</directory>
381 <filtering>true</filtering>
382 <includes>
383 <include>koral.info</include>
384 </includes>
385 </resource>
386 </resources>
ElenaIrimiaf7046142023-07-26 10:37:20 +0200387 <pluginManagement>
388 <plugins>
389 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
390 <plugin>
391 <groupId>org.eclipse.m2e</groupId>
392 <artifactId>lifecycle-mapping</artifactId>
393 <version>1.0.0</version>
394 <configuration>
395 <lifecycleMappingMetadata>
396 <pluginExecutions>
397 <pluginExecution>
398 <pluginExecutionFilter>
399 <groupId>org.antlr</groupId>
400 <artifactId>
401 antlr3-maven-plugin
402 </artifactId>
403 <versionRange>
404 [3.5.2,)
405 </versionRange>
406 <goals>
407 <goal>antlr</goal>
408 </goals>
409 </pluginExecutionFilter>
410 <action>
411 <ignore></ignore>
412 </action>
413 </pluginExecution>
414 </pluginExecutions>
415 </lifecycleMappingMetadata>
416 </configuration>
417 </plugin>
418 </plugins>
419 </pluginManagement>
margaretha842af332016-06-14 16:31:05 +0200420 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000421</project>