blob: 8149525904d4bd150a67bb80e6d93fed71a2c315 [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>
margaretha842af332016-06-14 16:31:05 +020040 </properties>
margarethaf7dbe332016-06-16 20:14:26 +020041
margaretha842af332016-06-14 16:31:05 +020042 <repositories>
43 <repository>
44 <id>id-maven-repo</id>
45 <url>http://maven.indexdata.com</url>
46 </repository>
47 <repository>
48 <id>CLARIN</id>
49 <name>CLARIN Repository</name>
50 <url>https://nexus.clarin.eu/content/repositories/Clarin</url>
51 <snapshots>
52 <enabled>false</enabled>
53 </snapshots>
54 </repository>
55 </repositories>
56 <dependencies>
margaretha842af332016-06-14 16:31:05 +020057 <dependency>
58 <groupId>org.antlr</groupId>
59 <artifactId>antlr4-runtime</artifactId>
60 <version>4.5.1</version>
61 </dependency>
62 <dependency>
63 <groupId>org.antlr</groupId>
64 <artifactId>antlr4-maven-plugin</artifactId>
65 <version>4.2</version>
66 </dependency>
67 <dependency>
68 <groupId>org.antlr</groupId>
69 <artifactId>antlr-runtime</artifactId>
70 <version>3.5</version>
71 <scope>compile</scope>
72 </dependency>
73 <dependency>
74 <groupId>com.google.guava</groupId>
75 <artifactId>guava</artifactId>
76 <version>15.0</version>
77 </dependency>
78 <dependency>
79 <groupId>com.fasterxml.jackson.core</groupId>
80 <artifactId>jackson-core</artifactId>
margaretha666988f2017-11-13 15:30:06 +010081 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020082 </dependency>
83 <dependency>
84 <groupId>com.fasterxml.jackson.core</groupId>
85 <artifactId>jackson-annotations</artifactId>
margaretha666988f2017-11-13 15:30:06 +010086 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020087 </dependency>
88 <dependency>
89 <groupId>com.fasterxml.jackson.core</groupId>
90 <artifactId>jackson-databind</artifactId>
margaretha666988f2017-11-13 15:30:06 +010091 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020092 </dependency>
93 <dependency>
94 <groupId>junit</groupId>
95 <artifactId>junit</artifactId>
96 <version>4.11</version>
97 <scope>test</scope>
98 </dependency>
99 <dependency>
100 <groupId>commons-lang</groupId>
101 <artifactId>commons-lang</artifactId>
102 <version>2.6</version>
103 </dependency>
104 <dependency>
105 <groupId>org.z3950.zing</groupId>
106 <artifactId>cql-java</artifactId>
107 <version>1.12</version>
108 </dependency>
109 <dependency>
110 <groupId>log4j</groupId>
111 <artifactId>log4j</artifactId>
112 <version>1.2.17</version>
113 </dependency>
114 <dependency>
115 <groupId>log4j</groupId>
116 <artifactId>apache-log4j-extras</artifactId>
117 <version>1.2.17</version>
118 </dependency>
119 <dependency>
120 <groupId>org.slf4j</groupId>
121 <artifactId>slf4j-api</artifactId>
122 <version>1.7.5</version>
123 </dependency>
124 <dependency>
125 <groupId>org.slf4j</groupId>
126 <artifactId>slf4j-log4j12</artifactId>
127 <version>1.7.5</version>
128 </dependency>
129 <dependency>
130 <groupId>eu.clarin.sru.fcs</groupId>
131 <artifactId>fcs-simple-endpoint</artifactId>
132 <version>1.3.0</version>
133 </dependency>
margaretha842af332016-06-14 16:31:05 +0200134 </dependencies>
135 <build>
136 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
137 <outputDirectory>${basedir}/target/classes</outputDirectory>
138 <plugins>
margaretha2f9d28c2018-01-10 16:16:49 +0100139 <plugin>
140 <artifactId>maven-clean-plugin</artifactId>
141 <version>3.0.0</version>
142 <configuration>
143 <filesets>
144 <fileset>
145 <directory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse</directory>
146 <includes>
147 <include>**/*.java</include>
148 <include>**/*.tokens</include>
149 </includes>
150 <excludes>
151 <exclude>**/IErrorReporter.java</exclude>
152 <exclude>**/c2ps_opAnnot.java</exclude>
153 <exclude>**/c2ps_opBED.java</exclude>
154 <exclude>**/c2ps_opELEM.java</exclude>
155 <exclude>**/c2ps_opIN.java</exclude>
156 <exclude>**/c2ps_opOV.java</exclude>
157 <exclude>**/c2ps_opPROX.java</exclude>
158 <exclude>**/c2ps_opWF.java</exclude>
159 <exclude>**/c2ps_optCase.java</exclude>
160 <exclude>**/.gitignore</exclude>
161 <exclude>fcsql/*</exclude>
162 </excludes>
163 <followSymlinks>false</followSymlinks>
164 </fileset>
165 </filesets>
166 </configuration>
167 </plugin>
margaretha842af332016-06-14 16:31:05 +0200168 <plugin>
169 <groupId>org.apache.maven.plugins</groupId>
margaretha87291cf2017-11-17 14:36:16 +0100170 <artifactId>maven-surefire-plugin</artifactId>
171 <version>2.20.1</version>
172 <configuration>
173 <excludes>
174 <exclude>**/OPINTest.java</exclude>
175 </excludes>
176 </configuration>
177 </plugin>
178 <plugin>
179 <groupId>org.apache.maven.plugins</groupId>
margaretha842af332016-06-14 16:31:05 +0200180 <artifactId>maven-compiler-plugin</artifactId>
181 <version>3.3</version>
182 <configuration>
183 <compilerVersion>1.7</compilerVersion>
184 <source>1.7</source>
185 <target>1.7</target>
186 </configuration>
187 </plugin>
margarethaf7dbe332016-06-16 20:14:26 +0200188 <!-- <plugin>
189 <groupId>org.codehaus.mojo</groupId>
190 <artifactId>properties-maven-plugin</artifactId>
191 <version>1.0.0</version>
192 <executions>
193 <execution>
194 <goals>
195 <goal>set-system-properties</goal>
196 </goals>
197 <configuration>
198 <properties>
199 <property>
200 <name>https.protocols</name>
201 <value>TLSv1.2</value>
202 </property>
203 </properties>
204 </configuration>
205 </execution>
206 </executions>
207 </plugin> -->
208 <!-- <plugin>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-surefire-plugin</artifactId>
211 <version>2.19.1</version>
212 <configuration>
213 <systemProperties>
214 <property>
215 <name>https.protocols</name>
216 <value>TLSv1.2</value>
217 </property>
218 </systemProperties>
219 <argLine>-Djava.https.protocols=TLSv1.2</argLine>
220 </configuration>
221 </plugin>
222 <plugin>
223 <groupId>org.apache.maven.plugins</groupId>
224 <artifactId>maven-failsafe-plugin</artifactId>
225 <version>2.19.1</version>
226 <configuration>
227 <systemPropertyVariables>
228 <https.protocols>TLSv1.2</https.protocols>
229 </systemPropertyVariables>
230 </configuration>
231 </plugin> -->
margaretha842af332016-06-14 16:31:05 +0200232 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
233 <plugin>
234 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
235 <artifactId>maven-java-formatter-plugin</artifactId>
236 <version>0.4</version>
237 <configuration>
238 <configFile>${project.basedir}/Format.xml</configFile>
239 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
240 <compilerSource>1.7</compilerSource>
241 <compilerCompliance>1.7</compilerCompliance>
242 <compilerTargetPlatform>1.7</compilerTargetPlatform>
243 </configuration>
244 </plugin>
245 <plugin>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-dependency-plugin</artifactId>
248 <executions>
249 <execution>
margarethadb09b032017-05-30 18:23:31 +0200250 <phase>package</phase>
margaretha842af332016-06-14 16:31:05 +0200251 <goals>
252 <goal>copy-dependencies</goal>
253 </goals>
254 <configuration>
255 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
256 </configuration>
257 </execution>
258 </executions>
259 </plugin>
260 <plugin>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-jar-plugin</artifactId>
263 <version>2.5</version>
264 <configuration>
265 <archive>
266 <manifest>
267 <addClasspath>true</addClasspath>
268 <classpathPrefix>../lib/</classpathPrefix>
269 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
270 </manifest>
271 </archive>
272 </configuration>
273 </plugin>
274 <plugin>
275 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
276 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
277 <groupId>org.antlr</groupId>
278 <artifactId>antlr4-maven-plugin</artifactId>
279 <version>4.2</version>
280 <executions>
281 <execution>
282 <id>poliqarpplus</id>
283 <goals>
284 <goal>antlr4</goal>
285 </goals>
286 <configuration>
287 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
288 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
289 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
290 </configuration>
291 <phase>generate-sources</phase>
292 </execution>
293 <execution>
294 <id>annis</id>
295 <goals>
296 <goal>antlr4</goal>
297 </goals>
298 <configuration>
299 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
300 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
301 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
302 </configuration>
303 <phase>generate-sources</phase>
304 </execution>
305 <execution>
306 <id>collection</id>
307 <goals>
308 <goal>antlr4</goal>
309 </goals>
310 <configuration>
311 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
312 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
313 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
314 </configuration>
315 <phase>generate-sources</phase>
316 </execution>
317 </executions>
318 </plugin>
319 <plugin>
320 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
321 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
322 <groupId>org.antlr</groupId>
323 <artifactId>antlr3-maven-plugin</artifactId>
324 <version>3.5.1</version>
325 <configuration>
326 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
327 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
328 <libDirectory>${basedir}/src/main/antlr</libDirectory>
329 </configuration>
330 <executions>
331 <execution>
332 <goals>
333 <goal>antlr</goal>
334 </goals>
335 <phase>generate-sources</phase>
336 </execution>
337 </executions>
338 </plugin>
339 </plugins>
340 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000341</project>