blob: 7ad9bfe7dd3c2118a703217e97842d07ec8d4961 [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"
margaretha842af332016-06-14 16:31:05 +02002 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
margaretha842af332016-06-14 16:31:05 +02005 <groupId>de.ids_mannheim.korap</groupId>
6 <artifactId>Koral</artifactId>
margaretha87291cf2017-11-17 14:36:16 +01007 <version>0.28</version>
margaretha842af332016-06-14 16:31:05 +02008 <packaging>jar</packaging>
9 <name>Koral</name>
10 <url>http://maven.apache.org</url>
Akrone9c81d12016-06-13 17:27:21 +020011
margaretha842af332016-06-14 16:31:05 +020012 <organization>
13 <name>IDS Mannheim</name>
14 <url>http://www.ids-mannheim.de/</url>
15 </organization>
Akrone9c81d12016-06-13 17:27:21 +020016
margaretha842af332016-06-14 16:31:05 +020017 <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>
Akrone9c81d12016-06-13 17:27:21 +020036
margaretha842af332016-06-14 16:31:05 +020037 <properties>
margarethaf7dbe332016-06-16 20:14:26 +020038 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
margaretha666988f2017-11-13 15:30:06 +010039 <jackson.version>2.9.1</jackson.version>
margaretha842af332016-06-14 16:31:05 +020040 </properties>
margarethaf7dbe332016-06-16 20:14:26 +020041
margaretha842af332016-06-14 16:31:05 +020042 <repositories>
43 <repository>
44 <id>id-maven-repo</id>
45 <url>http://maven.indexdata.com</url>
46 </repository>
47 <repository>
48 <id>CLARIN</id>
49 <name>CLARIN Repository</name>
50 <url>https://nexus.clarin.eu/content/repositories/Clarin</url>
51 <snapshots>
52 <enabled>false</enabled>
53 </snapshots>
54 </repository>
55 </repositories>
56 <dependencies>
margaretha842af332016-06-14 16:31:05 +020057 <dependency>
58 <groupId>org.antlr</groupId>
59 <artifactId>antlr4-runtime</artifactId>
60 <version>4.5.1</version>
61 </dependency>
62 <dependency>
63 <groupId>org.antlr</groupId>
64 <artifactId>antlr4-maven-plugin</artifactId>
65 <version>4.2</version>
66 </dependency>
67 <dependency>
68 <groupId>org.antlr</groupId>
69 <artifactId>antlr-runtime</artifactId>
70 <version>3.5</version>
71 <scope>compile</scope>
72 </dependency>
73 <dependency>
74 <groupId>com.google.guava</groupId>
75 <artifactId>guava</artifactId>
76 <version>15.0</version>
77 </dependency>
78 <dependency>
79 <groupId>com.fasterxml.jackson.core</groupId>
80 <artifactId>jackson-core</artifactId>
margaretha666988f2017-11-13 15:30:06 +010081 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020082 </dependency>
83 <dependency>
84 <groupId>com.fasterxml.jackson.core</groupId>
85 <artifactId>jackson-annotations</artifactId>
margaretha666988f2017-11-13 15:30:06 +010086 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020087 </dependency>
88 <dependency>
89 <groupId>com.fasterxml.jackson.core</groupId>
90 <artifactId>jackson-databind</artifactId>
margaretha666988f2017-11-13 15:30:06 +010091 <version>${jackson.version}</version>
margaretha842af332016-06-14 16:31:05 +020092 </dependency>
93 <dependency>
94 <groupId>junit</groupId>
95 <artifactId>junit</artifactId>
96 <version>4.11</version>
97 <scope>test</scope>
98 </dependency>
99 <dependency>
100 <groupId>commons-lang</groupId>
101 <artifactId>commons-lang</artifactId>
102 <version>2.6</version>
103 </dependency>
104 <dependency>
105 <groupId>org.z3950.zing</groupId>
106 <artifactId>cql-java</artifactId>
107 <version>1.12</version>
108 </dependency>
109 <dependency>
110 <groupId>log4j</groupId>
111 <artifactId>log4j</artifactId>
112 <version>1.2.17</version>
113 </dependency>
114 <dependency>
115 <groupId>log4j</groupId>
116 <artifactId>apache-log4j-extras</artifactId>
117 <version>1.2.17</version>
118 </dependency>
119 <dependency>
120 <groupId>org.slf4j</groupId>
121 <artifactId>slf4j-api</artifactId>
122 <version>1.7.5</version>
123 </dependency>
124 <dependency>
125 <groupId>org.slf4j</groupId>
126 <artifactId>slf4j-log4j12</artifactId>
127 <version>1.7.5</version>
128 </dependency>
129 <dependency>
130 <groupId>eu.clarin.sru.fcs</groupId>
131 <artifactId>fcs-simple-endpoint</artifactId>
132 <version>1.3.0</version>
133 </dependency>
margaretha842af332016-06-14 16:31:05 +0200134 </dependencies>
135 <build>
136 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
137 <outputDirectory>${basedir}/target/classes</outputDirectory>
138 <plugins>
139 <plugin>
140 <groupId>org.apache.maven.plugins</groupId>
margaretha87291cf2017-11-17 14:36:16 +0100141 <artifactId>maven-surefire-plugin</artifactId>
142 <version>2.20.1</version>
143 <configuration>
144 <excludes>
145 <exclude>**/OPINTest.java</exclude>
146 </excludes>
147 </configuration>
148 </plugin>
149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
margaretha842af332016-06-14 16:31:05 +0200151 <artifactId>maven-compiler-plugin</artifactId>
152 <version>3.3</version>
153 <configuration>
154 <compilerVersion>1.7</compilerVersion>
155 <source>1.7</source>
156 <target>1.7</target>
157 </configuration>
158 </plugin>
margarethaf7dbe332016-06-16 20:14:26 +0200159 <!-- <plugin>
160 <groupId>org.codehaus.mojo</groupId>
161 <artifactId>properties-maven-plugin</artifactId>
162 <version>1.0.0</version>
163 <executions>
164 <execution>
165 <goals>
166 <goal>set-system-properties</goal>
167 </goals>
168 <configuration>
169 <properties>
170 <property>
171 <name>https.protocols</name>
172 <value>TLSv1.2</value>
173 </property>
174 </properties>
175 </configuration>
176 </execution>
177 </executions>
178 </plugin> -->
179 <!-- <plugin>
180 <groupId>org.apache.maven.plugins</groupId>
181 <artifactId>maven-surefire-plugin</artifactId>
182 <version>2.19.1</version>
183 <configuration>
184 <systemProperties>
185 <property>
186 <name>https.protocols</name>
187 <value>TLSv1.2</value>
188 </property>
189 </systemProperties>
190 <argLine>-Djava.https.protocols=TLSv1.2</argLine>
191 </configuration>
192 </plugin>
193 <plugin>
194 <groupId>org.apache.maven.plugins</groupId>
195 <artifactId>maven-failsafe-plugin</artifactId>
196 <version>2.19.1</version>
197 <configuration>
198 <systemPropertyVariables>
199 <https.protocols>TLSv1.2</https.protocols>
200 </systemPropertyVariables>
201 </configuration>
202 </plugin> -->
margaretha842af332016-06-14 16:31:05 +0200203 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
204 <plugin>
205 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
206 <artifactId>maven-java-formatter-plugin</artifactId>
207 <version>0.4</version>
208 <configuration>
209 <configFile>${project.basedir}/Format.xml</configFile>
210 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
211 <compilerSource>1.7</compilerSource>
212 <compilerCompliance>1.7</compilerCompliance>
213 <compilerTargetPlatform>1.7</compilerTargetPlatform>
214 </configuration>
215 </plugin>
216 <plugin>
217 <groupId>org.apache.maven.plugins</groupId>
218 <artifactId>maven-dependency-plugin</artifactId>
219 <executions>
220 <execution>
margarethadb09b032017-05-30 18:23:31 +0200221 <phase>package</phase>
margaretha842af332016-06-14 16:31:05 +0200222 <goals>
223 <goal>copy-dependencies</goal>
224 </goals>
225 <configuration>
226 <outputDirectory>${project.build.directory}/../lib</outputDirectory>
227 </configuration>
228 </execution>
229 </executions>
230 </plugin>
231 <plugin>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-jar-plugin</artifactId>
234 <version>2.5</version>
235 <configuration>
236 <archive>
237 <manifest>
238 <addClasspath>true</addClasspath>
239 <classpathPrefix>../lib/</classpathPrefix>
240 <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass>
241 </manifest>
242 </archive>
243 </configuration>
244 </plugin>
245 <plugin>
246 <!-- This plugin will help to build the ANTLR4 grammar on the fly. The
247 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
248 <groupId>org.antlr</groupId>
249 <artifactId>antlr4-maven-plugin</artifactId>
250 <version>4.2</version>
251 <executions>
252 <execution>
253 <id>poliqarpplus</id>
254 <goals>
255 <goal>antlr4</goal>
256 </goals>
257 <configuration>
258 <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory>
259 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory>
260 <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory>
261 </configuration>
262 <phase>generate-sources</phase>
263 </execution>
264 <execution>
265 <id>annis</id>
266 <goals>
267 <goal>antlr4</goal>
268 </goals>
269 <configuration>
270 <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory>
271 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory>
272 <libDirectory>${basedir}/src/main/antlr/annis</libDirectory>
273 </configuration>
274 <phase>generate-sources</phase>
275 </execution>
276 <execution>
277 <id>collection</id>
278 <goals>
279 <goal>antlr4</goal>
280 </goals>
281 <configuration>
282 <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory>
283 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory>
284 <libDirectory>${basedir}/src/main/antlr/collection</libDirectory>
285 </configuration>
286 <phase>generate-sources</phase>
287 </execution>
288 </executions>
289 </plugin>
290 <plugin>
291 <!-- This plugin will help to build the ANTLR3 grammar on the fly. The
292 recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build -->
293 <groupId>org.antlr</groupId>
294 <artifactId>antlr3-maven-plugin</artifactId>
295 <version>3.5.1</version>
296 <configuration>
297 <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory>
298 <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory>
299 <libDirectory>${basedir}/src/main/antlr</libDirectory>
300 </configuration>
301 <executions>
302 <execution>
303 <goals>
304 <goal>antlr</goal>
305 </goals>
306 <phase>generate-sources</phase>
307 </execution>
308 </executions>
309 </plugin>
310 </plugins>
311 </build>
Joachim Bingel4b405f52013-11-15 15:29:30 +0000312</project>