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