blob: 3e5b27139e7c8f864b4c107d0920b0a18cad880b [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>
Akronc9fc40c2018-12-13 13:32:27 +01007 <version>0.32</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>
111 <groupId>log4j</groupId>
112 <artifactId>log4j</artifactId>
113 <version>1.2.17</version>
114 </dependency>
115 <dependency>
116 <groupId>log4j</groupId>
117 <artifactId>apache-log4j-extras</artifactId>
118 <version>1.2.17</version>
119 </dependency>
120 <dependency>
121 <groupId>org.slf4j</groupId>
122 <artifactId>slf4j-api</artifactId>
123 <version>1.7.5</version>
124 </dependency>
125 <dependency>
126 <groupId>org.slf4j</groupId>
127 <artifactId>slf4j-log4j12</artifactId>
128 <version>1.7.5</version>
129 </dependency>
130 <dependency>
131 <groupId>eu.clarin.sru.fcs</groupId>
132 <artifactId>fcs-simple-endpoint</artifactId>
133 <version>1.3.0</version>
134 </dependency>
margaretha842af332016-06-14 16:31:05 +0200135 </dependencies>
136 <build>
137 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
138 <outputDirectory>${basedir}/target/classes</outputDirectory>
139 <plugins>
margaretha2f9d28c2018-01-10 16:16:49 +0100140 <plugin>
141 <artifactId>maven-clean-plugin</artifactId>
142 <version>3.0.0</version>
143 <configuration>
144 <filesets>
145 <fileset>
146 <directory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse</directory>
147 <includes>
148 <include>**/*.java</include>
149 <include>**/*.tokens</include>
150 </includes>
151 <excludes>
152 <exclude>**/IErrorReporter.java</exclude>
153 <exclude>**/c2ps_opAnnot.java</exclude>
154 <exclude>**/c2ps_opBED.java</exclude>
155 <exclude>**/c2ps_opELEM.java</exclude>
156 <exclude>**/c2ps_opIN.java</exclude>
157 <exclude>**/c2ps_opOV.java</exclude>
158 <exclude>**/c2ps_opPROX.java</exclude>
159 <exclude>**/c2ps_opWF.java</exclude>
160 <exclude>**/c2ps_optCase.java</exclude>
161 <exclude>**/.gitignore</exclude>
162 <exclude>fcsql/*</exclude>
163 </excludes>
164 <followSymlinks>false</followSymlinks>
165 </fileset>
166 </filesets>
167 </configuration>
168 </plugin>
margaretha842af332016-06-14 16:31:05 +0200169 <plugin>
170 <groupId>org.apache.maven.plugins</groupId>
margaretha87291cf2017-11-17 14:36:16 +0100171 <artifactId>maven-surefire-plugin</artifactId>
Akrona5a311e2018-10-31 15:52:53 +0100172 <version>2.22.1</version>
margaretha87291cf2017-11-17 14:36:16 +0100173 <configuration>
Akrona5a311e2018-10-31 15:52:53 +0100174 <useSystemClassLoader>false</useSystemClassLoader>
margaretha87291cf2017-11-17 14:36:16 +0100175 <excludes>
176 <exclude>**/OPINTest.java</exclude>
177 </excludes>
178 </configuration>
179 </plugin>
180 <plugin>
181 <groupId>org.apache.maven.plugins</groupId>
margaretha842af332016-06-14 16:31:05 +0200182 <artifactId>maven-compiler-plugin</artifactId>
margaretha53965cf2018-02-12 16:19:10 +0100183 <version>3.7.0</version>
margaretha842af332016-06-14 16:31:05 +0200184 <configuration>
margaretha5c260752018-02-12 16:05:51 +0100185 <!-- <verbose>true</verbose>
186 <fork>true</fork> -->
margaretha53965cf2018-02-12 16:19:10 +0100187 <!-- <executable>${env.JAVA7_HOME}/bin/javac</executable> -->
188 <compilerVersion>2.0</compilerVersion>
189 <source>${java.version}</source>
190 <target>${java.version}</target>
margaretha842af332016-06-14 16:31:05 +0200191 </configuration>
192 </plugin>
margarethaf7dbe332016-06-16 20:14:26 +0200193 <!-- <plugin>
194 <groupId>org.codehaus.mojo</groupId>
195 <artifactId>properties-maven-plugin</artifactId>
196 <version>1.0.0</version>
197 <executions>
198 <execution>
199 <goals>
200 <goal>set-system-properties</goal>
201 </goals>
202 <configuration>
203 <properties>
204 <property>
205 <name>https.protocols</name>
206 <value>TLSv1.2</value>
207 </property>
208 </properties>
209 </configuration>
210 </execution>
211 </executions>
212 </plugin> -->
213 <!-- <plugin>
214 <groupId>org.apache.maven.plugins</groupId>
215 <artifactId>maven-surefire-plugin</artifactId>
216 <version>2.19.1</version>
217 <configuration>
218 <systemProperties>
219 <property>
220 <name>https.protocols</name>
221 <value>TLSv1.2</value>
222 </property>
223 </systemProperties>
224 <argLine>-Djava.https.protocols=TLSv1.2</argLine>
225 </configuration>
226 </plugin>
227 <plugin>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-failsafe-plugin</artifactId>
230 <version>2.19.1</version>
231 <configuration>
232 <systemPropertyVariables>
233 <https.protocols>TLSv1.2</https.protocols>
234 </systemPropertyVariables>
235 </configuration>
236 </plugin> -->
margaretha842af332016-06-14 16:31:05 +0200237 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
238 <plugin>
239 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
240 <artifactId>maven-java-formatter-plugin</artifactId>
241 <version>0.4</version>
242 <configuration>
243 <configFile>${project.basedir}/Format.xml</configFile>
244 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
margaretha53965cf2018-02-12 16:19:10 +0100245 <compilerSource>${java.version}</compilerSource>
246 <compilerCompliance>${java.version}</compilerCompliance>
247 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
margaretha842af332016-06-14 16:31:05 +0200248 </configuration>
249 </plugin>
250 <plugin>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-dependency-plugin</artifactId>
253 <executions>
254 <execution>
margarethadb09b032017-05-30 18:23:31 +0200255 <phase>package</phase>
margaretha842af332016-06-14 16:31:05 +0200256 <goals>
257 <goal>copy-dependencies</goal>
258 </goals>
259 <configuration>
260 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
261 </configuration>
262 </execution>
263 </executions>
264 </plugin>
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-jar-plugin</artifactId>
268 <version>2.5</version>
269 <configuration>
270 <archive>
271 <manifest>
272 <addClasspath>true</addClasspath>
273 <classpathPrefix>../lib/</classpathPrefix>
274 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
275 </manifest>
276 </archive>
277 </configuration>
278 </plugin>
279 <plugin>
280 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
281 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
282 <groupId>org.antlr</groupId>
283 <artifactId>antlr4-maven-plugin</artifactId>
284 <version>4.2</version>
285 <executions>
286 <execution>
287 <id>poliqarpplus</id>
288 <goals>
289 <goal>antlr4</goal>
290 </goals>
291 <configuration>
292 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
293 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
294 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
295 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100296 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200297 </execution>
298 <execution>
299 <id>annis</id>
300 <goals>
301 <goal>antlr4</goal>
302 </goals>
303 <configuration>
304 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
305 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
306 <libDirectory>${basedir}/src/main/antlr/annis</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>collection</id>
312 <goals>
313 <goal>antlr4</goal>
314 </goals>
315 <configuration>
316 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
317 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
318 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
319 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100320 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200321 </execution>
322 </executions>
323 </plugin>
324 <plugin>
325 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
326 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
327 <groupId>org.antlr</groupId>
328 <artifactId>antlr3-maven-plugin</artifactId>
margaretha5c260752018-02-12 16:05:51 +0100329 <version>3.5.2</version>
margaretha842af332016-06-14 16:31:05 +0200330 <configuration>
331 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
332 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
333 <libDirectory>${basedir}/src/main/antlr</libDirectory>
334 </configuration>
335 <executions>
336 <execution>
337 <goals>
338 <goal>antlr</goal>
339 </goals>
margaretha5c260752018-02-12 16:05:51 +0100340 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200341 </execution>
342 </executions>
343 </plugin>
344 </plugins>
345 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000346</project>