blob: 71d1be52d427c4280d970e9ede3db467a72f1518 [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"
Joachim Bingela6954de2015-03-20 16:37:37 +01002 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
Michael Hanlf33f7062015-06-24 21:14:26 +02005 <groupId>de.ids_mannheim.korap</groupId>
Joachim Bingela6954de2015-03-20 16:37:37 +01006 <artifactId>Koral</artifactId>
Akron79cd7362016-06-03 17:05:05 +02007 <version>0.22</version>
Joachim Bingela6954de2015-03-20 16:37:37 +01008 <packaging>jar</packaging>
9 <name>Koral</name>
10 <url>http://maven.apache.org</url>
Akrone9c81d12016-06-13 17:27:21 +020011
12 <organization>
13 <name>IDS Mannheim</name>
14 <url>http://www.ids-mannheim.de/</url>
15 </organization>
16
17 <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>
36
37 <properties>
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39 </properties>
40
Joachim Bingela6954de2015-03-20 16:37:37 +010041 <repositories>
42 <repository>
43 <id>id-maven-repo</id>
44 <url>http://maven.indexdata.com</url>
45 </repository>
46 </repositories>
47 <dependencies>
48 <dependency>
49 <groupId>org.antlr</groupId>
50 <artifactId>antlr4-runtime</artifactId>
margaretha2ffa9552016-05-27 17:20:00 +020051 <version>4.5.1</version>
Joachim Bingela6954de2015-03-20 16:37:37 +010052 </dependency>
53 <dependency>
54 <groupId>org.antlr</groupId>
55 <artifactId>antlr4-maven-plugin</artifactId>
Jim O'Reganc61a1df2016-02-12 12:22:24 +000056 <version>4.2</version>
Joachim Bingela6954de2015-03-20 16:37:37 +010057 </dependency>
58 <dependency>
59 <groupId>org.antlr</groupId>
60 <artifactId>antlr-runtime</artifactId>
61 <version>3.5</version>
62 <scope>compile</scope>
63 </dependency>
64 <dependency>
65 <groupId>com.google.guava</groupId>
66 <artifactId>guava</artifactId>
67 <version>15.0</version>
68 </dependency>
69 <dependency>
70 <groupId>com.fasterxml.jackson.core</groupId>
71 <artifactId>jackson-core</artifactId>
72 <version>2.3.3</version>
73 </dependency>
74 <dependency>
75 <groupId>com.fasterxml.jackson.core</groupId>
76 <artifactId>jackson-annotations</artifactId>
77 <version>2.3.3</version>
78 </dependency>
79 <dependency>
80 <groupId>com.fasterxml.jackson.core</groupId>
81 <artifactId>jackson-databind</artifactId>
82 <version>2.3.3</version>
83 </dependency>
84 <dependency>
85 <groupId>junit</groupId>
86 <artifactId>junit</artifactId>
87 <version>4.11</version>
88 <scope>test</scope>
89 </dependency>
90 <dependency>
91 <groupId>commons-lang</groupId>
92 <artifactId>commons-lang</artifactId>
93 <version>2.6</version>
94 </dependency>
95 <dependency>
96 <groupId>org.z3950.zing</groupId>
97 <artifactId>cql-java</artifactId>
98 <version>1.12</version>
99 </dependency>
100 <dependency>
Joachim Bingela6954de2015-03-20 16:37:37 +0100101 <groupId>log4j</groupId>
102 <artifactId>log4j</artifactId>
103 <version>1.2.17</version>
104 </dependency>
105 <dependency>
106 <groupId>log4j</groupId>
107 <artifactId>apache-log4j-extras</artifactId>
108 <version>1.2.17</version>
109 </dependency>
110 <dependency>
111 <groupId>org.slf4j</groupId>
112 <artifactId>slf4j-api</artifactId>
113 <version>1.7.5</version>
114 </dependency>
115 <dependency>
116 <groupId>org.slf4j</groupId>
117 <artifactId>slf4j-log4j12</artifactId>
118 <version>1.7.5</version>
119 </dependency>
margaretha2ffa9552016-05-27 17:20:00 +0200120 <dependency>
121 <groupId>eu.clarin.sru.fcs</groupId>
122 <artifactId>fcs-simple-endpoint</artifactId>
123 <version>1.3.0</version>
124 </dependency>
125 <dependency>
126 <groupId>org.apache.lucene</groupId>
127 <artifactId>lucene-core</artifactId>
128 <version>5.2.1</version>
129 </dependency>
130 <dependency>
131 <groupId>org.apache.lucene</groupId>
132 <artifactId>lucene-analyzers-common</artifactId>
133 <version>5.2.1</version>
134 </dependency>
135 <dependency>
136 <groupId>org.apache.lucene</groupId>
137 <artifactId>lucene-queryparser</artifactId>
138 <version>5.2.1</version>
139 </dependency>
Joachim Bingela6954de2015-03-20 16:37:37 +0100140 </dependencies>
141 <build>
142 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
143 <outputDirectory>${basedir}/target/classes</outputDirectory>
144 <plugins>
Akrone9c81d12016-06-13 17:27:21 +0200145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-compiler-plugin</artifactId>
148 <version>3.3</version>
149 <configuration>
150 <compilerVersion>1.7</compilerVersion>
151 <source>1.7</source>
152 <target>1.7</target>
153 </configuration>
154 </plugin>
Joachim Bingela6954de2015-03-20 16:37:37 +0100155 <!--
156 Formatter plugin for Eclipse based coding conventions
157 http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html
Michael Hanle91345d2015-10-22 17:55:27 +0200158 -->
Joachim Bingela6954de2015-03-20 16:37:37 +0100159 <plugin>
160 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
161 <artifactId>maven-java-formatter-plugin</artifactId>
162 <version>0.4</version>
163 <configuration>
164 <configFile>${project.basedir}/Format.xml</configFile>
165 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
166 <compilerSource>1.7</compilerSource>
167 <compilerCompliance>1.7</compilerCompliance>
168 <compilerTargetPlatform>1.7</compilerTargetPlatform>
169 </configuration>
170 </plugin>
171 <plugin>
172 <artifactId>maven-dependency-plugin</artifactId>
173 <executions>
174 <execution>
175 <phase>install</phase>
176 <goals>
177 <goal>copy-dependencies</goal>
178 </goals>
179 <configuration>
180 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
181 </configuration>
182 </execution>
183 </executions>
184 </plugin>
185 <plugin>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-jar-plugin</artifactId>
188 <version>2.5</version>
189 <configuration>
190 <archive>
191 <manifest>
192 <addClasspath>true</addClasspath>
193 <classpathPrefix>../lib/</classpathPrefix>
194 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
195 </manifest>
196 </archive>
197 </configuration>
198 </plugin>
199 <plugin>
200 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
201 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
202 <groupId>org.antlr</groupId>
203 <artifactId>antlr4-maven-plugin</artifactId>
Jim O'Reganc61a1df2016-02-12 12:22:24 +0000204 <version>4.2</version>
Joachim Bingela6954de2015-03-20 16:37:37 +0100205 <executions>
206 <execution>
207 <id>poliqarpplus</id>
208 <goals>
209 <goal>antlr4</goal>
210 </goals>
211 <configuration>
212 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
213 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
214 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
215 </configuration>
216 <phase>generate-sources</phase>
217 </execution>
218 <execution>
219 <id>annis</id>
220 <goals>
221 <goal>antlr4</goal>
222 </goals>
223 <configuration>
224 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
225 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
226 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
227 </configuration>
228 <phase>generate-sources</phase>
229 </execution>
230 <execution>
231 <id>collection</id>
232 <goals>
233 <goal>antlr4</goal>
234 </goals>
235 <configuration>
236 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
237 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
238 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
239 </configuration>
240 <phase>generate-sources</phase>
241 </execution>
242 </executions>
243 </plugin>
244 <plugin>
245 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
246 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
247 <groupId>org.antlr</groupId>
248 <artifactId>antlr3-maven-plugin</artifactId>
249 <version>3.5.1</version>
250 <configuration>
251 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
252 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
253 <libDirectory>${basedir}/src/main/antlr</libDirectory>
254 </configuration>
Joachim Bingela6954de2015-03-20 16:37:37 +0100255 <executions>
256 <execution>
257 <goals>
258 <goal>antlr</goal>
259 </goals>
260 <phase>generate-sources</phase>
261 </execution>
262 </executions>
Joachim Bingela6954de2015-03-20 16:37:37 +0100263 </plugin>
264 </plugins>
265 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000266</project>