blob: f77143a14721f5bf69caff5cf76650dd83e024e6 [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>
dependabot[bot]36f64db2021-05-10 16:55:22 +000040 <antlr4.version>4.9.2</antlr4.version>
Akron8e28adf2020-07-24 14:32:56 +020041 <antlr3.version>3.5.2</antlr3.version>
margaretha53965cf2018-02-12 16:19:10 +010042 <java.version>1.8</java.version>
dependabot[bot]6da83e12021-03-15 05:27:24 +000043 <log4j.version>2.14.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>
72 <exclusion>
73 <groupId>org.sonatype.sisu</groupId>
74 <artifactId>sisu-guava</artifactId>
75 </exclusion>
76 </exclusions>
77 </dependency>
margaretha842af332016-06-14 16:31:05 +020078 <dependency>
79 <groupId>org.antlr</groupId>
80 <artifactId>antlr-runtime</artifactId>
Akron8e28adf2020-07-24 14:32:56 +020081 <version>${antlr3.version}</version>
margaretha842af332016-06-14 16:31:05 +020082 <scope>compile</scope>
83 </dependency>
84 <dependency>
85 <groupId>com.google.guava</groupId>
86 <artifactId>guava</artifactId>
Akron47174952020-06-16 18:18:00 +020087 <version>[29.0-jre,)</version>
margaretha842af332016-06-14 16:31:05 +020088 </dependency>
89 <dependency>
90 <groupId>com.fasterxml.jackson.core</groupId>
91 <artifactId>jackson-core</artifactId>
margaretha666988f2017-11-13 15:30:06 +010092 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020093 </dependency>
94 <dependency>
95 <groupId>com.fasterxml.jackson.core</groupId>
96 <artifactId>jackson-annotations</artifactId>
margaretha666988f2017-11-13 15:30:06 +010097 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020098 </dependency>
99 <dependency>
100 <groupId>com.fasterxml.jackson.core</groupId>
101 <artifactId>jackson-databind</artifactId>
margaretha666988f2017-11-13 15:30:06 +0100102 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +0200103 </dependency>
104 <dependency>
105 <groupId>junit</groupId>
106 <artifactId>junit</artifactId>
dependabot[bot]d204fcb2021-02-15 05:28:59 +0000107 <version>4.13.2</version>
margaretha842af332016-06-14 16:31:05 +0200108 <scope>test</scope>
109 </dependency>
110 <dependency>
111 <groupId>commons-lang</groupId>
112 <artifactId>commons-lang</artifactId>
113 <version>2.6</version>
114 </dependency>
115 <dependency>
116 <groupId>org.z3950.zing</groupId>
117 <artifactId>cql-java</artifactId>
margaretha09667672021-05-10 19:52:34 +0200118 <version>1.13</version>
margaretha842af332016-06-14 16:31:05 +0200119 </dependency>
120 <dependency>
margarethaab205842019-02-07 16:38:41 +0100121 <groupId>org.apache.logging.log4j</groupId>
122 <artifactId>log4j-api</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200123 <version>${log4j.version}</version>
margaretha842af332016-06-14 16:31:05 +0200124 </dependency>
125 <dependency>
margarethaab205842019-02-07 16:38:41 +0100126 <groupId>org.apache.logging.log4j</groupId>
127 <artifactId>log4j-core</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200128 <version>${log4j.version}</version>
margarethaab205842019-02-07 16:38:41 +0100129 </dependency>
130 <dependency>
131 <groupId>org.apache.logging.log4j</groupId>
132 <artifactId>log4j-slf4j-impl</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200133 <version>${log4j.version}</version>
margarethaab205842019-02-07 16:38:41 +0100134 </dependency>
135 <dependency>
136 <groupId>org.apache.logging.log4j</groupId>
137 <artifactId>log4j-jul</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200138 <version>${log4j.version}</version>
margarethaab205842019-02-07 16:38:41 +0100139 <exclusions>
140 <exclusion>
141 <groupId>org.slf4j</groupId>
142 <artifactId>slf4j-api</artifactId>
143 </exclusion>
144 </exclusions>
margaretha842af332016-06-14 16:31:05 +0200145 </dependency>
146 <dependency>
147 <groupId>org.slf4j</groupId>
148 <artifactId>slf4j-api</artifactId>
dependabot[bot]089435f2020-07-15 05:54:53 +0000149 <version>1.7.30</version>
margaretha842af332016-06-14 16:31:05 +0200150 </dependency>
151 <dependency>
152 <groupId>eu.clarin.sru.fcs</groupId>
153 <artifactId>fcs-simple-endpoint</artifactId>
dependabot[bot]8c9f1ef2020-07-14 11:24:34 +0000154 <version>1.4.0</version>
margaretha842af332016-06-14 16:31:05 +0200155 </dependency>
margaretha842af332016-06-14 16:31:05 +0200156 </dependencies>
157 <build>
158 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
159 <outputDirectory>${basedir}/target/classes</outputDirectory>
160 <plugins>
margaretha2f9d28c2018-01-10 16:16:49 +0100161 <plugin>
Marc Kupietza8269db2020-07-14 15:52:06 +0200162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-clean-plugin</artifactId>
164 <version>3.1.0</version>
margaretha2f9d28c2018-01-10 16:16:49 +0100165 <configuration>
166 <filesets>
167 <fileset>
168 <directory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse</directory>
169 <includes>
170 <include>**/*.java</include>
171 <include>**/*.tokens</include>
172 </includes>
173 <excludes>
174 <exclude>**/IErrorReporter.java</exclude>
175 <exclude>**/c2ps_opAnnot.java</exclude>
176 <exclude>**/c2ps_opBED.java</exclude>
177 <exclude>**/c2ps_opELEM.java</exclude>
178 <exclude>**/c2ps_opIN.java</exclude>
179 <exclude>**/c2ps_opOV.java</exclude>
180 <exclude>**/c2ps_opPROX.java</exclude>
181 <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]e4c27d62020-07-15 05:54:42 +0000194 <version>2.22.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]1832d3f2020-07-15 05:54:40 +0000205 <version>3.8.1</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]b9d0f4a2020-07-17 07:11:45 +0000290 <version>3.2.0</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>
344 </executions>
345 </plugin>
346 <plugin>
347 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
348 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
349 <groupId>org.antlr</groupId>
350 <artifactId>antlr3-maven-plugin</artifactId>
Akron8e28adf2020-07-24 14:32:56 +0200351 <version>${antlr3.version}</version>
margaretha842af332016-06-14 16:31:05 +0200352 <configuration>
353 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
354 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
355 <libDirectory>${basedir}/src/main/antlr</libDirectory>
356 </configuration>
357 <executions>
358 <execution>
359 <goals>
360 <goal>antlr</goal>
361 </goals>
margaretha5c260752018-02-12 16:05:51 +0100362 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200363 </execution>
364 </executions>
365 </plugin>
366 </plugins>
Akron908a9382021-03-04 17:26:25 +0100367 <resources>
368 <resource>
369 <directory>src/main/resources</directory>
370 <filtering>true</filtering>
371 <includes>
372 <include>koral.info</include>
373 </includes>
374 </resource>
375 </resources>
margaretha842af332016-06-14 16:31:05 +0200376 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000377</project>