blob: 4876e6733473b3ad77181a43cda5151435e3d8b3 [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>
206 <repositories>
207 <repository>
208 <id>codehaus-release-repo</id>
209 <name>Codehaus Release Repo</name>
210 <url>http://repository.codehaus.org</url>
211 </repository>
212 <repository>
213 <id>central</id>
214 <url>http://repo1.maven.org/maven2/</url>
215 </repository>
216 <repository>
217 <id>sonatype</id>
218 <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
219 <snapshots/>
220 </repository>
221 </repositories>
222 <dependencies>
223 <dependency>
224 <groupId>com.sun.jersey</groupId>
225 <artifactId>jersey-bundle</artifactId>
226 <version>1.8</version>
227 </dependency>
228 <dependency>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200229 <groupId>com.sun.jersey.jersey-test-framework</groupId>
230 <artifactId>jersey-test-framework-core</artifactId>
231 <version>1.19</version>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200232 <scope>test</scope>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200233 </dependency>
234 <dependency>
235 <groupId>com.sun.jersey.jersey-test-framework</groupId>
236 <artifactId>jersey-test-framework-grizzly</artifactId>
237 <version>1.19</version>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200238 <scope>test</scope>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200239 </dependency>
240 <dependency>
Michael Hanlbadd79c2015-06-19 07:41:03 +0200241 <groupId>org.slf4j</groupId>
242 <artifactId>slf4j-api</artifactId>
243 <version>1.7.5</version>
244 </dependency>
245 <dependency>
246 <groupId>org.slf4j</groupId>
247 <artifactId>slf4j-log4j12</artifactId>
248 <version>1.7.5</version>
249 </dependency>
250 <dependency>
251 <groupId>log4j</groupId>
252 <artifactId>log4j</artifactId>
253 <version>1.2.17</version>
254 </dependency>
255 <dependency>
256 <groupId>log4j</groupId>
257 <artifactId>apache-log4j-extras</artifactId>
258 <version>1.2.17</version>
259 </dependency>
260 <dependency>
261 <groupId>junit</groupId>
262 <artifactId>junit</artifactId>
263 <version>4.11</version>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200264 <scope>test</scope>
Michael Hanlbadd79c2015-06-19 07:41:03 +0200265 </dependency>
266 <dependency>
267 <groupId>org.projectlombok</groupId>
268 <artifactId>lombok</artifactId>
Michael Hanlf21773f2015-10-16 23:02:31 +0200269 <version>1.16.6</version>
Michael Hanlc8729b92015-09-02 12:37:36 +0200270 <scope>provided</scope>
Michael Hanlbadd79c2015-06-19 07:41:03 +0200271 </dependency>
272 <dependency>
273 <groupId>joda-time</groupId>
274 <artifactId>joda-time</artifactId>
275 <version>2.2</version>
Michael Hanlca740d72015-06-16 10:04:58 +0200276 </dependency>
277 <dependency>
Michael Hanlcafa03e2015-06-26 17:01:16 +0200278 <groupId>de.ids_mannheim.korap</groupId>
Michael Hanlca740d72015-06-16 10:04:58 +0200279 <artifactId>Koral</artifactId>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200280 <version>0.21</version>
Michael Hanlca740d72015-06-16 10:04:58 +0200281 <exclusions>
282 <exclusion>
283 <groupId>org.eclipse.jetty</groupId>
284 <artifactId>jetty-servlet</artifactId>
285 </exclusion>
286 </exclusions>
287 </dependency>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200288 <!--
289 <dependency>
290 <groupId>com.sun.jersey</groupId>
291 <artifactId>jersey-grizzly2</artifactId>
292 <version>1.8</version>
293 </dependency>
294 <dependency>
295 <groupId>com.sun.grizzly</groupId>
296 <artifactId>grizzly-servlet-webserver</artifactId>
297 <version>1.9.18-i</version>
298 </dependency>
299 -->
Michael Hanlc8729b92015-09-02 12:37:36 +0200300
Michael Hanlf21773f2015-10-16 23:02:31 +0200301 <dependency>
302 <groupId>org.xerial</groupId>
303 <artifactId>sqlite-jdbc</artifactId>
304 <version>3.8.10.1</version>
305 </dependency>
306
307 <dependency>
Michael Hanl19390652016-01-16 11:01:24 +0100308 <groupId>mysql</groupId>
309 <artifactId>mysql-connector-java</artifactId>
310 <version>5.1.6</version>
311 </dependency>
312
313 <dependency>
Michael Hanlf21773f2015-10-16 23:02:31 +0200314 <groupId>org.apache.commons</groupId>
315 <artifactId>commons-dbcp2</artifactId>
316 <version>2.1.1</version>
317 </dependency>
318
319 <dependency>
320 <groupId>org.owasp.esapi</groupId>
321 <artifactId>esapi</artifactId>
322 <version>2.1.0</version>
323 </dependency>
324
325 <dependency>
326 <groupId>org.mindrot</groupId>
327 <artifactId>jbcrypt</artifactId>
328 <version>0.3m</version>
329 </dependency>
330
Michael Hanlca740d72015-06-16 10:04:58 +0200331 <dependency>
332 <groupId>com.nimbusds</groupId>
333 <artifactId>nimbus-jose-jwt</artifactId>
334 <version>2.10.1</version>
335 </dependency>
336
337 <dependency>
338 <groupId>de.ids_mannheim.korap</groupId>
339 <artifactId>Krill</artifactId>
Michael Hanl19390652016-01-16 11:01:24 +0100340 <version>0.54</version>
Michael Hanlca740d72015-06-16 10:04:58 +0200341 <exclusions>
342 <exclusion>
343 <groupId>org.xerial</groupId>
344 <artifactId>sqlite-jdbc</artifactId>
345 </exclusion>
346 </exclusions>
347 </dependency>
348 <dependency>
349 <groupId>org.reflections</groupId>
350 <artifactId>reflections</artifactId>
351 <version>0.9.9-RC1</version>
352 </dependency>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200353 <!-- deprecated? -->
Michael Hanl2760cc42015-11-16 19:30:01 +0100354 <!--<dependency>-->
Michael Hanl19390652016-01-16 11:01:24 +0100355 <!--<groupId>com.restfuse</groupId>-->
356 <!--<artifactId>com.eclipsesource.restfuse</artifactId>-->
357 <!--<version>1.0.0</version>-->
358 <!--<scope>provided</scope>-->
Michael Hanl2760cc42015-11-16 19:30:01 +0100359 <!--</dependency>-->
Michael Hanl1e18cb42015-08-06 20:57:35 +0200360 <!-- deprecated -->
361 <!--<dependency>-->
362 <!--<groupId>com.jayway.restassured</groupId>-->
363 <!--<artifactId>rest-assured</artifactId>-->
364 <!--<version>2.4.0</version>-->
365 <!--<scope>provided</scope>-->
366 <!--</dependency>-->
Michael Hanl2760cc42015-11-16 19:30:01 +0100367 <!--<dependency>-->
Michael Hanl19390652016-01-16 11:01:24 +0100368 <!--<groupId>org.springframework</groupId>-->
369 <!--<artifactId>spring-core</artifactId>-->
370 <!--<version>4.0.5.RELEASE</version>-->
Michael Hanl2760cc42015-11-16 19:30:01 +0100371 <!--</dependency>-->
Michael Hanlbadd79c2015-06-19 07:41:03 +0200372 <dependency>
373 <groupId>org.springframework</groupId>
374 <artifactId>spring-context</artifactId>
375 <version>4.0.5.RELEASE</version>
376 </dependency>
377 <dependency>
378 <groupId>org.springframework</groupId>
379 <artifactId>spring-context-support</artifactId>
380 <version>4.0.5.RELEASE</version>
381 </dependency>
382
383 <!-- apparently this order prevents the spring schemas from being overriden in META-INF/spring.schemas, thus must stay like this
384 -->
385 <dependency>
386 <groupId>org.springframework</groupId>
387 <artifactId>spring-aop</artifactId>
388 <version>4.0.5.RELEASE</version>
389 </dependency>
390 <dependency>
391 <groupId>org.springframework</groupId>
392 <artifactId>spring-aspects</artifactId>
393 <version>4.0.5.RELEASE</version>
394 </dependency>
Michael Hanl9f8d90c2015-09-14 16:13:54 +0200395
396 <!-- copied from extension -->
397 <dependency>
398 <groupId>org.springframework</groupId>
399 <artifactId>spring-jdbc</artifactId>
400 <version>4.1.6.RELEASE</version>
401 </dependency>
402 <dependency>
403 <groupId>org.springframework</groupId>
404 <artifactId>spring-tx</artifactId>
405 <version>4.1.6.RELEASE</version>
406 </dependency>
407 <dependency>
408 <groupId>org.flywaydb</groupId>
409 <artifactId>flyway-core</artifactId>
410 <version>3.2.1</version>
411 </dependency>
412
413 <dependency>
414 <groupId>net.sf.ehcache</groupId>
415 <artifactId>ehcache-core</artifactId>
416 <version>2.6.5</version>
417 </dependency>
418
419 <dependency>
420 <groupId>org.apache.oltu.oauth2</groupId>
421 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
422 <version>1.0.0</version>
423 </dependency>
424
425 <!-- end copy -->
426
Michael Hanlbadd79c2015-06-19 07:41:03 +0200427 <dependency>
428 <groupId>commons-collections</groupId>
429 <artifactId>commons-collections</artifactId>
430 <version>3.2.1</version>
431 </dependency>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200432 <dependency>
433 <groupId>org.eclipse.jetty</groupId>
434 <artifactId>jetty-server</artifactId>
435 <version>8.1.8.v20121106</version>
436 </dependency>
437 <dependency>
438 <groupId>org.eclipse.jetty</groupId>
439 <artifactId>jetty-servlet</artifactId>
440 <version>8.1.8.v20121106</version>
441 </dependency>
Michael Hanl19390652016-01-16 11:01:24 +0100442 <dependency>
443 <groupId>asm</groupId>
444 <artifactId>asm</artifactId>
445 <version>3.3.1</version>
446 </dependency>
Michael Hanl9f8d90c2015-09-14 16:13:54 +0200447
Michael Hanlbadd79c2015-06-19 07:41:03 +0200448 <!--
449 not part of public release
450 <dependency>
451 <groupId>KorAP-graphDB</groupId>
452 <artifactId>KorAP-graphDB</artifactId>
453 <version>1.0-SNAPSHOT</version>
454 <exclusions>
455 <exclusion>
456 <groupId>org.antlr</groupId>
457 <artifactId>antlr4-runtime</artifactId>
458 </exclusion>
459 <exclusion>
460 <groupId>org.glassfish.jersey.core</groupId>
461 <artifactId>jersey-client</artifactId>
462 </exclusion>
463 <exclusion>
464 <groupId>org.glassfish.jersey.containers</groupId>
465 <artifactId>jersey-container-grizzly2-http</artifactId>
466 </exclusion>
467 <exclusion>
468 <groupId>org.glassfish.jersey.core</groupId>
469 <artifactId>jersey-common</artifactId>
470 </exclusion>
471 <exclusion>
472 <groupId>org.glassfish.jersey.core</groupId>
473 <artifactId>jersey-server</artifactId>
474 </exclusion>
475 </exclusions>
476 </dependency>
477 -->
Michael Hanlca740d72015-06-16 10:04:58 +0200478 </dependencies>
479
480</project>