blob: e4cdd1a5931ba595e8d3d64fa818424bdbca77db [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>
dependabot[bot]bc3f8092020-07-14 11:24:31 +000062 <version>4.8-1</version>
margaretha842af332016-06-14 16:31:05 +020063 </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>
Marc Kupietza8269db2020-07-14 15:52:06 +0200153 <groupId>org.apache.maven.plugins</groupId>
154 <artifactId>maven-clean-plugin</artifactId>
155 <version>3.1.0</version>
margaretha2f9d28c2018-01-10 16:16:49 +0100156 <configuration>
157 <filesets>
158 <fileset>
159 <directory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse</directory>
160 <includes>
161 <include>**/*.java</include>
162 <include>**/*.tokens</include>
163 </includes>
164 <excludes>
165 <exclude>**/IErrorReporter.java</exclude>
166 <exclude>**/c2ps_opAnnot.java</exclude>
167 <exclude>**/c2ps_opBED.java</exclude>
168 <exclude>**/c2ps_opELEM.java</exclude>
169 <exclude>**/c2ps_opIN.java</exclude>
170 <exclude>**/c2ps_opOV.java</exclude>
171 <exclude>**/c2ps_opPROX.java</exclude>
172 <exclude>**/c2ps_opWF.java</exclude>
173 <exclude>**/c2ps_optCase.java</exclude>
174 <exclude>**/.gitignore</exclude>
175 <exclude>fcsql/*</exclude>
176 </excludes>
177 <followSymlinks>false</followSymlinks>
178 </fileset>
179 </filesets>
180 </configuration>
181 </plugin>
margaretha842af332016-06-14 16:31:05 +0200182 <plugin>
183 <groupId>org.apache.maven.plugins</groupId>
margaretha87291cf2017-11-17 14:36:16 +0100184 <artifactId>maven-surefire-plugin</artifactId>
Akrona5a311e2018-10-31 15:52:53 +0100185 <version>2.22.1</version>
margaretha87291cf2017-11-17 14:36:16 +0100186 <configuration>
margarethaf011f262019-02-20 17:13:34 +0100187 <useSystemClassLoader>false</useSystemClassLoader>
188 <excludes>
189 <exclude>**/OPINTest.java</exclude>
190 </excludes>
margaretha87291cf2017-11-17 14:36:16 +0100191 </configuration>
192 </plugin>
193 <plugin>
194 <groupId>org.apache.maven.plugins</groupId>
margaretha842af332016-06-14 16:31:05 +0200195 <artifactId>maven-compiler-plugin</artifactId>
margaretha53965cf2018-02-12 16:19:10 +0100196 <version>3.7.0</version>
margaretha842af332016-06-14 16:31:05 +0200197 <configuration>
margaretha5c260752018-02-12 16:05:51 +0100198 <!-- <verbose>true</verbose>
199 <fork>true</fork> -->
margaretha53965cf2018-02-12 16:19:10 +0100200 <!-- <executable>${env.JAVA7_HOME}/bin/javac</executable> -->
201 <compilerVersion>2.0</compilerVersion>
202 <source>${java.version}</source>
203 <target>${java.version}</target>
margarethaf011f262019-02-20 17:13:34 +0100204 <argLine>-Xms512m</argLine>
margaretha842af332016-06-14 16:31:05 +0200205 </configuration>
206 </plugin>
margarethaf7dbe332016-06-16 20:14:26 +0200207 <!-- <plugin>
208 <groupId>org.codehaus.mojo</groupId>
209 <artifactId>properties-maven-plugin</artifactId>
210 <version>1.0.0</version>
211 <executions>
212 <execution>
213 <goals>
214 <goal>set-system-properties</goal>
215 </goals>
216 <configuration>
217 <properties>
218 <property>
219 <name>https.protocols</name>
220 <value>TLSv1.2</value>
221 </property>
222 </properties>
223 </configuration>
224 </execution>
225 </executions>
226 </plugin> -->
227 <!-- <plugin>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-surefire-plugin</artifactId>
230 <version>2.19.1</version>
231 <configuration>
232 <systemProperties>
233 <property>
234 <name>https.protocols</name>
235 <value>TLSv1.2</value>
236 </property>
237 </systemProperties>
238 <argLine>-Djava.https.protocols=TLSv1.2</argLine>
239 </configuration>
240 </plugin>
241 <plugin>
242 <groupId>org.apache.maven.plugins</groupId>
243 <artifactId>maven-failsafe-plugin</artifactId>
244 <version>2.19.1</version>
245 <configuration>
246 <systemPropertyVariables>
247 <https.protocols>TLSv1.2</https.protocols>
248 </systemPropertyVariables>
249 </configuration>
250 </plugin> -->
margaretha842af332016-06-14 16:31:05 +0200251 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
252 <plugin>
253 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
254 <artifactId>maven-java-formatter-plugin</artifactId>
255 <version>0.4</version>
256 <configuration>
257 <configFile>${project.basedir}/Format.xml</configFile>
258 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
margaretha53965cf2018-02-12 16:19:10 +0100259 <compilerSource>${java.version}</compilerSource>
260 <compilerCompliance>${java.version}</compilerCompliance>
261 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
margaretha842af332016-06-14 16:31:05 +0200262 </configuration>
263 </plugin>
264 <plugin>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-dependency-plugin</artifactId>
267 <executions>
268 <execution>
margarethadb09b032017-05-30 18:23:31 +0200269 <phase>package</phase>
margaretha842af332016-06-14 16:31:05 +0200270 <goals>
271 <goal>copy-dependencies</goal>
272 </goals>
273 <configuration>
274 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
275 </configuration>
276 </execution>
277 </executions>
278 </plugin>
279 <plugin>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-jar-plugin</artifactId>
282 <version>2.5</version>
283 <configuration>
284 <archive>
285 <manifest>
286 <addClasspath>true</addClasspath>
287 <classpathPrefix>../lib/</classpathPrefix>
288 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
289 </manifest>
290 </archive>
291 </configuration>
292 </plugin>
293 <plugin>
294 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
295 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
296 <groupId>org.antlr</groupId>
297 <artifactId>antlr4-maven-plugin</artifactId>
298 <version>4.2</version>
299 <executions>
300 <execution>
301 <id>poliqarpplus</id>
302 <goals>
303 <goal>antlr4</goal>
304 </goals>
305 <configuration>
306 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
307 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
308 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
309 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100310 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200311 </execution>
312 <execution>
313 <id>annis</id>
314 <goals>
315 <goal>antlr4</goal>
316 </goals>
317 <configuration>
318 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
319 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
320 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
321 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100322 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200323 </execution>
324 <execution>
325 <id>collection</id>
326 <goals>
327 <goal>antlr4</goal>
328 </goals>
329 <configuration>
330 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
331 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
332 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
333 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100334 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200335 </execution>
336 </executions>
337 </plugin>
338 <plugin>
339 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
340 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
341 <groupId>org.antlr</groupId>
342 <artifactId>antlr3-maven-plugin</artifactId>
margaretha5c260752018-02-12 16:05:51 +0100343 <version>3.5.2</version>
margaretha842af332016-06-14 16:31:05 +0200344 <configuration>
345 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
346 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
347 <libDirectory>${basedir}/src/main/antlr</libDirectory>
348 </configuration>
349 <executions>
350 <execution>
351 <goals>
352 <goal>antlr</goal>
353 </goals>
margaretha5c260752018-02-12 16:05:51 +0100354 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200355 </execution>
356 </executions>
357 </plugin>
358 </plugins>
359 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000360</project>