blob: 253b6169c95d6c9bb0da00aa650c766d56c33d39 [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 -->
margaretha2df06602018-11-14 19:10:30 +010063 <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId>
64 <version>3.0.1</version> <executions> <execution> <id>attach-sources</id>
65 <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> -->
66 <!-- Generate source jar -->
67 <plugin>
margarethaf68daa62017-09-21 02:11:24 +020068 <groupId>org.apache.maven.plugins</groupId>
margaretha49cb6882018-07-04 04:19:54 +020069 <artifactId>maven-source-plugin</artifactId>
70 <version>3.0.1</version>
margarethaf68daa62017-09-21 02:11:24 +020071 <executions>
72 <execution>
margaretha49cb6882018-07-04 04:19:54 +020073 <id>attach-sources</id>
margarethaf68daa62017-09-21 02:11:24 +020074 <goals>
margaretha49cb6882018-07-04 04:19:54 +020075 <goal>jar</goal>
margarethaf68daa62017-09-21 02:11:24 +020076 </goals>
77 </execution>
78 </executions>
margaretha2df06602018-11-14 19:10:30 +010079 </plugin>
80 <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId>
81 <version>2.20.1</version> <configuration> <reuseForks>false</reuseForks>
82 <forkCount>2</forkCount> <threadCount>10</threadCount> <argLine>-Xmx1024m
83 -XX:MaxPermSize=256m</argLine> <excludes> <exclude>**/*APITest.java</exclude>
84 </excludes> <includes> <include>de/ids_mannheim/korap/**/*.java</include>
85 </includes> </configuration> </plugin> -->
margarethaf68daa62017-09-21 02:11:24 +020086 </plugins>
87 </build>
88 <dependencies>
margaretha2df06602018-11-14 19:10:30 +010089 <!-- Jersey -->
margarethaf68daa62017-09-21 02:11:24 +020090 <dependency>
91 <groupId>com.sun.jersey</groupId>
92 <artifactId>jersey-bundle</artifactId>
93 <version>${jersey.version}</version>
94 </dependency>
95 <!--EM: added -->
96 <dependency>
97 <groupId>com.sun.jersey</groupId>
98 <artifactId>jersey-server</artifactId>
99 <version>${jersey.version}</version>
100 </dependency>
101
102 <dependency>
103 <groupId>com.sun.jersey.contribs</groupId>
104 <artifactId>jersey-spring</artifactId>
105 <version>${jersey.version}</version>
106 <exclusions>
107 <exclusion>
108 <groupId>org.springframework</groupId>
109 <artifactId>spring</artifactId>
110 </exclusion>
111 <exclusion>
112 <groupId>org.springframework</groupId>
113 <artifactId>spring-core</artifactId>
114 </exclusion>
115 <exclusion>
116 <groupId>org.springframework</groupId>
117 <artifactId>spring-web</artifactId>
118 </exclusion>
119 <exclusion>
120 <groupId>org.springframework</groupId>
121 <artifactId>spring-beans</artifactId>
122 </exclusion>
123 <exclusion>
124 <groupId>org.springframework</groupId>
125 <artifactId>spring-context</artifactId>
126 </exclusion>
127 <exclusion>
128 <groupId>org.springframework</groupId>
129 <artifactId>spring-aop</artifactId>
130 </exclusion>
131 </exclusions>
132 </dependency>
margaretha2df06602018-11-14 19:10:30 +0100133
134 <!-- JSON -->
margarethaf68daa62017-09-21 02:11:24 +0200135 <dependency>
margaretha2df06602018-11-14 19:10:30 +0100136 <groupId>com.sun.jersey</groupId>
137 <artifactId>jersey-json</artifactId>
margarethaf68daa62017-09-21 02:11:24 +0200138 <version>${jersey.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200139 </dependency>
140 <dependency>
margaretha2df06602018-11-14 19:10:30 +0100141 <groupId>net.minidev</groupId>
142 <artifactId>json-smart</artifactId>
143 <version>1.0.9</version>
margarethaf68daa62017-09-21 02:11:24 +0200144 </dependency>
margaretha2df06602018-11-14 19:10:30 +0100145
146 <!-- Flyway -->
147 <dependency>
148 <groupId>org.flywaydb</groupId>
149 <artifactId>flyway-core</artifactId>
150 <version>4.0</version>
151 </dependency>
152
153 <!-- Logging -->
margarethaf68daa62017-09-21 02:11:24 +0200154 <dependency>
margaretha49cb6882018-07-04 04:19:54 +0200155 <groupId>org.apache.logging.log4j</groupId>
156 <artifactId>log4j-api</artifactId>
157 <version>2.11.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200158 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200159 <dependency>
margaretha49cb6882018-07-04 04:19:54 +0200160 <groupId>org.apache.logging.log4j</groupId>
161 <artifactId>log4j-core</artifactId>
162 <version>2.11.0</version>
163 </dependency>
164 <dependency>
margaretha2df06602018-11-14 19:10:30 +0100165 <groupId>org.apache.logging.log4j</groupId>
166 <artifactId>log4j-slf4j-impl</artifactId>
167 <version>2.11.0</version>
margaretha49cb6882018-07-04 04:19:54 +0200168 </dependency>
169 <dependency>
margaretha2df06602018-11-14 19:10:30 +0100170 <groupId>org.apache.logging.log4j</groupId>
171 <artifactId>log4j-jul</artifactId>
172 <version>2.11.0</version>
173 <exclusions>
174 <exclusion>
margaretha6ad08b42018-08-22 18:33:54 +0200175 <groupId>org.slf4j</groupId>
176 <artifactId>slf4j-api</artifactId>
177 </exclusion>
margaretha2df06602018-11-14 19:10:30 +0100178 </exclusions>
margaretha49cb6882018-07-04 04:19:54 +0200179 </dependency>
margaretha6ad08b42018-08-22 18:33:54 +0200180 <dependency>
181 <groupId>org.slf4j</groupId>
182 <artifactId>slf4j-api</artifactId>
margaretha2df06602018-11-14 19:10:30 +0100183 <version>1.7.25</version>
margaretha6ad08b42018-08-22 18:33:54 +0200184 </dependency>
margaretha2df06602018-11-14 19:10:30 +0100185
186 <!-- Java Assist -->
187 <dependency>
188 <groupId>org.javassist</groupId>
189 <artifactId>javassist</artifactId>
190 <version>3.22.0-GA</version>
191 </dependency>
192
193 <!-- EM:done -->
194
margaretha49cb6882018-07-04 04:19:54 +0200195 <dependency>
margarethaf68daa62017-09-21 02:11:24 +0200196 <groupId>junit</groupId>
197 <artifactId>junit</artifactId>
198 <version>4.12</version>
199 </dependency>
200 <dependency>
201 <groupId>org.projectlombok</groupId>
202 <artifactId>lombok</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100203 <version>1.16.20</version>
margarethaf68daa62017-09-21 02:11:24 +0200204 </dependency>
205 <dependency>
206 <groupId>joda-time</groupId>
207 <artifactId>joda-time</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100208 <version>2.9.9</version>
margarethaf68daa62017-09-21 02:11:24 +0200209 </dependency>
210 <dependency>
211 <groupId>de.ids_mannheim.korap</groupId>
212 <artifactId>Koral</artifactId>
margaretha2df06602018-11-14 19:10:30 +0100213 <version>[0.31,)</version>
margarethaf68daa62017-09-21 02:11:24 +0200214 <exclusions>
215 <exclusion>
216 <groupId>org.eclipse.jetty</groupId>
217 <artifactId>jetty-servlet</artifactId>
218 </exclusion>
margaretha49cb6882018-07-04 04:19:54 +0200219 <exclusion>
220 <groupId>org.slf4j</groupId>
221 <artifactId>slf4j-api</artifactId>
222 </exclusion>
223 <exclusion>
224 <groupId>org.slf4j</groupId>
225 <artifactId>slf4j-log4j12</artifactId>
226 </exclusion>
227 <exclusion>
228 <groupId>log4j</groupId>
229 <artifactId>log4j</artifactId>
230 </exclusion>
231 <exclusion>
232 <groupId>log4j</groupId>
233 <artifactId>apache-log4j-extras</artifactId>
234 </exclusion>
margarethaf68daa62017-09-21 02:11:24 +0200235 </exclusions>
236 </dependency>
237
238 <dependency>
239 <groupId>org.xerial</groupId>
240 <artifactId>sqlite-jdbc</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100241 <version>3.21.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200242 </dependency>
243
margarethaf68daa62017-09-21 02:11:24 +0200244 <dependency>
245 <groupId>org.apache.commons</groupId>
246 <artifactId>commons-dbcp2</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100247 <version>2.2.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200248 </dependency>
249
250 <dependency>
251 <groupId>commons-validator</groupId>
252 <artifactId>commons-validator</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100253 <version>1.6</version>
margarethaf68daa62017-09-21 02:11:24 +0200254 </dependency>
255
256 <dependency>
257 <groupId>org.mindrot</groupId>
258 <artifactId>jbcrypt</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100259 <version>0.4</version>
margarethaf68daa62017-09-21 02:11:24 +0200260 </dependency>
margaretha49cb6882018-07-04 04:19:54 +0200261
margarethaf68daa62017-09-21 02:11:24 +0200262 <dependency>
263 <groupId>de.ids_mannheim.korap</groupId>
264 <artifactId>Krill</artifactId>
margaretha2df06602018-11-14 19:10:30 +0100265 <version>[0.58.1,)</version>
margarethaf68daa62017-09-21 02:11:24 +0200266 <exclusions>
267 <exclusion>
268 <groupId>org.xerial</groupId>
269 <artifactId>sqlite-jdbc</artifactId>
270 </exclusion>
margaretha49cb6882018-07-04 04:19:54 +0200271 <exclusion>
272 <groupId>org.slf4j</groupId>
margaretha6ad08b42018-08-22 18:33:54 +0200273 <artifactId>slf4j-api</artifactId>
274 </exclusion>
275 <exclusion>
276 <groupId>org.slf4j</groupId>
margaretha49cb6882018-07-04 04:19:54 +0200277 <artifactId>slf4j-log4j12</artifactId>
278 </exclusion>
279 <exclusion>
280 <groupId>org.apache.logging.log4j</groupId>
281 <artifactId>log4j-slf4j-impl</artifactId>
282 </exclusion>
283 <exclusion>
284 <groupId>org.slf4j</groupId>
285 <artifactId>jul-to-slf4j</artifactId>
286 </exclusion>
margarethaf68daa62017-09-21 02:11:24 +0200287 </exclusions>
288 </dependency>
289 <dependency>
290 <groupId>org.reflections</groupId>
291 <artifactId>reflections</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100292 <version>0.9.10</version>
margarethaf68daa62017-09-21 02:11:24 +0200293 </dependency>
margaretha2df06602018-11-14 19:10:30 +0100294
295 <!-- Spring -->
margarethaf68daa62017-09-21 02:11:24 +0200296 <dependency>
297 <groupId>org.springframework</groupId>
298 <artifactId>spring-core</artifactId>
299 <version>${spring-framework.version}</version>
300 </dependency>
301 <dependency>
302 <groupId>org.springframework</groupId>
303 <artifactId>spring-web</artifactId>
304 <version>${spring-framework.version}</version>
305 </dependency>
306 <dependency>
307 <groupId>org.springframework</groupId>
308 <artifactId>spring-asm</artifactId>
309 <version>3.1.4.RELEASE</version>
310 </dependency>
311 <dependency>
312 <groupId>org.springframework</groupId>
313 <artifactId>spring-orm</artifactId>
314 <version>${spring-framework.version}</version>
315 </dependency>
margaretha2df06602018-11-14 19:10:30 +0100316
317 <dependency>
318 <groupId>org.springframework</groupId>
319 <artifactId>spring-jdbc</artifactId>
320 <version>${spring-framework.version}</version>
321 </dependency>
322 <dependency>
323 <groupId>org.springframework</groupId>
324 <artifactId>spring-tx</artifactId>
325 <version>${spring-framework.version}</version>
326 </dependency>
327 <dependency>
328 <groupId>org.springframework.security</groupId>
329 <artifactId>spring-security-core</artifactId>
330 <version>${spring-framework.version}</version>
331 </dependency>
332 <dependency>
333 <groupId>org.springframework.security</groupId>
334 <artifactId>spring-security-web</artifactId>
335 <version>${spring-framework.version}</version>
336 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200337 <!-- 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
margaretha2df06602018-11-14 19:10:30 +0100410 <!-- not part of public release <dependency> <groupId>KorAP-graphDB</groupId>
411 <artifactId>KorAP-graphDB</artifactId> <version>1.0-SNAPSHOT</version> <exclusions>
412 <exclusion> <groupId>org.antlr</groupId> <artifactId>antlr4-runtime</artifactId>
413 </exclusion> <exclusion> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-client</artifactId>
414 </exclusion> <exclusion> <groupId>org.glassfish.jersey.containers</groupId>
415 <artifactId>jersey-container-grizzly2-http</artifactId> </exclusion> <exclusion>
416 <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-common</artifactId>
417 </exclusion> <exclusion> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-server</artifactId>
418 </exclusion> </exclusions> </dependency> -->
margarethaf68daa62017-09-21 02:11:24 +0200419 <dependency>
420 <groupId>org.apache.httpcomponents</groupId>
421 <artifactId>httpclient</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100422 <version>4.5.4</version>
margarethaf68daa62017-09-21 02:11:24 +0200423 </dependency>
424 <dependency>
425 <groupId>commons-io</groupId>
426 <artifactId>commons-io</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100427 <version>2.6</version>
margarethaf68daa62017-09-21 02:11:24 +0200428 </dependency>
margaretha54134902017-09-27 18:43:11 +0200429
margaretha2df06602018-11-14 19:10:30 +0100430 <!-- Hibernate -->
margarethaf68daa62017-09-21 02:11:24 +0200431 <dependency>
432 <groupId>org.hibernate</groupId>
433 <artifactId>hibernate-ehcache</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100434 <version>${hibernate.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200435 </dependency>
margaretha439ad572018-10-29 12:15:28 +0100436 <dependency>
margaretha2df06602018-11-14 19:10:30 +0100437 <groupId>org.hibernate</groupId>
438 <artifactId>hibernate-jpamodelgen</artifactId>
439 <version>${hibernate.version}</version>
440 <scope>provided</scope>
441 </dependency>
442
443 <dependency>
margaretha439ad572018-10-29 12:15:28 +0100444 <groupId>javax.servlet</groupId>
445 <artifactId>javax.servlet-api</artifactId>
446 <version>4.0.1</version>
447 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200448 </dependencies>
Akron730ed082018-01-31 17:10:13 +0100449</project>