blob: 11d8560275d458aa8be1df8abedf2af3381e5873 [file] [log] [blame]
margarethaf68daa62017-09-21 02:11:24 +02001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 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 <groupId>de.ids_mannheim.korap</groupId>
5 <artifactId>Kustvakt-core</artifactId>
margaretha3da7cd32018-10-22 17:42:52 +02006 <version>0.61.3</version>
margarethaf68daa62017-09-21 02:11:24 +02007
8 <properties>
margaretha2c019fa2018-02-01 19:50:51 +01009 <java.version>1.8</java.version>
margarethaf68daa62017-09-21 02:11:24 +020010 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
margaretha3da7cd32018-10-22 17:42:52 +020011 <spring-framework.version>5.1.1.RELEASE</spring-framework.version>
margarethaf68daa62017-09-21 02:11:24 +020012 <jersey.version>1.19.4</jersey.version>
margaretha3da7cd32018-10-22 17:42:52 +020013 <jetty.version>9.4.12.v20180830</jetty.version>
14 <hibernate.version>5.3.7.Final</hibernate.version>
margarethaf68daa62017-09-21 02:11:24 +020015 </properties>
16 <build>
17 <resources>
18 <resource>
19 <directory>src/main/resources</directory>
20 <filtering>true</filtering>
21 <includes>
22 <include>**/*.info</include>
23 <include>**/*.xml</include>
24 <include>**/*.conf</include>
25 <include>**/*.kustvakt</include>
26 <include>**/*.properties</include>
27 <include>**/*.sql</include>
28 </includes>
29 </resource>
30 </resources>
31 <testResources>
32 <testResource>
33 <directory>src/test/resources</directory>
34 <filtering>true</filtering>
35 <includes>
36 <include>**/*.prop</include>
37 <include>**/*.xml</include>
38 <include>**/*.conf</include>
39 <include>**/*.info</include>
40 <include>**/*.properties</include>
41 </includes>
42 </testResource>
43 <testResource>
44 <directory>src/main/resources</directory>
45 <filtering>true</filtering>
46 <includes>
47 <include>**/*.info</include>
48 <include>**/*.properties</include>
49 </includes>
50 </testResource>
51 </testResources>
52 <plugins>
53 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
54 <plugin>
55 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
56 <artifactId>maven-java-formatter-plugin</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +010057 <version>${project.version}</version>
margarethaf68daa62017-09-21 02:11:24 +020058 <configuration>
59 <configFile>${project.basedir}/Format.xml</configFile>
60 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
margaretha2c019fa2018-02-01 19:50:51 +010061 <compilerSource>${java.version}</compilerSource>
62 <compilerCompliance>${java.version}</compilerCompliance>
63 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
margarethaf68daa62017-09-21 02:11:24 +020064 </configuration>
65 <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution>
66 </executions> -->
67 </plugin>
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-compiler-plugin</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +010071 <version>3.7.0</version>
margarethaf68daa62017-09-21 02:11:24 +020072 <configuration>
73 <compilerVersion>${java.version}</compilerVersion>
74 <source>${java.version}</source>
75 <target>${java.version}</target>
76 </configuration>
77 </plugin>
78
79 <!-- build tests jar, so extensions can use fastjerseytest class to build
80 rest tests -->
margaretha2c019fa2018-02-01 19:50:51 +010081 <!-- <plugin>
margarethaf68daa62017-09-21 02:11:24 +020082 <groupId>org.apache.maven.plugins</groupId>
margaretha49cb6882018-07-04 04:19:54 +020083 <artifactId>maven-source-plugin</artifactId>
84 <version>3.0.1</version>
margarethaf68daa62017-09-21 02:11:24 +020085 <executions>
86 <execution>
margaretha49cb6882018-07-04 04:19:54 +020087 <id>attach-sources</id>
margarethaf68daa62017-09-21 02:11:24 +020088 <goals>
margaretha49cb6882018-07-04 04:19:54 +020089 <goal>jar</goal>
margarethaf68daa62017-09-21 02:11:24 +020090 </goals>
91 </execution>
92 </executions>
margaretha2c019fa2018-02-01 19:50:51 +010093 </plugin> -->
margaretha54134902017-09-27 18:43:11 +020094 <!-- Generate source jar -->
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-source-plugin</artifactId>
margarethafc7d7772018-01-16 17:48:17 +010098 <version>3.0.1</version>
margaretha54134902017-09-27 18:43:11 +020099 <executions>
100 <execution>
101 <id>attach-sources</id>
102 <goals>
103 <goal>jar</goal>
104 </goals>
105 </execution>
106 </executions>
107 </plugin>
margarethaefc18a42018-03-01 16:01:42 +0100108 <!-- <plugin>
margarethaf68daa62017-09-21 02:11:24 +0200109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-surefire-plugin</artifactId>
margarethaa86b1412018-02-21 20:40:35 +0100111 <version>2.20.1</version>
margaretha54134902017-09-27 18:43:11 +0200112
margarethaf68daa62017-09-21 02:11:24 +0200113 <configuration>
114 <reuseForks>false</reuseForks>
115 <forkCount>2</forkCount>
116 <threadCount>10</threadCount>
117 <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
118
119 <excludes>
120 <exclude>**/*APITest.java</exclude>
margarethaf68daa62017-09-21 02:11:24 +0200121 </excludes>
122 <includes>
123 <include>de/ids_mannheim/korap/**/*.java</include>
124 </includes>
125 </configuration>
margarethaefc18a42018-03-01 16:01:42 +0100126 </plugin> -->
margarethaf68daa62017-09-21 02:11:24 +0200127 </plugins>
128 </build>
129 <dependencies>
130 <dependency>
131 <groupId>com.sun.jersey</groupId>
132 <artifactId>jersey-bundle</artifactId>
133 <version>${jersey.version}</version>
134 </dependency>
135 <!--EM: added -->
136 <dependency>
137 <groupId>com.sun.jersey</groupId>
138 <artifactId>jersey-server</artifactId>
139 <version>${jersey.version}</version>
140 </dependency>
141
142 <dependency>
143 <groupId>com.sun.jersey.contribs</groupId>
144 <artifactId>jersey-spring</artifactId>
145 <version>${jersey.version}</version>
146 <exclusions>
147 <exclusion>
148 <groupId>org.springframework</groupId>
149 <artifactId>spring</artifactId>
150 </exclusion>
151 <exclusion>
152 <groupId>org.springframework</groupId>
153 <artifactId>spring-core</artifactId>
154 </exclusion>
155 <exclusion>
156 <groupId>org.springframework</groupId>
157 <artifactId>spring-web</artifactId>
158 </exclusion>
159 <exclusion>
160 <groupId>org.springframework</groupId>
161 <artifactId>spring-beans</artifactId>
162 </exclusion>
163 <exclusion>
164 <groupId>org.springframework</groupId>
165 <artifactId>spring-context</artifactId>
166 </exclusion>
167 <exclusion>
168 <groupId>org.springframework</groupId>
169 <artifactId>spring-aop</artifactId>
170 </exclusion>
171 </exclusions>
172 </dependency>
173 <!-- EM:done -->
174 <dependency>
175 <groupId>com.sun.jersey.jersey-test-framework</groupId>
176 <artifactId>jersey-test-framework-core</artifactId>
177 <version>${jersey.version}</version>
178 <scope>test</scope>
179 </dependency>
180 <dependency>
181 <groupId>com.sun.jersey.jersey-test-framework</groupId>
182 <artifactId>jersey-test-framework-grizzly</artifactId>
183 <version>${jersey.version}</version>
184 <scope>test</scope>
185 </dependency>
margaretha49cb6882018-07-04 04:19:54 +0200186 <!-- EM: Logging -->
margarethaf68daa62017-09-21 02:11:24 +0200187 <dependency>
margaretha49cb6882018-07-04 04:19:54 +0200188 <groupId>org.apache.logging.log4j</groupId>
189 <artifactId>log4j-api</artifactId>
190 <version>2.11.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200191 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200192 <dependency>
margaretha49cb6882018-07-04 04:19:54 +0200193 <groupId>org.apache.logging.log4j</groupId>
194 <artifactId>log4j-core</artifactId>
195 <version>2.11.0</version>
196 </dependency>
197 <dependency>
198 <groupId>org.apache.logging.log4j</groupId>
199 <artifactId>log4j-slf4j-impl</artifactId>
200 <version>2.11.0</version>
201 </dependency>
202 <dependency>
203 <groupId>org.apache.logging.log4j</groupId>
204 <artifactId>log4j-jul</artifactId>
205 <version>2.11.0</version>
margaretha6ad08b42018-08-22 18:33:54 +0200206 <exclusions>
207 <exclusion>
208 <groupId>org.slf4j</groupId>
209 <artifactId>slf4j-api</artifactId>
210 </exclusion>
211 </exclusions>
margaretha49cb6882018-07-04 04:19:54 +0200212 </dependency>
margaretha6ad08b42018-08-22 18:33:54 +0200213 <dependency>
214 <groupId>org.slf4j</groupId>
215 <artifactId>slf4j-api</artifactId>
216 <version>1.7.25</version>
217 </dependency>
margaretha49cb6882018-07-04 04:19:54 +0200218 <dependency>
margarethaf68daa62017-09-21 02:11:24 +0200219 <groupId>junit</groupId>
220 <artifactId>junit</artifactId>
221 <version>4.12</version>
222 </dependency>
223 <dependency>
224 <groupId>org.projectlombok</groupId>
225 <artifactId>lombok</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100226 <version>1.16.20</version>
margarethaf68daa62017-09-21 02:11:24 +0200227 </dependency>
228 <dependency>
229 <groupId>joda-time</groupId>
230 <artifactId>joda-time</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100231 <version>2.9.9</version>
margarethaf68daa62017-09-21 02:11:24 +0200232 </dependency>
233 <dependency>
234 <groupId>de.ids_mannheim.korap</groupId>
235 <artifactId>Koral</artifactId>
margaretha1b320452018-08-02 16:56:25 +0200236 <version>0.30</version>
margarethaf68daa62017-09-21 02:11:24 +0200237 <exclusions>
238 <exclusion>
239 <groupId>org.eclipse.jetty</groupId>
240 <artifactId>jetty-servlet</artifactId>
241 </exclusion>
margaretha49cb6882018-07-04 04:19:54 +0200242 <exclusion>
243 <groupId>org.slf4j</groupId>
244 <artifactId>slf4j-api</artifactId>
245 </exclusion>
246 <exclusion>
247 <groupId>org.slf4j</groupId>
248 <artifactId>slf4j-log4j12</artifactId>
249 </exclusion>
250 <exclusion>
251 <groupId>log4j</groupId>
252 <artifactId>log4j</artifactId>
253 </exclusion>
254 <exclusion>
255 <groupId>log4j</groupId>
256 <artifactId>apache-log4j-extras</artifactId>
257 </exclusion>
margarethaf68daa62017-09-21 02:11:24 +0200258 </exclusions>
259 </dependency>
260
261 <dependency>
262 <groupId>org.xerial</groupId>
263 <artifactId>sqlite-jdbc</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100264 <version>3.21.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200265 </dependency>
266
margarethaf68daa62017-09-21 02:11:24 +0200267 <dependency>
268 <groupId>org.apache.commons</groupId>
269 <artifactId>commons-dbcp2</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100270 <version>2.2.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200271 </dependency>
272
273 <dependency>
274 <groupId>commons-validator</groupId>
275 <artifactId>commons-validator</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100276 <version>1.6</version>
margarethaf68daa62017-09-21 02:11:24 +0200277 </dependency>
278
279 <dependency>
280 <groupId>org.mindrot</groupId>
281 <artifactId>jbcrypt</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100282 <version>0.4</version>
margarethaf68daa62017-09-21 02:11:24 +0200283 </dependency>
margaretha49cb6882018-07-04 04:19:54 +0200284
margarethaf68daa62017-09-21 02:11:24 +0200285 <dependency>
286 <groupId>de.ids_mannheim.korap</groupId>
287 <artifactId>Krill</artifactId>
margaretha439ad572018-10-29 12:15:28 +0100288 <version>0.58.1</version>
margarethaf68daa62017-09-21 02:11:24 +0200289 <exclusions>
290 <exclusion>
291 <groupId>org.xerial</groupId>
292 <artifactId>sqlite-jdbc</artifactId>
293 </exclusion>
margaretha49cb6882018-07-04 04:19:54 +0200294 <exclusion>
295 <groupId>org.slf4j</groupId>
margaretha6ad08b42018-08-22 18:33:54 +0200296 <artifactId>slf4j-api</artifactId>
297 </exclusion>
298 <exclusion>
299 <groupId>org.slf4j</groupId>
margaretha49cb6882018-07-04 04:19:54 +0200300 <artifactId>slf4j-log4j12</artifactId>
301 </exclusion>
302 <exclusion>
303 <groupId>org.apache.logging.log4j</groupId>
304 <artifactId>log4j-slf4j-impl</artifactId>
305 </exclusion>
306 <exclusion>
307 <groupId>org.slf4j</groupId>
308 <artifactId>jul-to-slf4j</artifactId>
309 </exclusion>
margarethaf68daa62017-09-21 02:11:24 +0200310 </exclusions>
311 </dependency>
312 <dependency>
313 <groupId>org.reflections</groupId>
314 <artifactId>reflections</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100315 <version>0.9.10</version>
margarethaf68daa62017-09-21 02:11:24 +0200316 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200317 <dependency>
318 <groupId>org.springframework</groupId>
319 <artifactId>spring-core</artifactId>
320 <version>${spring-framework.version}</version>
321 </dependency>
322 <dependency>
323 <groupId>org.springframework</groupId>
324 <artifactId>spring-web</artifactId>
325 <version>${spring-framework.version}</version>
326 </dependency>
327 <dependency>
328 <groupId>org.springframework</groupId>
329 <artifactId>spring-asm</artifactId>
330 <version>3.1.4.RELEASE</version>
331 </dependency>
332 <dependency>
333 <groupId>org.springframework</groupId>
334 <artifactId>spring-orm</artifactId>
335 <version>${spring-framework.version}</version>
336 </dependency>
337 <!-- EM: done -->
338 <dependency>
339 <groupId>org.springframework</groupId>
340 <artifactId>spring-context</artifactId>
341 <version>${spring-framework.version}</version>
342 </dependency>
343 <dependency>
344 <groupId>org.springframework</groupId>
345 <artifactId>spring-context-support</artifactId>
346 <version>${spring-framework.version}</version>
347 </dependency>
348 <dependency>
349 <groupId>org.springframework</groupId>
350 <artifactId>spring-test</artifactId>
351 <version>${spring-framework.version}</version>
352 <scope>compile</scope>
353 </dependency>
354
355 <!-- apparently this order prevents the spring schemas from being overriden
356 in META-INF/spring.schemas, thus must stay like this -->
357 <dependency>
358 <groupId>org.springframework</groupId>
359 <artifactId>spring-aop</artifactId>
360 <version>${spring-framework.version}</version>
361 </dependency>
362 <dependency>
363 <groupId>org.springframework</groupId>
364 <artifactId>spring-aspects</artifactId>
365 <version>${spring-framework.version}</version>
366 </dependency>
367
margarethaf68daa62017-09-21 02:11:24 +0200368 <!-- end copy -->
369
370 <dependency>
371 <groupId>commons-collections</groupId>
372 <artifactId>commons-collections</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100373 <version>3.2.2</version>
margarethaf68daa62017-09-21 02:11:24 +0200374 </dependency>
margaretha49cb6882018-07-04 04:19:54 +0200375
margaretha58e18632018-02-15 13:04:42 +0100376 <!-- jetty -->
margarethaf68daa62017-09-21 02:11:24 +0200377 <dependency>
378 <groupId>org.eclipse.jetty</groupId>
379 <artifactId>jetty-server</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100380 <version>${jetty.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200381 </dependency>
382 <dependency>
383 <groupId>org.eclipse.jetty</groupId>
384 <artifactId>jetty-servlet</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100385 <version>${jetty.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200386 </dependency>
387 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100388 <groupId>org.eclipse.jetty</groupId>
389 <artifactId>jetty-webapp</artifactId>
390 <version>${jetty.version}</version>
391 </dependency>
margaretha49cb6882018-07-04 04:19:54 +0200392
margaretha58e18632018-02-15 13:04:42 +0100393 <dependency>
margarethaf68daa62017-09-21 02:11:24 +0200394 <groupId>asm</groupId>
395 <artifactId>asm</artifactId>
396 <version>3.3.1</version>
397 </dependency>
398 <dependency>
399 <groupId>com.novell.ldap</groupId>
400 <artifactId>jldap</artifactId>
401 <version>4.3</version>
402 </dependency>
403 <!-- https://mvnrepository.com/artifact/com.unboundid/unboundid-ldapsdk -->
404 <dependency>
405 <groupId>com.unboundid</groupId>
406 <artifactId>unboundid-ldapsdk</artifactId>
407 <version>3.2.1</version>
408 </dependency>
409
margaretha54134902017-09-27 18:43:11 +0200410 <!-- not part of public release
411 <dependency>
412 <groupId>KorAP-graphDB</groupId>
413 <artifactId>KorAP-graphDB</artifactId>
414 <version>1.0-SNAPSHOT</version>
415 <exclusions>
416 <exclusion>
417 <groupId>org.antlr</groupId>
418 <artifactId>antlr4-runtime</artifactId>
419 </exclusion>
420 <exclusion>
421 <groupId>org.glassfish.jersey.core</groupId>
422 <artifactId>jersey-client</artifactId>
423 </exclusion>
424 <exclusion>
425 <groupId>org.glassfish.jersey.containers</groupId>
426 <artifactId>jersey-container-grizzly2-http</artifactId>
427 </exclusion>
428 <exclusion>
429 <groupId>org.glassfish.jersey.core</groupId>
430 <artifactId>jersey-common</artifactId>
431 </exclusion>
432 <exclusion>
433 <groupId>org.glassfish.jersey.core</groupId>
434 <artifactId>jersey-server</artifactId>
435 </exclusion>
436 </exclusions>
437 </dependency> -->
margarethaf68daa62017-09-21 02:11:24 +0200438 <dependency>
439 <groupId>org.apache.httpcomponents</groupId>
440 <artifactId>httpclient</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100441 <version>4.5.4</version>
margarethaf68daa62017-09-21 02:11:24 +0200442 </dependency>
443 <dependency>
444 <groupId>commons-io</groupId>
445 <artifactId>commons-io</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100446 <version>2.6</version>
margarethaf68daa62017-09-21 02:11:24 +0200447 </dependency>
margaretha54134902017-09-27 18:43:11 +0200448
margarethaf68daa62017-09-21 02:11:24 +0200449 <dependency>
450 <groupId>org.hibernate</groupId>
451 <artifactId>hibernate-ehcache</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100452 <version>${hibernate.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200453 </dependency>
margaretha439ad572018-10-29 12:15:28 +0100454 <dependency>
455 <groupId>javax.servlet</groupId>
456 <artifactId>javax.servlet-api</artifactId>
457 <version>4.0.1</version>
458 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200459 </dependencies>
Akron730ed082018-01-31 17:10:13 +0100460</project>