blob: e59fd5cb827d2e8cc7edf9ec60a95559ce2657bd [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>
Eliza Margaretha5c441ff2016-06-09 12:53:33 +020051 <version>4.2</version>
52 </dependency>
53 <dependency>
54 <groupId>org.antlr</groupId>
55 <artifactId>antlr4-runtime</artifactId>
margaretha2ffa9552016-05-27 17:20:00 +020056 <version>4.5.1</version>
Joachim Bingela6954de2015-03-20 16:37:37 +010057 </dependency>
58 <dependency>
59 <groupId>org.antlr</groupId>
60 <artifactId>antlr4-maven-plugin</artifactId>
Jim O'Reganc61a1df2016-02-12 12:22:24 +000061 <version>4.2</version>
Joachim Bingela6954de2015-03-20 16:37:37 +010062 </dependency>
63 <dependency>
64 <groupId>org.antlr</groupId>
65 <artifactId>antlr-runtime</artifactId>
66 <version>3.5</version>
67 <scope>compile</scope>
68 </dependency>
69 <dependency>
70 <groupId>com.google.guava</groupId>
71 <artifactId>guava</artifactId>
72 <version>15.0</version>
73 </dependency>
74 <dependency>
75 <groupId>com.fasterxml.jackson.core</groupId>
76 <artifactId>jackson-core</artifactId>
77 <version>2.3.3</version>
78 </dependency>
79 <dependency>
80 <groupId>com.fasterxml.jackson.core</groupId>
81 <artifactId>jackson-annotations</artifactId>
82 <version>2.3.3</version>
83 </dependency>
84 <dependency>
85 <groupId>com.fasterxml.jackson.core</groupId>
86 <artifactId>jackson-databind</artifactId>
87 <version>2.3.3</version>
88 </dependency>
89 <dependency>
90 <groupId>junit</groupId>
91 <artifactId>junit</artifactId>
92 <version>4.11</version>
93 <scope>test</scope>
94 </dependency>
95 <dependency>
96 <groupId>commons-lang</groupId>
97 <artifactId>commons-lang</artifactId>
98 <version>2.6</version>
99 </dependency>
100 <dependency>
101 <groupId>org.z3950.zing</groupId>
102 <artifactId>cql-java</artifactId>
103 <version>1.12</version>
104 </dependency>
105 <dependency>
Joachim Bingela6954de2015-03-20 16:37:37 +0100106 <groupId>log4j</groupId>
107 <artifactId>log4j</artifactId>
108 <version>1.2.17</version>
109 </dependency>
110 <dependency>
111 <groupId>log4j</groupId>
112 <artifactId>apache-log4j-extras</artifactId>
113 <version>1.2.17</version>
114 </dependency>
115 <dependency>
116 <groupId>org.slf4j</groupId>
117 <artifactId>slf4j-api</artifactId>
118 <version>1.7.5</version>
119 </dependency>
120 <dependency>
121 <groupId>org.slf4j</groupId>
122 <artifactId>slf4j-log4j12</artifactId>
123 <version>1.7.5</version>
124 </dependency>
margaretha2ffa9552016-05-27 17:20:00 +0200125 <dependency>
126 <groupId>eu.clarin.sru.fcs</groupId>
127 <artifactId>fcs-simple-endpoint</artifactId>
128 <version>1.3.0</version>
129 </dependency>
130 <dependency>
131 <groupId>org.apache.lucene</groupId>
132 <artifactId>lucene-core</artifactId>
133 <version>5.2.1</version>
134 </dependency>
135 <dependency>
136 <groupId>org.apache.lucene</groupId>
137 <artifactId>lucene-analyzers-common</artifactId>
138 <version>5.2.1</version>
139 </dependency>
140 <dependency>
141 <groupId>org.apache.lucene</groupId>
142 <artifactId>lucene-queryparser</artifactId>
143 <version>5.2.1</version>
144 </dependency>
Joachim Bingela6954de2015-03-20 16:37:37 +0100145 </dependencies>
146 <build>
147 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
148 <outputDirectory>${basedir}/target/classes</outputDirectory>
149 <plugins>
Akrone9c81d12016-06-13 17:27:21 +0200150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-compiler-plugin</artifactId>
153 <version>3.3</version>
154 <configuration>
155 <compilerVersion>1.7</compilerVersion>
156 <source>1.7</source>
157 <target>1.7</target>
158 </configuration>
159 </plugin>
Joachim Bingela6954de2015-03-20 16:37:37 +0100160 <!--
161 Formatter plugin for Eclipse based coding conventions
162 http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html
Michael Hanle91345d2015-10-22 17:55:27 +0200163 -->
Joachim Bingela6954de2015-03-20 16:37:37 +0100164 <plugin>
165 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
166 <artifactId>maven-java-formatter-plugin</artifactId>
167 <version>0.4</version>
168 <configuration>
169 <configFile>${project.basedir}/Format.xml</configFile>
170 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
171 <compilerSource>1.7</compilerSource>
172 <compilerCompliance>1.7</compilerCompliance>
173 <compilerTargetPlatform>1.7</compilerTargetPlatform>
174 </configuration>
175 </plugin>
176 <plugin>
177 <artifactId>maven-dependency-plugin</artifactId>
178 <executions>
179 <execution>
180 <phase>install</phase>
181 <goals>
182 <goal>copy-dependencies</goal>
183 </goals>
184 <configuration>
185 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
186 </configuration>
187 </execution>
188 </executions>
189 </plugin>
190 <plugin>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-jar-plugin</artifactId>
193 <version>2.5</version>
194 <configuration>
195 <archive>
196 <manifest>
197 <addClasspath>true</addClasspath>
198 <classpathPrefix>../lib/</classpathPrefix>
199 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
200 </manifest>
201 </archive>
202 </configuration>
203 </plugin>
204 <plugin>
205 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
206 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
207 <groupId>org.antlr</groupId>
208 <artifactId>antlr4-maven-plugin</artifactId>
Jim O'Reganc61a1df2016-02-12 12:22:24 +0000209 <version>4.2</version>
Joachim Bingela6954de2015-03-20 16:37:37 +0100210 <executions>
211 <execution>
212 <id>poliqarpplus</id>
213 <goals>
214 <goal>antlr4</goal>
215 </goals>
216 <configuration>
217 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
218 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
219 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
220 </configuration>
221 <phase>generate-sources</phase>
222 </execution>
223 <execution>
224 <id>annis</id>
225 <goals>
226 <goal>antlr4</goal>
227 </goals>
228 <configuration>
229 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
230 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
231 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
232 </configuration>
233 <phase>generate-sources</phase>
234 </execution>
235 <execution>
236 <id>collection</id>
237 <goals>
238 <goal>antlr4</goal>
239 </goals>
240 <configuration>
241 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
242 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
243 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
244 </configuration>
245 <phase>generate-sources</phase>
246 </execution>
247 </executions>
248 </plugin>
249 <plugin>
250 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
251 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
252 <groupId>org.antlr</groupId>
253 <artifactId>antlr3-maven-plugin</artifactId>
254 <version>3.5.1</version>
255 <configuration>
256 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
257 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
258 <libDirectory>${basedir}/src/main/antlr</libDirectory>
259 </configuration>
Joachim Bingela6954de2015-03-20 16:37:37 +0100260 <executions>
261 <execution>
262 <goals>
263 <goal>antlr</goal>
264 </goals>
265 <phase>generate-sources</phase>
266 </execution>
267 </executions>
Joachim Bingela6954de2015-03-20 16:37:37 +0100268 </plugin>
269 </plugins>
270 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000271</project>