blob: 7087576cc30ca71530ee8d597965ba0f7bb629ae [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>
margaretha87291cf2017-11-17 14:36:16 +01007 <version>0.28</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>
margaretha666988f2017-11-13 15:30:06 +010039 <jackson.version>2.9.1</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>
172 <version>2.20.1</version>
173 <configuration>
174 <excludes>
175 <exclude>**/OPINTest.java</exclude>
176 </excludes>
177 </configuration>
178 </plugin>
179 <plugin>
180 <groupId>org.apache.maven.plugins</groupId>
margaretha842af332016-06-14 16:31:05 +0200181 <artifactId>maven-compiler-plugin</artifactId>
margaretha53965cf2018-02-12 16:19:10 +0100182 <version>3.7.0</version>
margaretha842af332016-06-14 16:31:05 +0200183 <configuration>
margaretha5c260752018-02-12 16:05:51 +0100184 <!-- <verbose>true</verbose>
185 <fork>true</fork> -->
margaretha53965cf2018-02-12 16:19:10 +0100186 <!-- <executable>${env.JAVA7_HOME}/bin/javac</executable> -->
187 <compilerVersion>2.0</compilerVersion>
188 <source>${java.version}</source>
189 <target>${java.version}</target>
margaretha842af332016-06-14 16:31:05 +0200190 </configuration>
191 </plugin>
margarethaf7dbe332016-06-16 20:14:26 +0200192 <!-- <plugin>
193 <groupId>org.codehaus.mojo</groupId>
194 <artifactId>properties-maven-plugin</artifactId>
195 <version>1.0.0</version>
196 <executions>
197 <execution>
198 <goals>
199 <goal>set-system-properties</goal>
200 </goals>
201 <configuration>
202 <properties>
203 <property>
204 <name>https.protocols</name>
205 <value>TLSv1.2</value>
206 </property>
207 </properties>
208 </configuration>
209 </execution>
210 </executions>
211 </plugin> -->
212 <!-- <plugin>
213 <groupId>org.apache.maven.plugins</groupId>
214 <artifactId>maven-surefire-plugin</artifactId>
215 <version>2.19.1</version>
216 <configuration>
217 <systemProperties>
218 <property>
219 <name>https.protocols</name>
220 <value>TLSv1.2</value>
221 </property>
222 </systemProperties>
223 <argLine>-Djava.https.protocols=TLSv1.2</argLine>
224 </configuration>
225 </plugin>
226 <plugin>
227 <groupId>org.apache.maven.plugins</groupId>
228 <artifactId>maven-failsafe-plugin</artifactId>
229 <version>2.19.1</version>
230 <configuration>
231 <systemPropertyVariables>
232 <https.protocols>TLSv1.2</https.protocols>
233 </systemPropertyVariables>
234 </configuration>
235 </plugin> -->
margaretha842af332016-06-14 16:31:05 +0200236 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
237 <plugin>
238 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
239 <artifactId>maven-java-formatter-plugin</artifactId>
240 <version>0.4</version>
241 <configuration>
242 <configFile>${project.basedir}/Format.xml</configFile>
243 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
margaretha53965cf2018-02-12 16:19:10 +0100244 <compilerSource>${java.version}</compilerSource>
245 <compilerCompliance>${java.version}</compilerCompliance>
246 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
margaretha842af332016-06-14 16:31:05 +0200247 </configuration>
248 </plugin>
249 <plugin>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-dependency-plugin</artifactId>
252 <executions>
253 <execution>
margarethadb09b032017-05-30 18:23:31 +0200254 <phase>package</phase>
margaretha842af332016-06-14 16:31:05 +0200255 <goals>
256 <goal>copy-dependencies</goal>
257 </goals>
258 <configuration>
259 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
260 </configuration>
261 </execution>
262 </executions>
263 </plugin>
264 <plugin>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-jar-plugin</artifactId>
267 <version>2.5</version>
268 <configuration>
269 <archive>
270 <manifest>
271 <addClasspath>true</addClasspath>
272 <classpathPrefix>../lib/</classpathPrefix>
273 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
274 </manifest>
275 </archive>
276 </configuration>
277 </plugin>
278 <plugin>
279 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
280 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
281 <groupId>org.antlr</groupId>
282 <artifactId>antlr4-maven-plugin</artifactId>
283 <version>4.2</version>
284 <executions>
285 <execution>
286 <id>poliqarpplus</id>
287 <goals>
288 <goal>antlr4</goal>
289 </goals>
290 <configuration>
291 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
292 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
293 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
294 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100295 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200296 </execution>
297 <execution>
298 <id>annis</id>
299 <goals>
300 <goal>antlr4</goal>
301 </goals>
302 <configuration>
303 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
304 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
305 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
306 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100307 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200308 </execution>
309 <execution>
310 <id>collection</id>
311 <goals>
312 <goal>antlr4</goal>
313 </goals>
314 <configuration>
315 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
316 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
317 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
318 </configuration>
margaretha5c260752018-02-12 16:05:51 +0100319 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200320 </execution>
321 </executions>
322 </plugin>
323 <plugin>
324 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
325 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
326 <groupId>org.antlr</groupId>
327 <artifactId>antlr3-maven-plugin</artifactId>
margaretha5c260752018-02-12 16:05:51 +0100328 <version>3.5.2</version>
margaretha842af332016-06-14 16:31:05 +0200329 <configuration>
330 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
331 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
332 <libDirectory>${basedir}/src/main/antlr</libDirectory>
333 </configuration>
334 <executions>
335 <execution>
336 <goals>
337 <goal>antlr</goal>
338 </goals>
margaretha5c260752018-02-12 16:05:51 +0100339 <!-- <phase>generate-sources</phase> -->
margaretha842af332016-06-14 16:31:05 +0200340 </execution>
341 </executions>
342 </plugin>
343 </plugins>
344 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000345</project>