blob: f575129c27171b10ea5abc6e74fd3b7a69a4b9ad [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>
4 <!-- <parent> <groupId>KorAP-modules</groupId> <artifactId>KorAP-core-modules</artifactId>
5 <version>1.1</version> </parent> -->
Michael Hanl10d21502014-02-07 20:09:58 +00006
Michael Hanlf33f7062015-06-24 21:14:26 +02007 <groupId>de.ids_mannheim.korap</groupId>
Joachim Bingela6954de2015-03-20 16:37:37 +01008 <artifactId>Koral</artifactId>
Akron79cd7362016-06-03 17:05:05 +02009 <version>0.22</version>
Joachim Bingela6954de2015-03-20 16:37:37 +010010 <packaging>jar</packaging>
11 <name>Koral</name>
12 <url>http://maven.apache.org</url>
13 <repositories>
14 <repository>
15 <id>id-maven-repo</id>
16 <url>http://maven.indexdata.com</url>
17 </repository>
18 </repositories>
19 <dependencies>
20 <dependency>
21 <groupId>org.antlr</groupId>
22 <artifactId>antlr4-runtime</artifactId>
Eliza Margarethaef19f302016-06-09 12:53:33 +020023 <version>4.2</version>
24 </dependency>
25 <dependency>
26 <groupId>org.antlr</groupId>
27 <artifactId>antlr4-runtime</artifactId>
margaretha23f00fd2016-05-27 17:20:00 +020028 <version>4.5.1</version>
Joachim Bingela6954de2015-03-20 16:37:37 +010029 </dependency>
30 <dependency>
31 <groupId>org.antlr</groupId>
32 <artifactId>antlr4-maven-plugin</artifactId>
Jim O'Reganc61a1df2016-02-12 12:22:24 +000033 <version>4.2</version>
Joachim Bingela6954de2015-03-20 16:37:37 +010034 </dependency>
35 <dependency>
36 <groupId>org.antlr</groupId>
37 <artifactId>antlr-runtime</artifactId>
38 <version>3.5</version>
39 <scope>compile</scope>
40 </dependency>
41 <dependency>
42 <groupId>com.google.guava</groupId>
43 <artifactId>guava</artifactId>
44 <version>15.0</version>
45 </dependency>
46 <dependency>
47 <groupId>com.fasterxml.jackson.core</groupId>
48 <artifactId>jackson-core</artifactId>
49 <version>2.3.3</version>
50 </dependency>
51 <dependency>
52 <groupId>com.fasterxml.jackson.core</groupId>
53 <artifactId>jackson-annotations</artifactId>
54 <version>2.3.3</version>
55 </dependency>
56 <dependency>
57 <groupId>com.fasterxml.jackson.core</groupId>
58 <artifactId>jackson-databind</artifactId>
59 <version>2.3.3</version>
60 </dependency>
61 <dependency>
62 <groupId>junit</groupId>
63 <artifactId>junit</artifactId>
64 <version>4.11</version>
65 <scope>test</scope>
66 </dependency>
67 <dependency>
68 <groupId>commons-lang</groupId>
69 <artifactId>commons-lang</artifactId>
70 <version>2.6</version>
71 </dependency>
72 <dependency>
73 <groupId>org.z3950.zing</groupId>
74 <artifactId>cql-java</artifactId>
75 <version>1.12</version>
76 </dependency>
77 <dependency>
Joachim Bingela6954de2015-03-20 16:37:37 +010078 <groupId>log4j</groupId>
79 <artifactId>log4j</artifactId>
80 <version>1.2.17</version>
81 </dependency>
82 <dependency>
83 <groupId>log4j</groupId>
84 <artifactId>apache-log4j-extras</artifactId>
85 <version>1.2.17</version>
86 </dependency>
87 <dependency>
88 <groupId>org.slf4j</groupId>
89 <artifactId>slf4j-api</artifactId>
90 <version>1.7.5</version>
91 </dependency>
92 <dependency>
93 <groupId>org.slf4j</groupId>
94 <artifactId>slf4j-log4j12</artifactId>
95 <version>1.7.5</version>
96 </dependency>
margaretha23f00fd2016-05-27 17:20:00 +020097 <dependency>
98 <groupId>eu.clarin.sru.fcs</groupId>
99 <artifactId>fcs-simple-endpoint</artifactId>
100 <version>1.3.0</version>
101 </dependency>
102 <dependency>
103 <groupId>org.apache.lucene</groupId>
104 <artifactId>lucene-core</artifactId>
105 <version>5.2.1</version>
106 </dependency>
107 <dependency>
108 <groupId>org.apache.lucene</groupId>
109 <artifactId>lucene-analyzers-common</artifactId>
110 <version>5.2.1</version>
111 </dependency>
112 <dependency>
113 <groupId>org.apache.lucene</groupId>
114 <artifactId>lucene-queryparser</artifactId>
115 <version>5.2.1</version>
116 </dependency>
Joachim Bingela6954de2015-03-20 16:37:37 +0100117 </dependencies>
118 <build>
119 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
120 <outputDirectory>${basedir}/target/classes</outputDirectory>
121 <plugins>
Michael Hanle91345d2015-10-22 17:55:27 +0200122 <plugin>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-compiler-plugin</artifactId>
125 <version>3.3</version>
126 <configuration>
127 <compilerVersion>1.7</compilerVersion>
128 <source>1.7</source>
129 <target>1.7</target>
130 </configuration>
131 </plugin>
Joachim Bingela6954de2015-03-20 16:37:37 +0100132 <!--
133 Formatter plugin for Eclipse based coding conventions
134 http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html
Michael Hanle91345d2015-10-22 17:55:27 +0200135 -->
Joachim Bingela6954de2015-03-20 16:37:37 +0100136 <plugin>
137 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
138 <artifactId>maven-java-formatter-plugin</artifactId>
139 <version>0.4</version>
140 <configuration>
141 <configFile>${project.basedir}/Format.xml</configFile>
142 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
143 <compilerSource>1.7</compilerSource>
144 <compilerCompliance>1.7</compilerCompliance>
145 <compilerTargetPlatform>1.7</compilerTargetPlatform>
146 </configuration>
147 </plugin>
148 <plugin>
149 <artifactId>maven-dependency-plugin</artifactId>
150 <executions>
151 <execution>
152 <phase>install</phase>
153 <goals>
154 <goal>copy-dependencies</goal>
155 </goals>
156 <configuration>
157 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
158 </configuration>
159 </execution>
160 </executions>
161 </plugin>
162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-jar-plugin</artifactId>
165 <version>2.5</version>
166 <configuration>
167 <archive>
168 <manifest>
169 <addClasspath>true</addClasspath>
170 <classpathPrefix>../lib/</classpathPrefix>
171 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
172 </manifest>
173 </archive>
174 </configuration>
175 </plugin>
176 <plugin>
177 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
178 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
179 <groupId>org.antlr</groupId>
180 <artifactId>antlr4-maven-plugin</artifactId>
Jim O'Reganc61a1df2016-02-12 12:22:24 +0000181 <version>4.2</version>
Joachim Bingela6954de2015-03-20 16:37:37 +0100182 <executions>
183 <execution>
184 <id>poliqarpplus</id>
185 <goals>
186 <goal>antlr4</goal>
187 </goals>
188 <configuration>
189 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
190 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
191 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
192 </configuration>
193 <phase>generate-sources</phase>
194 </execution>
195 <execution>
196 <id>annis</id>
197 <goals>
198 <goal>antlr4</goal>
199 </goals>
200 <configuration>
201 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
202 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
203 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
204 </configuration>
205 <phase>generate-sources</phase>
206 </execution>
207 <execution>
208 <id>collection</id>
209 <goals>
210 <goal>antlr4</goal>
211 </goals>
212 <configuration>
213 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
214 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
215 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
216 </configuration>
217 <phase>generate-sources</phase>
218 </execution>
219 </executions>
220 </plugin>
221 <plugin>
222 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
223 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
224 <groupId>org.antlr</groupId>
225 <artifactId>antlr3-maven-plugin</artifactId>
226 <version>3.5.1</version>
227 <configuration>
228 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
229 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
230 <libDirectory>${basedir}/src/main/antlr</libDirectory>
231 </configuration>
232
233 <executions>
234 <execution>
235 <goals>
236 <goal>antlr</goal>
237 </goals>
238 <phase>generate-sources</phase>
239 </execution>
240 </executions>
Joachim Bingela6954de2015-03-20 16:37:37 +0100241 </plugin>
242 </plugins>
243 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000244</project>