blob: 32ef7115a11cddb6fd0a38d2f0943bb0bd90b280 [file] [log] [blame]
Michael Hanlca740d72015-06-16 10:04:58 +02001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Michael Hanlca740d72015-06-16 10:04:58 +02005 <modelVersion>4.0.0</modelVersion>
Michael Hanlbadd79c2015-06-19 07:41:03 +02006 <groupId>de.ids_mannheim.korap</groupId>
Michael Hanlca740d72015-06-16 10:04:58 +02007 <artifactId>Kustvakt-core</artifactId>
Michael Hanl7368aa42016-02-05 18:15:47 +01008 <version>0.58</version>
Michael Hanlbadd79c2015-06-19 07:41:03 +02009 <packaging>jar</packaging>
10 <name>Kustvakt core</name>
11 <description>Kustvakt core, basic rest api for testing purposes and default
12 interfaces
13 </description>
Michael Hanlca740d72015-06-16 10:04:58 +020014 <properties>
15 <maven.compiler.source>1.7</maven.compiler.source>
16 <maven.compiler.target>1.7</maven.compiler.target>
17 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18 </properties>
Michael Hanl840878a2015-09-21 22:38:05 +020019 <profiles>
20 <!-- mvn -Plight builds additionally the light server version with reduced functionality! -->
21 <profile>
22 <id>light</id>
23 <build>
24 <plugins>
25 <plugin>
26 <artifactId>maven-shade-plugin</artifactId>
27 <version>2.1</version>
28 <executions>
29 <!-- option 1 -->
30 <execution>
31 <id>light</id>
32 <phase>package</phase>
33 <goals>
34 <goal>shade</goal>
35 </goals>
36 <configuration>
37 <finalName>
38 Kustvakt-core-${project.version}-light
39 </finalName>
40 <transformers>
41 <transformer
42 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
43 <mainClass>
Michael Hanl482f30d2015-09-25 12:39:46 +020044 de.ids_mannheim.korap.web.KustvaktBaseServer
Michael Hanl840878a2015-09-21 22:38:05 +020045 </mainClass>
46 </transformer>
47 <transformer
48 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
49 <resource>META-INF/spring.handlers
50 </resource>
51 </transformer>
52 <transformer
53 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
54 <resource>META-INF/spring.schemas
55 </resource>
56 </transformer>
57 </transformers>
58 <!-- Additional configuration. -->
59 <!-- apparently there is a securityexception -->
60 <filters>
61 <filter>
62 <artifact>*:*</artifact>
63 <excludes>
64 <exclude>META-INF/*.SF</exclude>
65 <exclude>META-INF/*.DSA
66 </exclude>
67 <exclude>META-INF/*.RSA
68 </exclude>
69 </excludes>
70 </filter>
71 </filters>
72 </configuration>
73 </execution>
74 </executions>
75 </plugin>
76 </plugins>
77 </build>
78 </profile>
79 </profiles>
Michael Hanlca740d72015-06-16 10:04:58 +020080 <build>
Michael Hanl9f8d90c2015-09-14 16:13:54 +020081 <resources>
82 <resource>
83 <directory>src/main/resources</directory>
84 <filtering>true</filtering>
85 <includes>
86 <include>**/*.prop</include>
87 <include>**/*.xml</include>
88 <include>**/*.conf</include>
89 <include>**/*.properties</include>
Michael Hanld3c8bc82015-11-10 07:47:24 +010090 <include>**/*.sql</include>
Michael Hanl9f8d90c2015-09-14 16:13:54 +020091 </includes>
92 </resource>
93 </resources>
94 <testResources>
95 <testResource>
Michael Hanlf21773f2015-10-16 23:02:31 +020096 <directory>src/test/resources</directory>
Michael Hanl9f8d90c2015-09-14 16:13:54 +020097 <filtering>true</filtering>
98 <includes>
99 <include>**/*.prop</include>
100 <include>**/*.xml</include>
101 <include>**/*.conf</include>
102 <include>**/*.properties</include>
103 </includes>
104 </testResource>
Michael Hanlf21773f2015-10-16 23:02:31 +0200105 <testResource>
106 <directory>src/main/resources</directory>
107 <filtering>true</filtering>
108 <includes>
Michael Hanlefb54c42016-01-16 18:54:03 +0100109 <!--<include>**/*.prop</include>-->
110 <!--<include>**/*.xml</include>-->
111 <!--<include>**/*.conf</include>-->
Michael Hanlf21773f2015-10-16 23:02:31 +0200112 <include>**/*.properties</include>
Michael Hanlefb54c42016-01-16 18:54:03 +0100113 <!--<include>**/*.sql</include>-->
Michael Hanlf21773f2015-10-16 23:02:31 +0200114 </includes>
115 </testResource>
Michael Hanl9f8d90c2015-09-14 16:13:54 +0200116 </testResources>
Michael Hanlca740d72015-06-16 10:04:58 +0200117 <plugins>
Michael Hanlc95c0a82015-10-20 16:45:46 +0200118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-compiler-plugin</artifactId>
121 <version>3.3</version>
122 <configuration>
123 <compilerVersion>1.7</compilerVersion>
124 <source>1.7</source>
125 <target>1.7</target>
126 </configuration>
127 </plugin>
Michael Hanlf21773f2015-10-16 23:02:31 +0200128
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200129 <!-- build tests jar, so extensions can use fastjerseytest class to build rest tests -->
130 <plugin>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-jar-plugin</artifactId>
Michael Hanlf21773f2015-10-16 23:02:31 +0200133 <version>2.1</version>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200134 <executions>
135 <execution>
136 <phase>package</phase>
137 <goals>
138 <goal>test-jar</goal>
139 </goals>
140 </execution>
141 </executions>
142 </plugin>
Michael Hanlca740d72015-06-16 10:04:58 +0200143 <plugin>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-surefire-plugin</artifactId>
146 <version>2.9</version>
Michael Hanlca740d72015-06-16 10:04:58 +0200147 <configuration>
148 <excludes>
149 <exclude>**/*APITest.java</exclude>
150 </excludes>
151 <includes>
Michael Hanl83356752016-02-06 14:33:50 +0100152 <include>de/ids_mannheim/korap/**/*.java</include>
Michael Hanlca740d72015-06-16 10:04:58 +0200153 </includes>
154 </configuration>
155 </plugin>
156 <plugin>
157 <artifactId>maven-shade-plugin</artifactId>
158 <version>2.1</version>
159 <executions>
160 <!-- option 1 -->
161 <execution>
Michael Hanl9f8d90c2015-09-14 16:13:54 +0200162 <id>full</id>
163 <phase>package</phase>
164 <goals>
165 <goal>shade</goal>
166 </goals>
167 <configuration>
Michael Hanlca740d72015-06-16 10:04:58 +0200168 <transformers>
169 <transformer
170 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
171 <mainClass>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200172 de.ids_mannheim.korap.web.KustvaktServer
Michael Hanlca740d72015-06-16 10:04:58 +0200173 </mainClass>
174 </transformer>
175 <transformer
176 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
177 <resource>META-INF/spring.handlers
178 </resource>
179 </transformer>
180 <transformer
181 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
182 <resource>META-INF/spring.schemas
183 </resource>
184 </transformer>
185 </transformers>
186 <!-- Additional configuration. -->
Michael Hanl59bff812015-10-27 23:10:32 +0100187 <!-- apparently there is a securityException -->
Michael Hanlca740d72015-06-16 10:04:58 +0200188 <filters>
189 <filter>
190 <artifact>*:*</artifact>
191 <excludes>
192 <exclude>META-INF/*.SF</exclude>
193 <exclude>META-INF/*.DSA
194 </exclude>
195 <exclude>META-INF/*.RSA
196 </exclude>
197 </excludes>
198 </filter>
199 </filters>
200 </configuration>
201 </execution>
202 </executions>
203 </plugin>
204 </plugins>
205 </build>
Michael Hanlca740d72015-06-16 10:04:58 +0200206 <dependencies>
207 <dependency>
208 <groupId>com.sun.jersey</groupId>
209 <artifactId>jersey-bundle</artifactId>
210 <version>1.8</version>
211 </dependency>
212 <dependency>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200213 <groupId>com.sun.jersey.jersey-test-framework</groupId>
214 <artifactId>jersey-test-framework-core</artifactId>
215 <version>1.19</version>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200216 <scope>test</scope>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200217 </dependency>
218 <dependency>
219 <groupId>com.sun.jersey.jersey-test-framework</groupId>
220 <artifactId>jersey-test-framework-grizzly</artifactId>
221 <version>1.19</version>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200222 <scope>test</scope>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200223 </dependency>
224 <dependency>
Michael Hanlbadd79c2015-06-19 07:41:03 +0200225 <groupId>org.slf4j</groupId>
226 <artifactId>slf4j-api</artifactId>
227 <version>1.7.5</version>
228 </dependency>
229 <dependency>
230 <groupId>org.slf4j</groupId>
231 <artifactId>slf4j-log4j12</artifactId>
232 <version>1.7.5</version>
233 </dependency>
234 <dependency>
235 <groupId>log4j</groupId>
236 <artifactId>log4j</artifactId>
237 <version>1.2.17</version>
238 </dependency>
239 <dependency>
240 <groupId>log4j</groupId>
241 <artifactId>apache-log4j-extras</artifactId>
242 <version>1.2.17</version>
243 </dependency>
244 <dependency>
245 <groupId>junit</groupId>
246 <artifactId>junit</artifactId>
247 <version>4.11</version>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200248 <scope>test</scope>
Michael Hanlbadd79c2015-06-19 07:41:03 +0200249 </dependency>
250 <dependency>
251 <groupId>org.projectlombok</groupId>
252 <artifactId>lombok</artifactId>
Michael Hanlf21773f2015-10-16 23:02:31 +0200253 <version>1.16.6</version>
Michael Hanlc8729b92015-09-02 12:37:36 +0200254 <scope>provided</scope>
Michael Hanlbadd79c2015-06-19 07:41:03 +0200255 </dependency>
256 <dependency>
257 <groupId>joda-time</groupId>
258 <artifactId>joda-time</artifactId>
259 <version>2.2</version>
Michael Hanlca740d72015-06-16 10:04:58 +0200260 </dependency>
261 <dependency>
Michael Hanlcafa03e2015-06-26 17:01:16 +0200262 <groupId>de.ids_mannheim.korap</groupId>
Michael Hanlca740d72015-06-16 10:04:58 +0200263 <artifactId>Koral</artifactId>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200264 <version>0.21</version>
Michael Hanlca740d72015-06-16 10:04:58 +0200265 <exclusions>
266 <exclusion>
267 <groupId>org.eclipse.jetty</groupId>
268 <artifactId>jetty-servlet</artifactId>
269 </exclusion>
270 </exclusions>
271 </dependency>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200272 <!--
273 <dependency>
274 <groupId>com.sun.jersey</groupId>
275 <artifactId>jersey-grizzly2</artifactId>
276 <version>1.8</version>
277 </dependency>
278 <dependency>
279 <groupId>com.sun.grizzly</groupId>
280 <artifactId>grizzly-servlet-webserver</artifactId>
281 <version>1.9.18-i</version>
282 </dependency>
283 -->
Michael Hanlc8729b92015-09-02 12:37:36 +0200284
Michael Hanlf21773f2015-10-16 23:02:31 +0200285 <dependency>
286 <groupId>org.xerial</groupId>
287 <artifactId>sqlite-jdbc</artifactId>
288 <version>3.8.10.1</version>
289 </dependency>
290
291 <dependency>
Michael Hanl19390652016-01-16 11:01:24 +0100292 <groupId>mysql</groupId>
293 <artifactId>mysql-connector-java</artifactId>
294 <version>5.1.6</version>
295 </dependency>
296
297 <dependency>
Michael Hanlf21773f2015-10-16 23:02:31 +0200298 <groupId>org.apache.commons</groupId>
299 <artifactId>commons-dbcp2</artifactId>
300 <version>2.1.1</version>
301 </dependency>
302
303 <dependency>
304 <groupId>org.owasp.esapi</groupId>
305 <artifactId>esapi</artifactId>
306 <version>2.1.0</version>
307 </dependency>
308
309 <dependency>
310 <groupId>org.mindrot</groupId>
311 <artifactId>jbcrypt</artifactId>
312 <version>0.3m</version>
313 </dependency>
314
Michael Hanlca740d72015-06-16 10:04:58 +0200315 <dependency>
316 <groupId>com.nimbusds</groupId>
317 <artifactId>nimbus-jose-jwt</artifactId>
318 <version>2.10.1</version>
319 </dependency>
320
321 <dependency>
322 <groupId>de.ids_mannheim.korap</groupId>
323 <artifactId>Krill</artifactId>
Michael Hanl513f60a2016-02-18 08:03:34 +0100324 <version>0.55.3</version>
Michael Hanlca740d72015-06-16 10:04:58 +0200325 <exclusions>
326 <exclusion>
327 <groupId>org.xerial</groupId>
328 <artifactId>sqlite-jdbc</artifactId>
329 </exclusion>
330 </exclusions>
331 </dependency>
332 <dependency>
333 <groupId>org.reflections</groupId>
334 <artifactId>reflections</artifactId>
335 <version>0.9.9-RC1</version>
336 </dependency>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200337 <!-- deprecated? -->
Michael Hanl2760cc42015-11-16 19:30:01 +0100338 <!--<dependency>-->
Michael Hanl19390652016-01-16 11:01:24 +0100339 <!--<groupId>com.restfuse</groupId>-->
340 <!--<artifactId>com.eclipsesource.restfuse</artifactId>-->
341 <!--<version>1.0.0</version>-->
342 <!--<scope>provided</scope>-->
Michael Hanl2760cc42015-11-16 19:30:01 +0100343 <!--</dependency>-->
Michael Hanl1e18cb42015-08-06 20:57:35 +0200344 <!-- deprecated -->
345 <!--<dependency>-->
346 <!--<groupId>com.jayway.restassured</groupId>-->
347 <!--<artifactId>rest-assured</artifactId>-->
348 <!--<version>2.4.0</version>-->
349 <!--<scope>provided</scope>-->
350 <!--</dependency>-->
Michael Hanl2760cc42015-11-16 19:30:01 +0100351 <!--<dependency>-->
Michael Hanl19390652016-01-16 11:01:24 +0100352 <!--<groupId>org.springframework</groupId>-->
353 <!--<artifactId>spring-core</artifactId>-->
354 <!--<version>4.0.5.RELEASE</version>-->
Michael Hanl2760cc42015-11-16 19:30:01 +0100355 <!--</dependency>-->
Michael Hanlbadd79c2015-06-19 07:41:03 +0200356 <dependency>
357 <groupId>org.springframework</groupId>
358 <artifactId>spring-context</artifactId>
359 <version>4.0.5.RELEASE</version>
360 </dependency>
361 <dependency>
362 <groupId>org.springframework</groupId>
363 <artifactId>spring-context-support</artifactId>
364 <version>4.0.5.RELEASE</version>
365 </dependency>
366
367 <!-- apparently this order prevents the spring schemas from being overriden in META-INF/spring.schemas, thus must stay like this
368 -->
369 <dependency>
370 <groupId>org.springframework</groupId>
371 <artifactId>spring-aop</artifactId>
372 <version>4.0.5.RELEASE</version>
373 </dependency>
374 <dependency>
375 <groupId>org.springframework</groupId>
376 <artifactId>spring-aspects</artifactId>
377 <version>4.0.5.RELEASE</version>
378 </dependency>
Michael Hanl9f8d90c2015-09-14 16:13:54 +0200379
380 <!-- copied from extension -->
381 <dependency>
382 <groupId>org.springframework</groupId>
383 <artifactId>spring-jdbc</artifactId>
384 <version>4.1.6.RELEASE</version>
385 </dependency>
386 <dependency>
387 <groupId>org.springframework</groupId>
388 <artifactId>spring-tx</artifactId>
389 <version>4.1.6.RELEASE</version>
390 </dependency>
391 <dependency>
392 <groupId>org.flywaydb</groupId>
393 <artifactId>flyway-core</artifactId>
394 <version>3.2.1</version>
395 </dependency>
396
397 <dependency>
398 <groupId>net.sf.ehcache</groupId>
399 <artifactId>ehcache-core</artifactId>
400 <version>2.6.5</version>
401 </dependency>
402
403 <dependency>
404 <groupId>org.apache.oltu.oauth2</groupId>
405 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
406 <version>1.0.0</version>
407 </dependency>
408
409 <!-- end copy -->
410
Michael Hanlbadd79c2015-06-19 07:41:03 +0200411 <dependency>
412 <groupId>commons-collections</groupId>
413 <artifactId>commons-collections</artifactId>
414 <version>3.2.1</version>
415 </dependency>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200416 <dependency>
417 <groupId>org.eclipse.jetty</groupId>
418 <artifactId>jetty-server</artifactId>
419 <version>8.1.8.v20121106</version>
420 </dependency>
421 <dependency>
422 <groupId>org.eclipse.jetty</groupId>
423 <artifactId>jetty-servlet</artifactId>
424 <version>8.1.8.v20121106</version>
425 </dependency>
Michael Hanl19390652016-01-16 11:01:24 +0100426 <dependency>
427 <groupId>asm</groupId>
428 <artifactId>asm</artifactId>
429 <version>3.3.1</version>
430 </dependency>
Michael Hanl9f8d90c2015-09-14 16:13:54 +0200431
Michael Hanlbadd79c2015-06-19 07:41:03 +0200432 <!--
433 not part of public release
434 <dependency>
435 <groupId>KorAP-graphDB</groupId>
436 <artifactId>KorAP-graphDB</artifactId>
437 <version>1.0-SNAPSHOT</version>
438 <exclusions>
439 <exclusion>
440 <groupId>org.antlr</groupId>
441 <artifactId>antlr4-runtime</artifactId>
442 </exclusion>
443 <exclusion>
444 <groupId>org.glassfish.jersey.core</groupId>
445 <artifactId>jersey-client</artifactId>
446 </exclusion>
447 <exclusion>
448 <groupId>org.glassfish.jersey.containers</groupId>
449 <artifactId>jersey-container-grizzly2-http</artifactId>
450 </exclusion>
451 <exclusion>
452 <groupId>org.glassfish.jersey.core</groupId>
453 <artifactId>jersey-common</artifactId>
454 </exclusion>
455 <exclusion>
456 <groupId>org.glassfish.jersey.core</groupId>
457 <artifactId>jersey-server</artifactId>
458 </exclusion>
459 </exclusions>
460 </dependency>
461 -->
Michael Hanlca740d72015-06-16 10:04:58 +0200462 </dependencies>
463
464</project>