blob: d2dc4c3206dfa36057f8153982eeef62aec00db1 [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>
margaretha842af332016-06-14 16:31:05 +020041 </properties>
margarethaf7dbe332016-06-16 20:14:26 +020042
margaretha842af332016-06-14 16:31:05 +020043 <repositories>
44 <repository>
45 <id>id-maven-repo</id>
46 <url>http://maven.indexdata.com</url>
47 </repository>
48 <repository>
49 <id>CLARIN</id>
50 <name>CLARIN Repository</name>
51 <url>https://nexus.clarin.eu/content/repositories/Clarin</url>
52 <snapshots>
53 <enabled>false</enabled>
54 </snapshots>
55 </repository>
56 </repositories>
57 <dependencies>
margaretha842af332016-06-14 16:31:05 +020058 <dependency>
59 <groupId>org.antlr</groupId>
60 <artifactId>antlr4-runtime</artifactId>
61 <version>4.5.1</version>
62 </dependency>
63 <dependency>
64 <groupId>org.antlr</groupId>
65 <artifactId>antlr4-maven-plugin</artifactId>
66 <version>4.2</version>
67 </dependency>
68 <dependency>
69 <groupId>org.antlr</groupId>
70 <artifactId>antlr-runtime</artifactId>
71 <version>3.5</version>
72 <scope>compile</scope>
73 </dependency>
74 <dependency>
75 <groupId>com.google.guava</groupId>
76 <artifactId>guava</artifactId>
77 <version>15.0</version>
78 </dependency>
79 <dependency>
80 <groupId>com.fasterxml.jackson.core</groupId>
81 <artifactId>jackson-core</artifactId>
margaretha666988f2017-11-13 15:30:06 +010082 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020083 </dependency>
84 <dependency>
85 <groupId>com.fasterxml.jackson.core</groupId>
86 <artifactId>jackson-annotations</artifactId>
margaretha666988f2017-11-13 15:30:06 +010087 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020088 </dependency>
89 <dependency>
90 <groupId>com.fasterxml.jackson.core</groupId>
91 <artifactId>jackson-databind</artifactId>
margaretha666988f2017-11-13 15:30:06 +010092 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020093 </dependency>
94 <dependency>
95 <groupId>junit</groupId>
96 <artifactId>junit</artifactId>
97 <version>4.11</version>
98 <scope>test</scope>
99 </dependency>
100 <dependency>
101 <groupId>commons-lang</groupId>
102 <artifactId>commons-lang</artifactId>
103 <version>2.6</version>
104 </dependency>
105 <dependency>
106 <groupId>org.z3950.zing</groupId>
107 <artifactId>cql-java</artifactId>
108 <version>1.12</version>
109 </dependency>
110 <dependency>
margarethaab205842019-02-07 16:38:41 +0100111 <groupId>org.apache.logging.log4j</groupId>
112 <artifactId>log4j-api</artifactId>
113 <version>2.11.0</version>
margaretha842af332016-06-14 16:31:05 +0200114 </dependency>
115 <dependency>
margarethaab205842019-02-07 16:38:41 +0100116 <groupId>org.apache.logging.log4j</groupId>
117 <artifactId>log4j-core</artifactId>
118 <version>2.11.0</version>
119 </dependency>
120 <dependency>
121 <groupId>org.apache.logging.log4j</groupId>
122 <artifactId>log4j-slf4j-impl</artifactId>
123 <version>2.11.0</version>
124 </dependency>
125 <dependency>
126 <groupId>org.apache.logging.log4j</groupId>
127 <artifactId>log4j-jul</artifactId>
128 <version>2.11.0</version>
129 <exclusions>
130 <exclusion>
131 <groupId>org.slf4j</groupId>
132 <artifactId>slf4j-api</artifactId>
133 </exclusion>
134 </exclusions>
margaretha842af332016-06-14 16:31:05 +0200135 </dependency>
136 <dependency>
137 <groupId>org.slf4j</groupId>
138 <artifactId>slf4j-api</artifactId>
margarethaab205842019-02-07 16:38:41 +0100139 <version>1.7.25</version>
margaretha842af332016-06-14 16:31:05 +0200140 </dependency>
141 <dependency>
142 <groupId>eu.clarin.sru.fcs</groupId>
143 <artifactId>fcs-simple-endpoint</artifactId>
144 <version>1.3.0</version>
145 </dependency>
margaretha842af332016-06-14 16:31:05 +0200146 </dependencies>
147 <build>
148 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
149 <outputDirectory>${basedir}/target/classes</outputDirectory>
150 <plugins>
margaretha2f9d28c2018-01-10 16:16:49 +0100151 <plugin>
152 <artifactId>maven-clean-plugin</artifactId>
153 <version>3.0.0</version>
154 <configuration>
155 <filesets>
156 <fileset>
157 <directory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse</directory>
158 <includes>
159 <include>**/*.java</include>
160 <include>**/*.tokens</include>
161 </includes>
162 <excludes>
163 <exclude>**/IErrorReporter.java</exclude>
164 <exclude>**/c2ps_opAnnot.java</exclude>
165 <exclude>**/c2ps_opBED.java</exclude>
166 <exclude>**/c2ps_opELEM.java</exclude>
167 <exclude>**/c2ps_opIN.java</exclude>
168 <exclude>**/c2ps_opOV.java</exclude>
169 <exclude>**/c2ps_opPROX.java</exclude>
170 <exclude>**/c2ps_opWF.java</exclude>
171 <exclude>**/c2ps_optCase.java</exclude>
172 <exclude>**/.gitignore</exclude>
173 <exclude>fcsql/*</exclude>
174 </excludes>
175 <followSymlinks>false</followSymlinks>
176 </fileset>
177 </filesets>
178 </configuration>
179 </plugin>
margaretha842af332016-06-14 16:31:05 +0200180 <plugin>
181 <groupId>org.apache.maven.plugins</groupId>
margaretha87291cf2017-11-17 14:36:16 +0100182 <artifactId>maven-surefire-plugin</artifactId>
Akrona5a311e2018-10-31 15:52:53 +0100183 <version>2.22.1</version>
margaretha87291cf2017-11-17 14:36:16 +0100184 <configuration>
margarethaf011f262019-02-20 17:13:34 +0100185 <useSystemClassLoader>false</useSystemClassLoader>
186 <excludes>
187 <exclude>**/OPINTest.java</exclude>
188 </excludes>
margaretha87291cf2017-11-17 14:36:16 +0100189 </configuration>
190 </plugin>
191 <plugin>
192 <groupId>org.apache.maven.plugins</groupId>
margaretha842af332016-06-14 16:31:05 +0200193 <artifactId>maven-compiler-plugin</artifactId>
margaretha53965cf2018-02-12 16:19:10 +0100194 <version>3.7.0</version>
margaretha842af332016-06-14 16:31:05 +0200195 <configuration>
margaretha5c260752018-02-12 16:05:51 +0100196 <!-- <verbose>true</verbose>
197 <fork>true</fork> -->
margaretha53965cf2018-02-12 16:19:10 +0100198 <!-- <executable>${env.JAVA7_HOME}/bin/javac</executable> -->
199 <compilerVersion>2.0</compilerVersion>
200 <source>${java.version}</source>
201 <target>${java.version}</target>
margarethaf011f262019-02-20 17:13:34 +0100202 <argLine>-Xms512m</argLine>
margaretha842af332016-06-14 16:31:05 +0200203 </configuration>
204 </plugin>
margarethaf7dbe332016-06-16 20:14:26 +0200205 <!-- <plugin>
206 <groupId>org.codehaus.mojo</groupId>
207 <artifactId>properties-maven-plugin</artifactId>
208 <version>1.0.0</version>
209 <executions>
210 <execution>
211 <goals>
212 <goal>set-system-properties</goal>
213 </goals>
214 <configuration>
215 <properties>
216 <property>
217 <name>https.protocols</name>
218 <value>TLSv1.2</value>
219 </property>
220 </properties>
221 </configuration>
222 </execution>
223 </executions>
224 </plugin> -->
225 <!-- <plugin>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-surefire-plugin</artifactId>
228 <version>2.19.1</version>
229 <configuration>
230 <systemProperties>
231 <property>
232 <name>https.protocols</name>
233 <value>TLSv1.2</value>
234 </property>
235 </systemProperties>
236 <argLine>-Djava.https.protocols=TLSv1.2</argLine>
237 </configuration>
238 </plugin>
239 <plugin>
240 <groupId>org.apache.maven.plugins</groupId>
241 <artifactId>maven-failsafe-plugin</artifactId>
242 <version>2.19.1</version>
243 <configuration>
244 <systemPropertyVariables>
245 <https.protocols>TLSv1.2</https.protocols>
246 </systemPropertyVariables>
247 </configuration>
248 </plugin> -->
margaretha842af332016-06-14 16:31:05 +0200249 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
250 <plugin>
251 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
252 <artifactId>maven-java-formatter-plugin</artifactId>
253 <version>0.4</version>
254 <configuration>
255 <configFile>${project.basedir}/Format.xml</configFile>
256 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
margaretha53965cf2018-02-12 16:19:10 +0100257 <compilerSource>${java.version}</compilerSource>
258 <compilerCompliance>${java.version}</compilerCompliance>
259 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
margaretha842af332016-06-14 16:31:05 +0200260 </configuration>
261 </plugin>
262 <plugin>
263 <groupId>org.apache.maven.plugins</groupId>
264 <artifactId>maven-dependency-plugin</artifactId>
265 <executions>
266 <execution>
margarethadb09b032017-05-30 18:23:31 +0200267 <phase>package</phase>
margaretha842af332016-06-14 16:31:05 +0200268 <goals>
269 <goal>copy-dependencies</goal>
270 </goals>
271 <configuration>
272 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
273 </configuration>
274 </execution>
275 </executions>
276 </plugin>
277 <plugin>
278 <groupId>org.apache.maven.plugins</groupId>
279 <artifactId>maven-jar-plugin</artifactId>
280 <version>2.5</version>
281 <configuration>
282 <archive>
283 <manifest>
284 <addClasspath>true</addClasspath>
285 <classpathPrefix>../lib/</classpathPrefix>
286 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
287 </manifest>
288 </archive>
289 </configuration>
290 </plugin>
291 <plugin>
292 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
293 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
294 <groupId>org.antlr</groupId>
295 <artifactId>antlr4-maven-plugin</artifactId>
296 <version>4.2</version>
297 <executions>
298 <execution>
299 <id>poliqarpplus</id>
300 <goals>
301 <goal>antlr4</goal>
302 </goals>
303 <configuration>
304 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
305 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
306 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
307 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100308 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200309 </execution>
310 <execution>
311 <id>annis</id>
312 <goals>
313 <goal>antlr4</goal>
314 </goals>
315 <configuration>
316 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
317 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
318 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
319 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100320 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200321 </execution>
322 <execution>
323 <id>collection</id>
324 <goals>
325 <goal>antlr4</goal>
326 </goals>
327 <configuration>
328 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
329 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
330 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
331 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100332 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200333 </execution>
334 </executions>
335 </plugin>
336 <plugin>
337 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
338 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
339 <groupId>org.antlr</groupId>
340 <artifactId>antlr3-maven-plugin</artifactId>
margaretha5c260752018-02-12 16:05:51 +0100341 <version>3.5.2</version>
margaretha842af332016-06-14 16:31:05 +0200342 <configuration>
343 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
344 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
345 <libDirectory>${basedir}/src/main/antlr</libDirectory>
346 </configuration>
347 <executions>
348 <execution>
349 <goals>
350 <goal>antlr</goal>
351 </goals>
margaretha5c260752018-02-12 16:05:51 +0100352 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200353 </execution>
354 </executions>
355 </plugin>
356 </plugins>
357 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000358</project>