blob: 692be5f328cb6b1479508c9d93ca4069f8272a25 [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>
Michael Hanlfaae0182015-06-26 16:18:06 +02009 <version>0.21</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 Margarethab57f2912016-06-09 12:53:33 +020023 <version>4.2</version>
24 </dependency>
25 <dependency>
26 <groupId>org.antlr</groupId>
27 <artifactId>antlr4-runtime</artifactId>
margarethab0780482016-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>
78 <groupId>org.projectlombok</groupId>
79 <artifactId>lombok</artifactId>
80 <version>0.11.8</version>
81 </dependency>
82 <dependency>
83 <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>
margarethab0780482016-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>