blob: 739657d56a1b26c7e858440a48884b9b73aa452a [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>
margaretha3bfa8d62021-12-17 16:28:29 +01007 <version>0.38.1</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>
Akron7edacf42021-12-14 14:43:26 +010039 <jackson.version>[2.12.4,)</jackson.version>
dependabot[bot]b4738a32021-11-08 17:01:45 +000040 <antlr4.version>4.9.3</antlr4.version>
dependabot[bot]9d599e12022-05-23 10:31:49 +000041 <antlr3.version>3.5.3</antlr3.version>
margaretha53965cf2018-02-12 16:19:10 +010042 <java.version>1.8</java.version>
Akron43dd2462022-01-03 09:18:49 +010043 <log4j.version>[2.17.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>
margaretha7e8fad32021-06-24 19:08:07 +020066 <!-- adding manually due to Shell Command Injection and Directory Traversal
67 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000487
68 https://cwe.mitre.org/data/definitions/22.html -->
69 <dependency>
70 <groupId>org.codehaus.plexus</groupId>
71 <artifactId>plexus-utils</artifactId>
dependabot[bot]45fb2a82022-05-23 10:37:11 +000072 <version>3.4.2</version>
margaretha7e8fad32021-06-24 19:08:07 +020073 </dependency>
margaretha842af332016-06-14 16:31:05 +020074 <dependency>
75 <groupId>org.antlr</groupId>
76 <artifactId>antlr-runtime</artifactId>
Akron8e28adf2020-07-24 14:32:56 +020077 <version>${antlr3.version}</version>
margaretha842af332016-06-14 16:31:05 +020078 <scope>compile</scope>
79 </dependency>
80 <dependency>
81 <groupId>com.google.guava</groupId>
82 <artifactId>guava</artifactId>
Akron47174952020-06-16 18:18:00 +020083 <version>[29.0-jre,)</version>
margaretha842af332016-06-14 16:31:05 +020084 </dependency>
85 <dependency>
86 <groupId>com.fasterxml.jackson.core</groupId>
87 <artifactId>jackson-core</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-annotations</artifactId>
margaretha666988f2017-11-13 15:30:06 +010093 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020094 </dependency>
95 <dependency>
96 <groupId>com.fasterxml.jackson.core</groupId>
97 <artifactId>jackson-databind</artifactId>
margaretha666988f2017-11-13 15:30:06 +010098 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020099 </dependency>
100 <dependency>
101 <groupId>junit</groupId>
102 <artifactId>junit</artifactId>
dependabot[bot]d204fcb2021-02-15 05:28:59 +0000103 <version>4.13.2</version>
margaretha842af332016-06-14 16:31:05 +0200104 <scope>test</scope>
105 </dependency>
106 <dependency>
107 <groupId>commons-lang</groupId>
108 <artifactId>commons-lang</artifactId>
109 <version>2.6</version>
110 </dependency>
111 <dependency>
112 <groupId>org.z3950.zing</groupId>
113 <artifactId>cql-java</artifactId>
margaretha09667672021-05-10 19:52:34 +0200114 <version>1.13</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-api</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200119 <version>${log4j.version}</version>
margaretha842af332016-06-14 16:31:05 +0200120 </dependency>
121 <dependency>
margarethaab205842019-02-07 16:38:41 +0100122 <groupId>org.apache.logging.log4j</groupId>
123 <artifactId>log4j-core</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-slf4j-impl</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200129 <version>${log4j.version}</version>
margarethaab205842019-02-07 16:38:41 +0100130 </dependency>
131 <dependency>
132 <groupId>org.apache.logging.log4j</groupId>
133 <artifactId>log4j-jul</artifactId>
Marc Kupietz5048dbb2020-07-14 13:04:06 +0200134 <version>${log4j.version}</version>
margarethaab205842019-02-07 16:38:41 +0100135 <exclusions>
136 <exclusion>
137 <groupId>org.slf4j</groupId>
138 <artifactId>slf4j-api</artifactId>
139 </exclusion>
140 </exclusions>
margaretha842af332016-06-14 16:31:05 +0200141 </dependency>
142 <dependency>
143 <groupId>org.slf4j</groupId>
144 <artifactId>slf4j-api</artifactId>
dependabot[bot]e807f032022-08-22 17:01:31 +0000145 <version>2.0.0</version>
margaretha842af332016-06-14 16:31:05 +0200146 </dependency>
147 <dependency>
148 <groupId>eu.clarin.sru.fcs</groupId>
149 <artifactId>fcs-simple-endpoint</artifactId>
dependabot[bot]6ce96722021-12-20 17:01:59 +0000150 <version>1.6.0</version>
margaretha842af332016-06-14 16:31:05 +0200151 </dependency>
margaretha842af332016-06-14 16:31:05 +0200152 </dependencies>
153 <build>
154 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
155 <outputDirectory>${basedir}/target/classes</outputDirectory>
156 <plugins>
margaretha2f9d28c2018-01-10 16:16:49 +0100157 <plugin>
Marc Kupietza8269db2020-07-14 15:52:06 +0200158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-clean-plugin</artifactId>
dependabot[bot]75ef1902022-04-05 17:02:03 +0000160 <version>3.2.0</version>
margaretha2f9d28c2018-01-10 16:16:49 +0100161 <configuration>
162 <filesets>
163 <fileset>
164 <directory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse</directory>
165 <includes>
166 <include>**/*.java</include>
167 <include>**/*.tokens</include>
168 </includes>
169 <excludes>
170 <exclude>**/IErrorReporter.java</exclude>
171 <exclude>**/c2ps_opAnnot.java</exclude>
172 <exclude>**/c2ps_opBED.java</exclude>
173 <exclude>**/c2ps_opELEM.java</exclude>
174 <exclude>**/c2ps_opIN.java</exclude>
175 <exclude>**/c2ps_opOV.java</exclude>
176 <exclude>**/c2ps_opPROX.java</exclude>
177 <exclude>**/c2ps_opWF.java</exclude>
178 <exclude>**/c2ps_optCase.java</exclude>
179 <exclude>**/.gitignore</exclude>
180 <exclude>fcsql/*</exclude>
181 </excludes>
182 <followSymlinks>false</followSymlinks>
183 </fileset>
184 </filesets>
185 </configuration>
186 </plugin>
margaretha842af332016-06-14 16:31:05 +0200187 <plugin>
188 <groupId>org.apache.maven.plugins</groupId>
margaretha87291cf2017-11-17 14:36:16 +0100189 <artifactId>maven-surefire-plugin</artifactId>
dependabot[bot]e4c27d62020-07-15 05:54:42 +0000190 <version>2.22.2</version>
margaretha87291cf2017-11-17 14:36:16 +0100191 <configuration>
margarethaf011f262019-02-20 17:13:34 +0100192 <useSystemClassLoader>false</useSystemClassLoader>
193 <excludes>
194 <exclude>**/OPINTest.java</exclude>
195 </excludes>
margaretha87291cf2017-11-17 14:36:16 +0100196 </configuration>
197 </plugin>
198 <plugin>
199 <groupId>org.apache.maven.plugins</groupId>
margaretha842af332016-06-14 16:31:05 +0200200 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]e9d5f5e2022-03-11 17:01:55 +0000201 <version>3.10.1</version>
margaretha842af332016-06-14 16:31:05 +0200202 <configuration>
margaretha5c260752018-02-12 16:05:51 +0100203 <!-- <verbose>true</verbose>
204 <fork>true</fork> -->
margaretha53965cf2018-02-12 16:19:10 +0100205 <!-- <executable>${env.JAVA7_HOME}/bin/javac</executable> -->
206 <compilerVersion>2.0</compilerVersion>
207 <source>${java.version}</source>
208 <target>${java.version}</target>
margaretha842af332016-06-14 16:31:05 +0200209 </configuration>
210 </plugin>
margarethaf7dbe332016-06-16 20:14:26 +0200211 <!-- <plugin>
212 <groupId>org.codehaus.mojo</groupId>
213 <artifactId>properties-maven-plugin</artifactId>
214 <version>1.0.0</version>
215 <executions>
216 <execution>
217 <goals>
218 <goal>set-system-properties</goal>
219 </goals>
220 <configuration>
221 <properties>
222 <property>
223 <name>https.protocols</name>
224 <value>TLSv1.2</value>
225 </property>
226 </properties>
227 </configuration>
228 </execution>
229 </executions>
230 </plugin> -->
231 <!-- <plugin>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-surefire-plugin</artifactId>
234 <version>2.19.1</version>
235 <configuration>
236 <systemProperties>
237 <property>
238 <name>https.protocols</name>
239 <value>TLSv1.2</value>
240 </property>
241 </systemProperties>
242 <argLine>-Djava.https.protocols=TLSv1.2</argLine>
243 </configuration>
244 </plugin>
245 <plugin>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-failsafe-plugin</artifactId>
248 <version>2.19.1</version>
249 <configuration>
250 <systemPropertyVariables>
251 <https.protocols>TLSv1.2</https.protocols>
252 </systemPropertyVariables>
253 </configuration>
254 </plugin> -->
margaretha842af332016-06-14 16:31:05 +0200255 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
256 <plugin>
257 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
258 <artifactId>maven-java-formatter-plugin</artifactId>
259 <version>0.4</version>
260 <configuration>
261 <configFile>${project.basedir}/Format.xml</configFile>
262 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
margaretha53965cf2018-02-12 16:19:10 +0100263 <compilerSource>${java.version}</compilerSource>
264 <compilerCompliance>${java.version}</compilerCompliance>
265 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
margaretha842af332016-06-14 16:31:05 +0200266 </configuration>
267 </plugin>
268 <plugin>
269 <groupId>org.apache.maven.plugins</groupId>
270 <artifactId>maven-dependency-plugin</artifactId>
271 <executions>
272 <execution>
margarethadb09b032017-05-30 18:23:31 +0200273 <phase>package</phase>
margaretha842af332016-06-14 16:31:05 +0200274 <goals>
275 <goal>copy-dependencies</goal>
276 </goals>
277 <configuration>
278 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
279 </configuration>
280 </execution>
281 </executions>
282 </plugin>
283 <plugin>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-jar-plugin</artifactId>
dependabot[bot]5e56e552022-01-12 17:01:41 +0000286 <version>3.2.2</version>
margaretha842af332016-06-14 16:31:05 +0200287 <configuration>
288 <archive>
289 <manifest>
290 <addClasspath>true</addClasspath>
291 <classpathPrefix>../lib/</classpathPrefix>
292 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
293 </manifest>
294 </archive>
295 </configuration>
296 </plugin>
297 <plugin>
298 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
299 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
300 <groupId>org.antlr</groupId>
301 <artifactId>antlr4-maven-plugin</artifactId>
margaretha32f424a2021-05-10 15:54:41 +0200302 <version>${antlr4.version}</version>
margaretha842af332016-06-14 16:31:05 +0200303 <executions>
304 <execution>
305 <id>poliqarpplus</id>
306 <goals>
307 <goal>antlr4</goal>
308 </goals>
309 <configuration>
310 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
311 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
312 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
313 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100314 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200315 </execution>
316 <execution>
317 <id>annis</id>
318 <goals>
319 <goal>antlr4</goal>
320 </goals>
321 <configuration>
322 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
323 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
324 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
325 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100326 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200327 </execution>
328 <execution>
329 <id>collection</id>
330 <goals>
331 <goal>antlr4</goal>
332 </goals>
333 <configuration>
334 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
335 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
336 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
337 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100338 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200339 </execution>
340 </executions>
341 </plugin>
342 <plugin>
343 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
344 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
345 <groupId>org.antlr</groupId>
346 <artifactId>antlr3-maven-plugin</artifactId>
Akron8e28adf2020-07-24 14:32:56 +0200347 <version>${antlr3.version}</version>
margaretha842af332016-06-14 16:31:05 +0200348 <configuration>
349 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
350 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
351 <libDirectory>${basedir}/src/main/antlr</libDirectory>
352 </configuration>
353 <executions>
354 <execution>
355 <goals>
356 <goal>antlr</goal>
357 </goals>
margaretha5c260752018-02-12 16:05:51 +0100358 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200359 </execution>
360 </executions>
361 </plugin>
362 </plugins>
Akron908a9382021-03-04 17:26:25 +0100363 <resources>
364 <resource>
365 <directory>src/main/resources</directory>
366 <filtering>true</filtering>
367 <includes>
368 <include>koral.info</include>
369 </includes>
370 </resource>
371 </resources>
margaretha842af332016-06-14 16:31:05 +0200372 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000373</project>