blob: f5cfa3e9f903eb7c268bb12802b26c4324b508b2 [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>
margaretha2df06602018-11-14 19:10:30 +01006 <version>0.61.4</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>
margarethaf68daa62017-09-21 02:11:24 +020020 </resource>
21 </resources>
22 <testResources>
23 <testResource>
24 <directory>src/test/resources</directory>
margarethaf68daa62017-09-21 02:11:24 +020025 </testResource>
26 <testResource>
27 <directory>src/main/resources</directory>
margarethaf68daa62017-09-21 02:11:24 +020028 </testResource>
29 </testResources>
30 <plugins>
31 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
32 <plugin>
33 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
34 <artifactId>maven-java-formatter-plugin</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +010035 <version>${project.version}</version>
margarethaf68daa62017-09-21 02:11:24 +020036 <configuration>
37 <configFile>${project.basedir}/Format.xml</configFile>
38 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
margaretha2c019fa2018-02-01 19:50:51 +010039 <compilerSource>${java.version}</compilerSource>
40 <compilerCompliance>${java.version}</compilerCompliance>
41 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
margarethaf68daa62017-09-21 02:11:24 +020042 </configuration>
43 <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution>
44 </executions> -->
45 </plugin>
46 <plugin>
47 <groupId>org.apache.maven.plugins</groupId>
48 <artifactId>maven-compiler-plugin</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +010049 <version>3.7.0</version>
margarethaf68daa62017-09-21 02:11:24 +020050 <configuration>
51 <compilerVersion>${java.version}</compilerVersion>
52 <source>${java.version}</source>
53 <target>${java.version}</target>
margaretha2df06602018-11-14 19:10:30 +010054 <processors>
55 <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor>
56 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
57 </processors>
margarethaf68daa62017-09-21 02:11:24 +020058 </configuration>
59 </plugin>
60
61 <!-- build tests jar, so extensions can use fastjerseytest class to build
62 rest tests -->
margaretha6f0b7382018-11-21 17:42:02 +010063 <!-- <plugin>
64 <groupId>org.apache.maven.plugins</groupId>
65 <artifactId>maven-jar-plugin</artifactId>
66 <version>3.0.2</version>
67 <executions>
68 <execution>
69 <phase>package</phase>
70 <goals>
71 <goal>test-jar</goal>
72 </goals>
73 </execution>
74 </executions>
75 </plugin> -->
76
margaretha2df06602018-11-14 19:10:30 +010077 <!-- Generate source jar -->
78 <plugin>
margarethaf68daa62017-09-21 02:11:24 +020079 <groupId>org.apache.maven.plugins</groupId>
margaretha49cb6882018-07-04 04:19:54 +020080 <artifactId>maven-source-plugin</artifactId>
81 <version>3.0.1</version>
margarethaf68daa62017-09-21 02:11:24 +020082 <executions>
83 <execution>
margaretha49cb6882018-07-04 04:19:54 +020084 <id>attach-sources</id>
margarethaf68daa62017-09-21 02:11:24 +020085 <goals>
margaretha49cb6882018-07-04 04:19:54 +020086 <goal>jar</goal>
margarethaf68daa62017-09-21 02:11:24 +020087 </goals>
88 </execution>
89 </executions>
margaretha2df06602018-11-14 19:10:30 +010090 </plugin>
91 <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId>
92 <version>2.20.1</version> <configuration> <reuseForks>false</reuseForks>
93 <forkCount>2</forkCount> <threadCount>10</threadCount> <argLine>-Xmx1024m
94 -XX:MaxPermSize=256m</argLine> <excludes> <exclude>**/*APITest.java</exclude>
95 </excludes> <includes> <include>de/ids_mannheim/korap/**/*.java</include>
96 </includes> </configuration> </plugin> -->
margarethaf68daa62017-09-21 02:11:24 +020097 </plugins>
98 </build>
99 <dependencies>
margaretha2df06602018-11-14 19:10:30 +0100100 <!-- Jersey -->
margarethaf68daa62017-09-21 02:11:24 +0200101 <dependency>
102 <groupId>com.sun.jersey</groupId>
103 <artifactId>jersey-bundle</artifactId>
104 <version>${jersey.version}</version>
105 </dependency>
106 <!--EM: added -->
107 <dependency>
108 <groupId>com.sun.jersey</groupId>
109 <artifactId>jersey-server</artifactId>
110 <version>${jersey.version}</version>
111 </dependency>
112
113 <dependency>
114 <groupId>com.sun.jersey.contribs</groupId>
115 <artifactId>jersey-spring</artifactId>
116 <version>${jersey.version}</version>
117 <exclusions>
118 <exclusion>
119 <groupId>org.springframework</groupId>
120 <artifactId>spring</artifactId>
121 </exclusion>
122 <exclusion>
123 <groupId>org.springframework</groupId>
124 <artifactId>spring-core</artifactId>
125 </exclusion>
126 <exclusion>
127 <groupId>org.springframework</groupId>
128 <artifactId>spring-web</artifactId>
129 </exclusion>
130 <exclusion>
131 <groupId>org.springframework</groupId>
132 <artifactId>spring-beans</artifactId>
133 </exclusion>
134 <exclusion>
135 <groupId>org.springframework</groupId>
136 <artifactId>spring-context</artifactId>
137 </exclusion>
138 <exclusion>
139 <groupId>org.springframework</groupId>
140 <artifactId>spring-aop</artifactId>
141 </exclusion>
142 </exclusions>
143 </dependency>
margaretha2df06602018-11-14 19:10:30 +0100144
145 <!-- JSON -->
margarethaf68daa62017-09-21 02:11:24 +0200146 <dependency>
margaretha2df06602018-11-14 19:10:30 +0100147 <groupId>com.sun.jersey</groupId>
148 <artifactId>jersey-json</artifactId>
margarethaf68daa62017-09-21 02:11:24 +0200149 <version>${jersey.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200150 </dependency>
151 <dependency>
margaretha2df06602018-11-14 19:10:30 +0100152 <groupId>net.minidev</groupId>
153 <artifactId>json-smart</artifactId>
154 <version>1.0.9</version>
margarethaf68daa62017-09-21 02:11:24 +0200155 </dependency>
margaretha2df06602018-11-14 19:10:30 +0100156
157 <!-- Flyway -->
158 <dependency>
159 <groupId>org.flywaydb</groupId>
160 <artifactId>flyway-core</artifactId>
161 <version>4.0</version>
162 </dependency>
163
164 <!-- Logging -->
margarethaf68daa62017-09-21 02:11:24 +0200165 <dependency>
margaretha49cb6882018-07-04 04:19:54 +0200166 <groupId>org.apache.logging.log4j</groupId>
167 <artifactId>log4j-api</artifactId>
168 <version>2.11.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200169 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200170 <dependency>
margaretha49cb6882018-07-04 04:19:54 +0200171 <groupId>org.apache.logging.log4j</groupId>
172 <artifactId>log4j-core</artifactId>
173 <version>2.11.0</version>
174 </dependency>
175 <dependency>
margaretha2df06602018-11-14 19:10:30 +0100176 <groupId>org.apache.logging.log4j</groupId>
177 <artifactId>log4j-slf4j-impl</artifactId>
178 <version>2.11.0</version>
margaretha49cb6882018-07-04 04:19:54 +0200179 </dependency>
180 <dependency>
margaretha2df06602018-11-14 19:10:30 +0100181 <groupId>org.apache.logging.log4j</groupId>
182 <artifactId>log4j-jul</artifactId>
183 <version>2.11.0</version>
184 <exclusions>
185 <exclusion>
margaretha6ad08b42018-08-22 18:33:54 +0200186 <groupId>org.slf4j</groupId>
187 <artifactId>slf4j-api</artifactId>
188 </exclusion>
margaretha2df06602018-11-14 19:10:30 +0100189 </exclusions>
margaretha49cb6882018-07-04 04:19:54 +0200190 </dependency>
margaretha6ad08b42018-08-22 18:33:54 +0200191 <dependency>
192 <groupId>org.slf4j</groupId>
193 <artifactId>slf4j-api</artifactId>
margaretha2df06602018-11-14 19:10:30 +0100194 <version>1.7.25</version>
margaretha6ad08b42018-08-22 18:33:54 +0200195 </dependency>
margaretha2df06602018-11-14 19:10:30 +0100196
197 <!-- Java Assist -->
198 <dependency>
199 <groupId>org.javassist</groupId>
200 <artifactId>javassist</artifactId>
201 <version>3.22.0-GA</version>
202 </dependency>
203
204 <!-- EM:done -->
205
margaretha49cb6882018-07-04 04:19:54 +0200206 <dependency>
margarethaf68daa62017-09-21 02:11:24 +0200207 <groupId>junit</groupId>
208 <artifactId>junit</artifactId>
209 <version>4.12</version>
210 </dependency>
211 <dependency>
212 <groupId>org.projectlombok</groupId>
213 <artifactId>lombok</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100214 <version>1.16.20</version>
margarethaf68daa62017-09-21 02:11:24 +0200215 </dependency>
216 <dependency>
217 <groupId>joda-time</groupId>
218 <artifactId>joda-time</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100219 <version>2.9.9</version>
margarethaf68daa62017-09-21 02:11:24 +0200220 </dependency>
221 <dependency>
222 <groupId>de.ids_mannheim.korap</groupId>
223 <artifactId>Koral</artifactId>
margaretha2df06602018-11-14 19:10:30 +0100224 <version>[0.31,)</version>
margarethaf68daa62017-09-21 02:11:24 +0200225 <exclusions>
226 <exclusion>
227 <groupId>org.eclipse.jetty</groupId>
228 <artifactId>jetty-servlet</artifactId>
229 </exclusion>
margaretha49cb6882018-07-04 04:19:54 +0200230 <exclusion>
231 <groupId>org.slf4j</groupId>
232 <artifactId>slf4j-api</artifactId>
233 </exclusion>
234 <exclusion>
235 <groupId>org.slf4j</groupId>
236 <artifactId>slf4j-log4j12</artifactId>
237 </exclusion>
238 <exclusion>
239 <groupId>log4j</groupId>
240 <artifactId>log4j</artifactId>
241 </exclusion>
242 <exclusion>
243 <groupId>log4j</groupId>
244 <artifactId>apache-log4j-extras</artifactId>
245 </exclusion>
margarethaf68daa62017-09-21 02:11:24 +0200246 </exclusions>
247 </dependency>
248
249 <dependency>
250 <groupId>org.xerial</groupId>
251 <artifactId>sqlite-jdbc</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100252 <version>3.21.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200253 </dependency>
254
margarethaf68daa62017-09-21 02:11:24 +0200255 <dependency>
256 <groupId>org.apache.commons</groupId>
257 <artifactId>commons-dbcp2</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100258 <version>2.2.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200259 </dependency>
260
261 <dependency>
262 <groupId>commons-validator</groupId>
263 <artifactId>commons-validator</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100264 <version>1.6</version>
margarethaf68daa62017-09-21 02:11:24 +0200265 </dependency>
266
267 <dependency>
268 <groupId>org.mindrot</groupId>
269 <artifactId>jbcrypt</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100270 <version>0.4</version>
margarethaf68daa62017-09-21 02:11:24 +0200271 </dependency>
margaretha49cb6882018-07-04 04:19:54 +0200272
margarethaf68daa62017-09-21 02:11:24 +0200273 <dependency>
274 <groupId>de.ids_mannheim.korap</groupId>
275 <artifactId>Krill</artifactId>
margaretha2df06602018-11-14 19:10:30 +0100276 <version>[0.58.1,)</version>
margarethaf68daa62017-09-21 02:11:24 +0200277 <exclusions>
278 <exclusion>
279 <groupId>org.xerial</groupId>
280 <artifactId>sqlite-jdbc</artifactId>
281 </exclusion>
margaretha49cb6882018-07-04 04:19:54 +0200282 <exclusion>
283 <groupId>org.slf4j</groupId>
margaretha6ad08b42018-08-22 18:33:54 +0200284 <artifactId>slf4j-api</artifactId>
285 </exclusion>
286 <exclusion>
287 <groupId>org.slf4j</groupId>
margaretha49cb6882018-07-04 04:19:54 +0200288 <artifactId>slf4j-log4j12</artifactId>
289 </exclusion>
290 <exclusion>
291 <groupId>org.apache.logging.log4j</groupId>
292 <artifactId>log4j-slf4j-impl</artifactId>
293 </exclusion>
294 <exclusion>
295 <groupId>org.slf4j</groupId>
296 <artifactId>jul-to-slf4j</artifactId>
297 </exclusion>
margarethaf68daa62017-09-21 02:11:24 +0200298 </exclusions>
299 </dependency>
300 <dependency>
301 <groupId>org.reflections</groupId>
302 <artifactId>reflections</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100303 <version>0.9.10</version>
margarethaf68daa62017-09-21 02:11:24 +0200304 </dependency>
margaretha2df06602018-11-14 19:10:30 +0100305
306 <!-- Spring -->
margarethaf68daa62017-09-21 02:11:24 +0200307 <dependency>
308 <groupId>org.springframework</groupId>
309 <artifactId>spring-core</artifactId>
310 <version>${spring-framework.version}</version>
311 </dependency>
312 <dependency>
313 <groupId>org.springframework</groupId>
314 <artifactId>spring-web</artifactId>
315 <version>${spring-framework.version}</version>
316 </dependency>
317 <dependency>
318 <groupId>org.springframework</groupId>
319 <artifactId>spring-asm</artifactId>
320 <version>3.1.4.RELEASE</version>
321 </dependency>
322 <dependency>
323 <groupId>org.springframework</groupId>
324 <artifactId>spring-orm</artifactId>
325 <version>${spring-framework.version}</version>
326 </dependency>
margaretha2df06602018-11-14 19:10:30 +0100327
328 <dependency>
329 <groupId>org.springframework</groupId>
330 <artifactId>spring-jdbc</artifactId>
331 <version>${spring-framework.version}</version>
332 </dependency>
333 <dependency>
334 <groupId>org.springframework</groupId>
335 <artifactId>spring-tx</artifactId>
336 <version>${spring-framework.version}</version>
337 </dependency>
338 <dependency>
339 <groupId>org.springframework.security</groupId>
340 <artifactId>spring-security-core</artifactId>
341 <version>${spring-framework.version}</version>
342 </dependency>
343 <dependency>
344 <groupId>org.springframework.security</groupId>
345 <artifactId>spring-security-web</artifactId>
346 <version>${spring-framework.version}</version>
347 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200348 <!-- EM: done -->
349 <dependency>
350 <groupId>org.springframework</groupId>
351 <artifactId>spring-context</artifactId>
352 <version>${spring-framework.version}</version>
353 </dependency>
354 <dependency>
355 <groupId>org.springframework</groupId>
356 <artifactId>spring-context-support</artifactId>
357 <version>${spring-framework.version}</version>
358 </dependency>
359 <dependency>
360 <groupId>org.springframework</groupId>
361 <artifactId>spring-test</artifactId>
362 <version>${spring-framework.version}</version>
363 <scope>compile</scope>
364 </dependency>
365
366 <!-- apparently this order prevents the spring schemas from being overriden
367 in META-INF/spring.schemas, thus must stay like this -->
368 <dependency>
369 <groupId>org.springframework</groupId>
370 <artifactId>spring-aop</artifactId>
371 <version>${spring-framework.version}</version>
372 </dependency>
373 <dependency>
374 <groupId>org.springframework</groupId>
375 <artifactId>spring-aspects</artifactId>
376 <version>${spring-framework.version}</version>
377 </dependency>
378
margarethaf68daa62017-09-21 02:11:24 +0200379 <!-- end copy -->
380
381 <dependency>
382 <groupId>commons-collections</groupId>
383 <artifactId>commons-collections</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100384 <version>3.2.2</version>
margarethaf68daa62017-09-21 02:11:24 +0200385 </dependency>
margaretha49cb6882018-07-04 04:19:54 +0200386
margaretha58e18632018-02-15 13:04:42 +0100387 <!-- jetty -->
margarethaf68daa62017-09-21 02:11:24 +0200388 <dependency>
389 <groupId>org.eclipse.jetty</groupId>
390 <artifactId>jetty-server</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100391 <version>${jetty.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200392 </dependency>
393 <dependency>
394 <groupId>org.eclipse.jetty</groupId>
395 <artifactId>jetty-servlet</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100396 <version>${jetty.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200397 </dependency>
398 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100399 <groupId>org.eclipse.jetty</groupId>
400 <artifactId>jetty-webapp</artifactId>
401 <version>${jetty.version}</version>
402 </dependency>
margaretha49cb6882018-07-04 04:19:54 +0200403
margaretha58e18632018-02-15 13:04:42 +0100404 <dependency>
margarethaf68daa62017-09-21 02:11:24 +0200405 <groupId>asm</groupId>
406 <artifactId>asm</artifactId>
407 <version>3.3.1</version>
408 </dependency>
409 <dependency>
410 <groupId>com.novell.ldap</groupId>
411 <artifactId>jldap</artifactId>
412 <version>4.3</version>
413 </dependency>
414 <!-- https://mvnrepository.com/artifact/com.unboundid/unboundid-ldapsdk -->
415 <dependency>
416 <groupId>com.unboundid</groupId>
417 <artifactId>unboundid-ldapsdk</artifactId>
418 <version>3.2.1</version>
419 </dependency>
420
margaretha2df06602018-11-14 19:10:30 +0100421 <!-- not part of public release <dependency> <groupId>KorAP-graphDB</groupId>
422 <artifactId>KorAP-graphDB</artifactId> <version>1.0-SNAPSHOT</version> <exclusions>
423 <exclusion> <groupId>org.antlr</groupId> <artifactId>antlr4-runtime</artifactId>
424 </exclusion> <exclusion> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-client</artifactId>
425 </exclusion> <exclusion> <groupId>org.glassfish.jersey.containers</groupId>
426 <artifactId>jersey-container-grizzly2-http</artifactId> </exclusion> <exclusion>
427 <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-common</artifactId>
428 </exclusion> <exclusion> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-server</artifactId>
429 </exclusion> </exclusions> </dependency> -->
margarethaf68daa62017-09-21 02:11:24 +0200430 <dependency>
431 <groupId>org.apache.httpcomponents</groupId>
432 <artifactId>httpclient</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100433 <version>4.5.4</version>
margarethaf68daa62017-09-21 02:11:24 +0200434 </dependency>
435 <dependency>
436 <groupId>commons-io</groupId>
437 <artifactId>commons-io</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100438 <version>2.6</version>
margarethaf68daa62017-09-21 02:11:24 +0200439 </dependency>
margaretha54134902017-09-27 18:43:11 +0200440
margaretha2df06602018-11-14 19:10:30 +0100441 <!-- Hibernate -->
margarethaf68daa62017-09-21 02:11:24 +0200442 <dependency>
443 <groupId>org.hibernate</groupId>
444 <artifactId>hibernate-ehcache</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100445 <version>${hibernate.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200446 </dependency>
margaretha439ad572018-10-29 12:15:28 +0100447 <dependency>
margaretha2df06602018-11-14 19:10:30 +0100448 <groupId>org.hibernate</groupId>
449 <artifactId>hibernate-jpamodelgen</artifactId>
450 <version>${hibernate.version}</version>
451 <scope>provided</scope>
452 </dependency>
453
454 <dependency>
margaretha439ad572018-10-29 12:15:28 +0100455 <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>