blob: 7417cea066244d3c075d9a637e4accc50be384e4 [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>
margarethaf31ae532019-01-08 17:18:20 +01007 <version>0.33</version>
margaretha842af332016-06-14 16:31:05 +02008 <packaging>jar</packaging>
9 <name>Koral</name>
10 <url>http://maven.apache.org</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>
Akrona5a311e2018-10-31 15:52:53 +0100185 <useSystemClassLoader>false</useSystemClassLoader>
margaretha87291cf2017-11-17 14:36:16 +0100186 </configuration>
187 </plugin>
188 <plugin>
189 <groupId>org.apache.maven.plugins</groupId>
margaretha842af332016-06-14 16:31:05 +0200190 <artifactId>maven-compiler-plugin</artifactId>
margaretha53965cf2018-02-12 16:19:10 +0100191 <version>3.7.0</version>
margaretha842af332016-06-14 16:31:05 +0200192 <configuration>
margaretha5c260752018-02-12 16:05:51 +0100193 <!-- <verbose>true</verbose>
194 <fork>true</fork> -->
margaretha53965cf2018-02-12 16:19:10 +0100195 <!-- <executable>${env.JAVA7_HOME}/bin/javac</executable> -->
196 <compilerVersion>2.0</compilerVersion>
197 <source>${java.version}</source>
198 <target>${java.version}</target>
margaretha842af332016-06-14 16:31:05 +0200199 </configuration>
200 </plugin>
margarethaf7dbe332016-06-16 20:14:26 +0200201 <!-- <plugin>
202 <groupId>org.codehaus.mojo</groupId>
203 <artifactId>properties-maven-plugin</artifactId>
204 <version>1.0.0</version>
205 <executions>
206 <execution>
207 <goals>
208 <goal>set-system-properties</goal>
209 </goals>
210 <configuration>
211 <properties>
212 <property>
213 <name>https.protocols</name>
214 <value>TLSv1.2</value>
215 </property>
216 </properties>
217 </configuration>
218 </execution>
219 </executions>
220 </plugin> -->
221 <!-- <plugin>
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-surefire-plugin</artifactId>
224 <version>2.19.1</version>
225 <configuration>
226 <systemProperties>
227 <property>
228 <name>https.protocols</name>
229 <value>TLSv1.2</value>
230 </property>
231 </systemProperties>
232 <argLine>-Djava.https.protocols=TLSv1.2</argLine>
233 </configuration>
234 </plugin>
235 <plugin>
236 <groupId>org.apache.maven.plugins</groupId>
237 <artifactId>maven-failsafe-plugin</artifactId>
238 <version>2.19.1</version>
239 <configuration>
240 <systemPropertyVariables>
241 <https.protocols>TLSv1.2</https.protocols>
242 </systemPropertyVariables>
243 </configuration>
244 </plugin> -->
margaretha842af332016-06-14 16:31:05 +0200245 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
246 <plugin>
247 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
248 <artifactId>maven-java-formatter-plugin</artifactId>
249 <version>0.4</version>
250 <configuration>
251 <configFile>${project.basedir}/Format.xml</configFile>
252 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
margaretha53965cf2018-02-12 16:19:10 +0100253 <compilerSource>${java.version}</compilerSource>
254 <compilerCompliance>${java.version}</compilerCompliance>
255 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
margaretha842af332016-06-14 16:31:05 +0200256 </configuration>
257 </plugin>
258 <plugin>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-dependency-plugin</artifactId>
261 <executions>
262 <execution>
margarethadb09b032017-05-30 18:23:31 +0200263 <phase>package</phase>
margaretha842af332016-06-14 16:31:05 +0200264 <goals>
265 <goal>copy-dependencies</goal>
266 </goals>
267 <configuration>
268 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
269 </configuration>
270 </execution>
271 </executions>
272 </plugin>
273 <plugin>
274 <groupId>org.apache.maven.plugins</groupId>
275 <artifactId>maven-jar-plugin</artifactId>
276 <version>2.5</version>
277 <configuration>
278 <archive>
279 <manifest>
280 <addClasspath>true</addClasspath>
281 <classpathPrefix>../lib/</classpathPrefix>
282 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
283 </manifest>
284 </archive>
285 </configuration>
286 </plugin>
287 <plugin>
288 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
289 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
290 <groupId>org.antlr</groupId>
291 <artifactId>antlr4-maven-plugin</artifactId>
292 <version>4.2</version>
293 <executions>
294 <execution>
295 <id>poliqarpplus</id>
296 <goals>
297 <goal>antlr4</goal>
298 </goals>
299 <configuration>
300 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
301 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
302 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
303 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100304 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200305 </execution>
306 <execution>
307 <id>annis</id>
308 <goals>
309 <goal>antlr4</goal>
310 </goals>
311 <configuration>
312 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
313 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
314 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
315 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100316 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200317 </execution>
318 <execution>
319 <id>collection</id>
320 <goals>
321 <goal>antlr4</goal>
322 </goals>
323 <configuration>
324 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
325 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
326 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
327 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100328 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200329 </execution>
330 </executions>
331 </plugin>
332 <plugin>
333 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
334 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
335 <groupId>org.antlr</groupId>
336 <artifactId>antlr3-maven-plugin</artifactId>
margaretha5c260752018-02-12 16:05:51 +0100337 <version>3.5.2</version>
margaretha842af332016-06-14 16:31:05 +0200338 <configuration>
339 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
340 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
341 <libDirectory>${basedir}/src/main/antlr</libDirectory>
342 </configuration>
343 <executions>
344 <execution>
345 <goals>
346 <goal>antlr</goal>
347 </goals>
margaretha5c260752018-02-12 16:05:51 +0100348 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200349 </execution>
350 </executions>
351 </plugin>
352 </plugins>
353 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000354</project>