blob: cbc03f95df8f5a57be2136334a0b3156fbb15d90 [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>
Akrona2dea8e2020-01-21 07:13:17 +01007 <version>0.36</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>
margaretha53965cf2018-02-12 16:19:10 +010040 <java.version>1.8</java.version>
Marc Kupietz5048dbb2020-07-14 13:04:06 +020041 <log4j.version>2.13.3</log4j.version>
margaretha842af332016-06-14 16:31:05 +020042 </properties>
margarethaf7dbe332016-06-16 20:14:26 +020043
margaretha842af332016-06-14 16:31:05 +020044 <repositories>
45 <repository>
46 <id>id-maven-repo</id>
47 <url>http://maven.indexdata.com</url>
48 </repository>
49 <repository>
50 <id>CLARIN</id>
51 <name>CLARIN Repository</name>
52 <url>https://nexus.clarin.eu/content/repositories/Clarin</url>
53 <snapshots>
54 <enabled>false</enabled>
55 </snapshots>
56 </repository>
57 </repositories>
58 <dependencies>
margaretha842af332016-06-14 16:31:05 +020059 <dependency>
60 <groupId>org.antlr</groupId>
61 <artifactId>antlr4-runtime</artifactId>
62 <version>4.5.1</version>
63 </dependency>
64 <dependency>
65 <groupId>org.antlr</groupId>
66 <artifactId>antlr4-maven-plugin</artifactId>
67 <version>4.2</version>
68 </dependency>
69 <dependency>
70 <groupId>org.antlr</groupId>
71 <artifactId>antlr-runtime</artifactId>
dependabot[bot]a78386c2020-07-14 11:24:38 +000072 <version>3.5.2</version>
margaretha842af332016-06-14 16:31:05 +020073 <scope>compile</scope>
74 </dependency>
75 <dependency>
76 <groupId>com.google.guava</groupId>
77 <artifactId>guava</artifactId>
Akron47174952020-06-16 18:18:00 +020078 <version>[29.0-jre,)</version>
margaretha842af332016-06-14 16:31:05 +020079 </dependency>
80 <dependency>
81 <groupId>com.fasterxml.jackson.core</groupId>
82 <artifactId>jackson-core</artifactId>
margaretha666988f2017-11-13 15:30:06 +010083 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020084 </dependency>
85 <dependency>
86 <groupId>com.fasterxml.jackson.core</groupId>
87 <artifactId>jackson-annotations</artifactId>
margaretha666988f2017-11-13 15:30:06 +010088 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020089 </dependency>
90 <dependency>
91 <groupId>com.fasterxml.jackson.core</groupId>
92 <artifactId>jackson-databind</artifactId>
margaretha666988f2017-11-13 15:30:06 +010093 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020094 </dependency>
95 <dependency>
96 <groupId>junit</groupId>
97 <artifactId>junit</artifactId>
98 <version>4.11</version>
99 <scope>test</scope>
100 </dependency>
101 <dependency>
102 <groupId>commons-lang</groupId>
103 <artifactId>commons-lang</artifactId>
104 <version>2.6</version>
105 </dependency>
106 <dependency>
107 <groupId>org.z3950.zing</groupId>
108 <artifactId>cql-java</artifactId>
dependabot[bot]4be6c072020-07-14 11:24:32 +0000109 <version>1.13</version>
margaretha842af332016-06-14 16:31:05 +0200110 </dependency>
111 <dependency>
margarethaab205842019-02-07 16:38:41 +0100112 <groupId>org.apache.logging.log4j</groupId>
113 <artifactId>log4j-api</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200114 <version>${log4j.version}</version>
margaretha842af332016-06-14 16:31:05 +0200115 </dependency>
116 <dependency>
margarethaab205842019-02-07 16:38:41 +0100117 <groupId>org.apache.logging.log4j</groupId>
118 <artifactId>log4j-core</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200119 <version>${log4j.version}</version>
margarethaab205842019-02-07 16:38:41 +0100120 </dependency>
121 <dependency>
122 <groupId>org.apache.logging.log4j</groupId>
123 <artifactId>log4j-slf4j-impl</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200124 <version>${log4j.version}</version>
margarethaab205842019-02-07 16:38:41 +0100125 </dependency>
126 <dependency>
127 <groupId>org.apache.logging.log4j</groupId>
128 <artifactId>log4j-jul</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200129 <version>${log4j.version}</version>
margarethaab205842019-02-07 16:38:41 +0100130 <exclusions>
131 <exclusion>
132 <groupId>org.slf4j</groupId>
133 <artifactId>slf4j-api</artifactId>
134 </exclusion>
135 </exclusions>
margaretha842af332016-06-14 16:31:05 +0200136 </dependency>
137 <dependency>
138 <groupId>org.slf4j</groupId>
139 <artifactId>slf4j-api</artifactId>
margarethaab205842019-02-07 16:38:41 +0100140 <version>1.7.25</version>
margaretha842af332016-06-14 16:31:05 +0200141 </dependency>
142 <dependency>
143 <groupId>eu.clarin.sru.fcs</groupId>
144 <artifactId>fcs-simple-endpoint</artifactId>
145 <version>1.3.0</version>
146 </dependency>
margaretha842af332016-06-14 16:31:05 +0200147 </dependencies>
148 <build>
149 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
150 <outputDirectory>${basedir}/target/classes</outputDirectory>
151 <plugins>
margaretha2f9d28c2018-01-10 16:16:49 +0100152 <plugin>
153 <artifactId>maven-clean-plugin</artifactId>
154 <version>3.0.0</version>
155 <configuration>
156 <filesets>
157 <fileset>
158 <directory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse</directory>
159 <includes>
160 <include>**/*.java</include>
161 <include>**/*.tokens</include>
162 </includes>
163 <excludes>
164 <exclude>**/IErrorReporter.java</exclude>
165 <exclude>**/c2ps_opAnnot.java</exclude>
166 <exclude>**/c2ps_opBED.java</exclude>
167 <exclude>**/c2ps_opELEM.java</exclude>
168 <exclude>**/c2ps_opIN.java</exclude>
169 <exclude>**/c2ps_opOV.java</exclude>
170 <exclude>**/c2ps_opPROX.java</exclude>
171 <exclude>**/c2ps_opWF.java</exclude>
172 <exclude>**/c2ps_optCase.java</exclude>
173 <exclude>**/.gitignore</exclude>
174 <exclude>fcsql/*</exclude>
175 </excludes>
176 <followSymlinks>false</followSymlinks>
177 </fileset>
178 </filesets>
179 </configuration>
180 </plugin>
margaretha842af332016-06-14 16:31:05 +0200181 <plugin>
182 <groupId>org.apache.maven.plugins</groupId>
margaretha87291cf2017-11-17 14:36:16 +0100183 <artifactId>maven-surefire-plugin</artifactId>
Akrona5a311e2018-10-31 15:52:53 +0100184 <version>2.22.1</version>
margaretha87291cf2017-11-17 14:36:16 +0100185 <configuration>
margarethaf011f262019-02-20 17:13:34 +0100186 <useSystemClassLoader>false</useSystemClassLoader>
187 <excludes>
188 <exclude>**/OPINTest.java</exclude>
189 </excludes>
margaretha87291cf2017-11-17 14:36:16 +0100190 </configuration>
191 </plugin>
192 <plugin>
193 <groupId>org.apache.maven.plugins</groupId>
margaretha842af332016-06-14 16:31:05 +0200194 <artifactId>maven-compiler-plugin</artifactId>
margaretha53965cf2018-02-12 16:19:10 +0100195 <version>3.7.0</version>
margaretha842af332016-06-14 16:31:05 +0200196 <configuration>
margaretha5c260752018-02-12 16:05:51 +0100197 <!-- <verbose>true</verbose>
198 <fork>true</fork> -->
margaretha53965cf2018-02-12 16:19:10 +0100199 <!-- <executable>${env.JAVA7_HOME}/bin/javac</executable> -->
200 <compilerVersion>2.0</compilerVersion>
201 <source>${java.version}</source>
202 <target>${java.version}</target>
margarethaf011f262019-02-20 17:13:34 +0100203 <argLine>-Xms512m</argLine>
margaretha842af332016-06-14 16:31:05 +0200204 </configuration>
205 </plugin>
margarethaf7dbe332016-06-16 20:14:26 +0200206 <!-- <plugin>
207 <groupId>org.codehaus.mojo</groupId>
208 <artifactId>properties-maven-plugin</artifactId>
209 <version>1.0.0</version>
210 <executions>
211 <execution>
212 <goals>
213 <goal>set-system-properties</goal>
214 </goals>
215 <configuration>
216 <properties>
217 <property>
218 <name>https.protocols</name>
219 <value>TLSv1.2</value>
220 </property>
221 </properties>
222 </configuration>
223 </execution>
224 </executions>
225 </plugin> -->
226 <!-- <plugin>
227 <groupId>org.apache.maven.plugins</groupId>
228 <artifactId>maven-surefire-plugin</artifactId>
229 <version>2.19.1</version>
230 <configuration>
231 <systemProperties>
232 <property>
233 <name>https.protocols</name>
234 <value>TLSv1.2</value>
235 </property>
236 </systemProperties>
237 <argLine>-Djava.https.protocols=TLSv1.2</argLine>
238 </configuration>
239 </plugin>
240 <plugin>
241 <groupId>org.apache.maven.plugins</groupId>
242 <artifactId>maven-failsafe-plugin</artifactId>
243 <version>2.19.1</version>
244 <configuration>
245 <systemPropertyVariables>
246 <https.protocols>TLSv1.2</https.protocols>
247 </systemPropertyVariables>
248 </configuration>
249 </plugin> -->
margaretha842af332016-06-14 16:31:05 +0200250 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
251 <plugin>
252 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
253 <artifactId>maven-java-formatter-plugin</artifactId>
254 <version>0.4</version>
255 <configuration>
256 <configFile>${project.basedir}/Format.xml</configFile>
257 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
margaretha53965cf2018-02-12 16:19:10 +0100258 <compilerSource>${java.version}</compilerSource>
259 <compilerCompliance>${java.version}</compilerCompliance>
260 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
margaretha842af332016-06-14 16:31:05 +0200261 </configuration>
262 </plugin>
263 <plugin>
264 <groupId>org.apache.maven.plugins</groupId>
265 <artifactId>maven-dependency-plugin</artifactId>
266 <executions>
267 <execution>
margarethadb09b032017-05-30 18:23:31 +0200268 <phase>package</phase>
margaretha842af332016-06-14 16:31:05 +0200269 <goals>
270 <goal>copy-dependencies</goal>
271 </goals>
272 <configuration>
273 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
274 </configuration>
275 </execution>
276 </executions>
277 </plugin>
278 <plugin>
279 <groupId>org.apache.maven.plugins</groupId>
280 <artifactId>maven-jar-plugin</artifactId>
281 <version>2.5</version>
282 <configuration>
283 <archive>
284 <manifest>
285 <addClasspath>true</addClasspath>
286 <classpathPrefix>../lib/</classpathPrefix>
287 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
288 </manifest>
289 </archive>
290 </configuration>
291 </plugin>
292 <plugin>
293 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
294 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
295 <groupId>org.antlr</groupId>
296 <artifactId>antlr4-maven-plugin</artifactId>
297 <version>4.2</version>
298 <executions>
299 <execution>
300 <id>poliqarpplus</id>
301 <goals>
302 <goal>antlr4</goal>
303 </goals>
304 <configuration>
305 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
306 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
307 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
308 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100309 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200310 </execution>
311 <execution>
312 <id>annis</id>
313 <goals>
314 <goal>antlr4</goal>
315 </goals>
316 <configuration>
317 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
318 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
319 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
320 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100321 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200322 </execution>
323 <execution>
324 <id>collection</id>
325 <goals>
326 <goal>antlr4</goal>
327 </goals>
328 <configuration>
329 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
330 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
331 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
332 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100333 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200334 </execution>
335 </executions>
336 </plugin>
337 <plugin>
338 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
339 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
340 <groupId>org.antlr</groupId>
341 <artifactId>antlr3-maven-plugin</artifactId>
margaretha5c260752018-02-12 16:05:51 +0100342 <version>3.5.2</version>
margaretha842af332016-06-14 16:31:05 +0200343 <configuration>
344 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
345 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
346 <libDirectory>${basedir}/src/main/antlr</libDirectory>
347 </configuration>
348 <executions>
349 <execution>
350 <goals>
351 <goal>antlr</goal>
352 </goals>
margaretha5c260752018-02-12 16:05:51 +0100353 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200354 </execution>
355 </executions>
356 </plugin>
357 </plugins>
358 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000359</project>