blob: cd1872866c993f487495a4c8e52ec10e382d098f [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>
Akron49e8d7b2020-10-23 12:28:17 +02007 <version>0.37</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>
Akron95ef1fa2018-10-22 13:05:34 +020039 <jackson.version>[2.9.5,)</jackson.version>
Akron8e28adf2020-07-24 14:32:56 +020040 <antlr4.version>4.5.1</antlr4.version>
41 <antlr3.version>3.5.2</antlr3.version>
margaretha53965cf2018-02-12 16:19:10 +010042 <java.version>1.8</java.version>
Marc Kupietz5048dbb2020-07-14 13:04:06 +020043 <log4j.version>2.13.3</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>
49 <url>http://maven.indexdata.com</url>
50 </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>
margaretha842af332016-06-14 16:31:05 +020070 </dependency>
71 <dependency>
72 <groupId>org.antlr</groupId>
73 <artifactId>antlr-runtime</artifactId>
Akron8e28adf2020-07-24 14:32:56 +020074 <version>${antlr3.version}</version>
margaretha842af332016-06-14 16:31:05 +020075 <scope>compile</scope>
76 </dependency>
77 <dependency>
78 <groupId>com.google.guava</groupId>
79 <artifactId>guava</artifactId>
Akron47174952020-06-16 18:18:00 +020080 <version>[29.0-jre,)</version>
margaretha842af332016-06-14 16:31:05 +020081 </dependency>
82 <dependency>
83 <groupId>com.fasterxml.jackson.core</groupId>
84 <artifactId>jackson-core</artifactId>
margaretha666988f2017-11-13 15:30:06 +010085 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020086 </dependency>
87 <dependency>
88 <groupId>com.fasterxml.jackson.core</groupId>
89 <artifactId>jackson-annotations</artifactId>
margaretha666988f2017-11-13 15:30:06 +010090 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020091 </dependency>
92 <dependency>
93 <groupId>com.fasterxml.jackson.core</groupId>
94 <artifactId>jackson-databind</artifactId>
margaretha666988f2017-11-13 15:30:06 +010095 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020096 </dependency>
97 <dependency>
98 <groupId>junit</groupId>
99 <artifactId>junit</artifactId>
dependabot[bot]b5490b92020-10-12 05:44:47 +0000100 <version>4.13.1</version>
margaretha842af332016-06-14 16:31:05 +0200101 <scope>test</scope>
102 </dependency>
103 <dependency>
104 <groupId>commons-lang</groupId>
105 <artifactId>commons-lang</artifactId>
106 <version>2.6</version>
107 </dependency>
108 <dependency>
109 <groupId>org.z3950.zing</groupId>
110 <artifactId>cql-java</artifactId>
dependabot[bot]4be6c072020-07-14 11:24:32 +0000111 <version>1.13</version>
margaretha842af332016-06-14 16:31:05 +0200112 </dependency>
113 <dependency>
margarethaab205842019-02-07 16:38:41 +0100114 <groupId>org.apache.logging.log4j</groupId>
115 <artifactId>log4j-api</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200116 <version>${log4j.version}</version>
margaretha842af332016-06-14 16:31:05 +0200117 </dependency>
118 <dependency>
margarethaab205842019-02-07 16:38:41 +0100119 <groupId>org.apache.logging.log4j</groupId>
120 <artifactId>log4j-core</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200121 <version>${log4j.version}</version>
margarethaab205842019-02-07 16:38:41 +0100122 </dependency>
123 <dependency>
124 <groupId>org.apache.logging.log4j</groupId>
125 <artifactId>log4j-slf4j-impl</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200126 <version>${log4j.version}</version>
margarethaab205842019-02-07 16:38:41 +0100127 </dependency>
128 <dependency>
129 <groupId>org.apache.logging.log4j</groupId>
130 <artifactId>log4j-jul</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200131 <version>${log4j.version}</version>
margarethaab205842019-02-07 16:38:41 +0100132 <exclusions>
133 <exclusion>
134 <groupId>org.slf4j</groupId>
135 <artifactId>slf4j-api</artifactId>
136 </exclusion>
137 </exclusions>
margaretha842af332016-06-14 16:31:05 +0200138 </dependency>
139 <dependency>
140 <groupId>org.slf4j</groupId>
141 <artifactId>slf4j-api</artifactId>
dependabot[bot]089435f2020-07-15 05:54:53 +0000142 <version>1.7.30</version>
margaretha842af332016-06-14 16:31:05 +0200143 </dependency>
144 <dependency>
145 <groupId>eu.clarin.sru.fcs</groupId>
146 <artifactId>fcs-simple-endpoint</artifactId>
dependabot[bot]8c9f1ef2020-07-14 11:24:34 +0000147 <version>1.4.0</version>
margaretha842af332016-06-14 16:31:05 +0200148 </dependency>
margaretha842af332016-06-14 16:31:05 +0200149 </dependencies>
150 <build>
151 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
152 <outputDirectory>${basedir}/target/classes</outputDirectory>
153 <plugins>
margaretha2f9d28c2018-01-10 16:16:49 +0100154 <plugin>
Marc Kupietza8269db2020-07-14 15:52:06 +0200155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-clean-plugin</artifactId>
157 <version>3.1.0</version>
margaretha2f9d28c2018-01-10 16:16:49 +0100158 <configuration>
159 <filesets>
160 <fileset>
161 <directory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse</directory>
162 <includes>
163 <include>**/*.java</include>
164 <include>**/*.tokens</include>
165 </includes>
166 <excludes>
167 <exclude>**/IErrorReporter.java</exclude>
168 <exclude>**/c2ps_opAnnot.java</exclude>
169 <exclude>**/c2ps_opBED.java</exclude>
170 <exclude>**/c2ps_opELEM.java</exclude>
171 <exclude>**/c2ps_opIN.java</exclude>
172 <exclude>**/c2ps_opOV.java</exclude>
173 <exclude>**/c2ps_opPROX.java</exclude>
174 <exclude>**/c2ps_opWF.java</exclude>
175 <exclude>**/c2ps_optCase.java</exclude>
176 <exclude>**/.gitignore</exclude>
177 <exclude>fcsql/*</exclude>
178 </excludes>
179 <followSymlinks>false</followSymlinks>
180 </fileset>
181 </filesets>
182 </configuration>
183 </plugin>
margaretha842af332016-06-14 16:31:05 +0200184 <plugin>
185 <groupId>org.apache.maven.plugins</groupId>
margaretha87291cf2017-11-17 14:36:16 +0100186 <artifactId>maven-surefire-plugin</artifactId>
dependabot[bot]e4c27d62020-07-15 05:54:42 +0000187 <version>2.22.2</version>
margaretha87291cf2017-11-17 14:36:16 +0100188 <configuration>
margarethaf011f262019-02-20 17:13:34 +0100189 <useSystemClassLoader>false</useSystemClassLoader>
190 <excludes>
191 <exclude>**/OPINTest.java</exclude>
192 </excludes>
margaretha87291cf2017-11-17 14:36:16 +0100193 </configuration>
194 </plugin>
195 <plugin>
196 <groupId>org.apache.maven.plugins</groupId>
margaretha842af332016-06-14 16:31:05 +0200197 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]1832d3f2020-07-15 05:54:40 +0000198 <version>3.8.1</version>
margaretha842af332016-06-14 16:31:05 +0200199 <configuration>
margaretha5c260752018-02-12 16:05:51 +0100200 <!-- <verbose>true</verbose>
201 <fork>true</fork> -->
margaretha53965cf2018-02-12 16:19:10 +0100202 <!-- <executable>${env.JAVA7_HOME}/bin/javac</executable> -->
203 <compilerVersion>2.0</compilerVersion>
204 <source>${java.version}</source>
205 <target>${java.version}</target>
margaretha842af332016-06-14 16:31:05 +0200206 </configuration>
207 </plugin>
margarethaf7dbe332016-06-16 20:14:26 +0200208 <!-- <plugin>
209 <groupId>org.codehaus.mojo</groupId>
210 <artifactId>properties-maven-plugin</artifactId>
211 <version>1.0.0</version>
212 <executions>
213 <execution>
214 <goals>
215 <goal>set-system-properties</goal>
216 </goals>
217 <configuration>
218 <properties>
219 <property>
220 <name>https.protocols</name>
221 <value>TLSv1.2</value>
222 </property>
223 </properties>
224 </configuration>
225 </execution>
226 </executions>
227 </plugin> -->
228 <!-- <plugin>
229 <groupId>org.apache.maven.plugins</groupId>
230 <artifactId>maven-surefire-plugin</artifactId>
231 <version>2.19.1</version>
232 <configuration>
233 <systemProperties>
234 <property>
235 <name>https.protocols</name>
236 <value>TLSv1.2</value>
237 </property>
238 </systemProperties>
239 <argLine>-Djava.https.protocols=TLSv1.2</argLine>
240 </configuration>
241 </plugin>
242 <plugin>
243 <groupId>org.apache.maven.plugins</groupId>
244 <artifactId>maven-failsafe-plugin</artifactId>
245 <version>2.19.1</version>
246 <configuration>
247 <systemPropertyVariables>
248 <https.protocols>TLSv1.2</https.protocols>
249 </systemPropertyVariables>
250 </configuration>
251 </plugin> -->
margaretha842af332016-06-14 16:31:05 +0200252 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
253 <plugin>
254 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
255 <artifactId>maven-java-formatter-plugin</artifactId>
256 <version>0.4</version>
257 <configuration>
258 <configFile>${project.basedir}/Format.xml</configFile>
259 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
margaretha53965cf2018-02-12 16:19:10 +0100260 <compilerSource>${java.version}</compilerSource>
261 <compilerCompliance>${java.version}</compilerCompliance>
262 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
margaretha842af332016-06-14 16:31:05 +0200263 </configuration>
264 </plugin>
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-dependency-plugin</artifactId>
268 <executions>
269 <execution>
margarethadb09b032017-05-30 18:23:31 +0200270 <phase>package</phase>
margaretha842af332016-06-14 16:31:05 +0200271 <goals>
272 <goal>copy-dependencies</goal>
273 </goals>
274 <configuration>
275 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
276 </configuration>
277 </execution>
278 </executions>
279 </plugin>
280 <plugin>
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-jar-plugin</artifactId>
dependabot[bot]b9d0f4a2020-07-17 07:11:45 +0000283 <version>3.2.0</version>
margaretha842af332016-06-14 16:31:05 +0200284 <configuration>
285 <archive>
286 <manifest>
287 <addClasspath>true</addClasspath>
288 <classpathPrefix>../lib/</classpathPrefix>
289 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
290 </manifest>
291 </archive>
292 </configuration>
293 </plugin>
294 <plugin>
295 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
296 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
297 <groupId>org.antlr</groupId>
298 <artifactId>antlr4-maven-plugin</artifactId>
299 <version>4.2</version>
300 <executions>
301 <execution>
302 <id>poliqarpplus</id>
303 <goals>
304 <goal>antlr4</goal>
305 </goals>
306 <configuration>
307 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
308 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
309 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
310 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100311 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200312 </execution>
313 <execution>
314 <id>annis</id>
315 <goals>
316 <goal>antlr4</goal>
317 </goals>
318 <configuration>
319 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
320 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
321 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
322 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100323 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200324 </execution>
325 <execution>
326 <id>collection</id>
327 <goals>
328 <goal>antlr4</goal>
329 </goals>
330 <configuration>
331 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
332 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
333 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
334 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100335 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200336 </execution>
337 </executions>
338 </plugin>
339 <plugin>
340 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
341 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
342 <groupId>org.antlr</groupId>
343 <artifactId>antlr3-maven-plugin</artifactId>
Akron8e28adf2020-07-24 14:32:56 +0200344 <version>${antlr3.version}</version>
margaretha842af332016-06-14 16:31:05 +0200345 <configuration>
346 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
347 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
348 <libDirectory>${basedir}/src/main/antlr</libDirectory>
349 </configuration>
350 <executions>
351 <execution>
352 <goals>
353 <goal>antlr</goal>
354 </goals>
margaretha5c260752018-02-12 16:05:51 +0100355 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200356 </execution>
357 </executions>
358 </plugin>
359 </plugins>
Akron908a9382021-03-04 17:26:25 +0100360 <resources>
361 <resource>
362 <directory>src/main/resources</directory>
363 <filtering>true</filtering>
364 <includes>
365 <include>koral.info</include>
366 </includes>
367 </resource>
368 </resources>
margaretha842af332016-06-14 16:31:05 +0200369 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000370</project>