blob: 4e1eac4636e4ed553fd6d197f55d7171c7efa77b [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 Bingel6003b852014-12-18 14:20:55 +00002 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>
Joachim Bingel97c194c2015-02-03 14:41:30 +00004 <!-- <parent> <groupId>KorAP-modules</groupId> <artifactId>KorAP-core-modules</artifactId>
5 <version>1.1</version> </parent> -->
Michael Hanl10d21502014-02-07 20:09:58 +00006
Joachim Bingel6003b852014-12-18 14:20:55 +00007 <groupId>KorAP-modules</groupId>
Joachim Bingel2b00f492015-01-31 18:25:49 +00008 <artifactId>Koral</artifactId>
Joachim Bingel97c194c2015-02-03 14:41:30 +00009 <version>0.1</version>
Joachim Bingel6003b852014-12-18 14:20:55 +000010 <packaging>jar</packaging>
Joachim Bingel2b00f492015-01-31 18:25:49 +000011 <name>Koral</name>
Joachim Bingel6003b852014-12-18 14:20:55 +000012 <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>
23 <version>4.1</version>
24 </dependency>
25 <dependency>
Joachim Bingel787836a2014-08-07 14:50:18 +000026 <groupId>org.antlr</groupId>
27 <artifactId>antlr4-maven-plugin</artifactId>
28 <version>4.1</version>
29 </dependency>
Joachim Bingel6003b852014-12-18 14:20:55 +000030 <dependency>
Joachim Bingel2919a052014-12-18 15:58:50 +000031 <groupId>org.antlr</groupId>
32 <artifactId>antlr-runtime</artifactId>
33 <version>3.5</version>
34 <scope>compile</scope>
35 </dependency>
36 <dependency>
Joachim Bingel6003b852014-12-18 14:20:55 +000037 <groupId>com.google.guava</groupId>
38 <artifactId>guava</artifactId>
39 <version>15.0</version>
40 </dependency>
41 <dependency>
42 <groupId>com.fasterxml.jackson.core</groupId>
43 <artifactId>jackson-core</artifactId>
44 <version>2.3.3</version>
45 </dependency>
46 <dependency>
47 <groupId>com.fasterxml.jackson.core</groupId>
48 <artifactId>jackson-annotations</artifactId>
49 <version>2.3.3</version>
50 </dependency>
51 <dependency>
52 <groupId>com.fasterxml.jackson.core</groupId>
53 <artifactId>jackson-databind</artifactId>
54 <version>2.3.3</version>
55 </dependency>
56 <!-- dependency> <groupId>KorAP-modules</groupId> <artifactId>KorAP-PoliqarpParser</artifactId>
57 <version>0.1</version> </dependency> <dependency> <groupId>KorAP-modules</groupId>
58 <artifactId>KorAP-Cosmas2Parser</artifactId> <version>0.02</version> </dependency>
59 <dependency> <groupId>KorAP-modules</groupId> <artifactId>KorAP-AnnisParser</artifactId>
60 <version>0.01</version> </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>
Joachim Bingel97c194c2015-02-03 14:41:30 +000077 <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>
Joachim Bingel6003b852014-12-18 14:20:55 +0000102 </dependencies>
103 <build>
104 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
Joachim Bingel1c6c7552015-02-05 17:55:31 +0100105 <outputDirectory>${basedir}/target/classes</outputDirectory>
106 <pluginManagement>
107 <plugins>
108 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
109 <plugin>
110 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
111 <artifactId>maven-java-formatter-plugin</artifactId>
112 <version>0.4</version>
113 <configuration>
114 <configFile>${project.basedir}/korap-style.xml</configFile>
115 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
116 <compilerSource>1.7</compilerSource>
117 <compilerCompliance>1.7</compilerCompliance>
118 <compilerTargetPlatform>1.7</compilerTargetPlatform>
119 </configuration>
120 </plugin>
121 <plugin>
122 <artifactId>maven-dependency-plugin</artifactId>
123 <executions>
124 <execution>
125 <phase>install</phase>
126 <goals>
127 <goal>copy-dependencies</goal>
128 </goals>
129 <configuration>
130 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
131 </configuration>
132 </execution>
133 </executions>
134 </plugin>
135 <plugin>
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-jar-plugin</artifactId>
138 <version>2.5</version>
139 <configuration>
140 <archive>
141 <manifest>
142 <addClasspath>true</addClasspath>
143 <classpathPrefix>../lib/</classpathPrefix>
144 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
145 </manifest>
146 </archive>
147 </configuration>
148 </plugin>
149 <plugin>
150 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
151 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
152 <groupId>org.antlr</groupId>
153 <artifactId>antlr4-maven-plugin</artifactId>
154 <version>4.1</version>
155 <executions>
156 <execution>
157 <id>poliqarpplus</id>
158 <goals>
159 <goal>antlr4</goal>
160 </goals>
161 <configuration>
162 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
163 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
164 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
165 </configuration>
166 <phase>generate-sources</phase>
167 </execution>
168 <execution>
169 <id>annis</id>
170 <goals>
171 <goal>antlr4</goal>
172 </goals>
173 <configuration>
174 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
175 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
176 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
177 </configuration>
178 <phase>generate-sources</phase>
179 </execution>
180 <execution>
181 <id>collection</id>
182 <goals>
183 <goal>antlr4</goal>
184 </goals>
185 <configuration>
186 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
187 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
188 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
189 </configuration>
190 <phase>generate-sources</phase>
191 </execution>
192 </executions>
193 </plugin>
194 <plugin>
195 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
196 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
197 <groupId>org.antlr</groupId>
198 <artifactId>antlr3-maven-plugin</artifactId>
199 <version>3.5.1</version>
200 <configuration>
201 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
202 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
203 <libDirectory>${basedir}/src/main/antlr</libDirectory>
204 </configuration>
Joachim Bingel6003b852014-12-18 14:20:55 +0000205
Joachim Bingel1c6c7552015-02-05 17:55:31 +0100206 <executions>
207 <execution>
208 <goals>
209 <goal>antlr</goal>
210 </goals>
211 <phase>generate-sources</phase>
212 </execution>
213 </executions>
Joachim Bingel6003b852014-12-18 14:20:55 +0000214
Joachim Bingel1c6c7552015-02-05 17:55:31 +0100215 </plugin>
216 <plugin>
217 <artifactId>maven-compiler-plugin</artifactId>
218 <version>2.3.2</version>
219 <configuration>
220 <source>1.7</source>
221 <target>1.7</target>
222 <!-- excludes> <exclude>**/CosmasTree.java</exclude> </excludes -->
223 </configuration>
224 </plugin>
225 </plugins>
226 </pluginManagement>
Joachim Bingel6003b852014-12-18 14:20:55 +0000227 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000228</project>