blob: 131b78b42dee0fe2efc7d00bd13c5a9509141d1e [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 Hanlf21773f2015-10-16 23:02:31 +02008 <version>0.5</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>
90 </includes>
91 </resource>
92 </resources>
93 <testResources>
94 <testResource>
Michael Hanlf21773f2015-10-16 23:02:31 +020095 <directory>src/test/resources</directory>
Michael Hanl9f8d90c2015-09-14 16:13:54 +020096 <filtering>true</filtering>
97 <includes>
98 <include>**/*.prop</include>
99 <include>**/*.xml</include>
100 <include>**/*.conf</include>
101 <include>**/*.properties</include>
102 </includes>
103 </testResource>
Michael Hanlf21773f2015-10-16 23:02:31 +0200104 <testResource>
105 <directory>src/main/resources</directory>
106 <filtering>true</filtering>
107 <includes>
108 <include>**/*.prop</include>
109 <include>**/*.xml</include>
110 <include>**/*.conf</include>
111 <include>**/*.properties</include>
112 <include>**/*.sql</include>
113 </includes>
114 </testResource>
Michael Hanl9f8d90c2015-09-14 16:13:54 +0200115 </testResources>
Michael Hanlca740d72015-06-16 10:04:58 +0200116 <plugins>
Michael Hanlf21773f2015-10-16 23:02:31 +0200117 <!--<plugin>-->
118 <!--<groupId>org.apache.maven.plugins</groupId>-->
119 <!--<artifactId>maven-compiler-plugin</artifactId>-->
120 <!--<version>3.3</version>-->
121 <!--<configuration>-->
122 <!--<compilerVersion>1.7</compilerVersion>-->
123 <!--</configuration>-->
124 <!--</plugin>-->
125
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200126 <!-- build tests jar, so extensions can use fastjerseytest class to build rest tests -->
127 <plugin>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-jar-plugin</artifactId>
Michael Hanlf21773f2015-10-16 23:02:31 +0200130 <version>2.1</version>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200131 <executions>
132 <execution>
133 <phase>package</phase>
134 <goals>
135 <goal>test-jar</goal>
136 </goals>
137 </execution>
138 </executions>
139 </plugin>
Michael Hanlca740d72015-06-16 10:04:58 +0200140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-surefire-plugin</artifactId>
143 <version>2.9</version>
Michael Hanlca740d72015-06-16 10:04:58 +0200144 <configuration>
145 <excludes>
146 <exclude>**/*APITest.java</exclude>
147 </excludes>
148 <includes>
Michael Hanlf21773f2015-10-16 23:02:31 +0200149 <include>**/*.java</include>
Michael Hanlca740d72015-06-16 10:04:58 +0200150 </includes>
151 </configuration>
152 </plugin>
153 <plugin>
154 <artifactId>maven-shade-plugin</artifactId>
155 <version>2.1</version>
156 <executions>
157 <!-- option 1 -->
158 <execution>
Michael Hanl9f8d90c2015-09-14 16:13:54 +0200159 <id>full</id>
160 <phase>package</phase>
161 <goals>
162 <goal>shade</goal>
163 </goals>
164 <configuration>
Michael Hanlca740d72015-06-16 10:04:58 +0200165 <transformers>
166 <transformer
167 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
168 <mainClass>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200169 de.ids_mannheim.korap.web.KustvaktServer
Michael Hanlca740d72015-06-16 10:04:58 +0200170 </mainClass>
171 </transformer>
172 <transformer
173 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
174 <resource>META-INF/spring.handlers
175 </resource>
176 </transformer>
177 <transformer
178 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
179 <resource>META-INF/spring.schemas
180 </resource>
181 </transformer>
182 </transformers>
183 <!-- Additional configuration. -->
184 <!-- apparently there is a securityexception -->
185 <filters>
186 <filter>
187 <artifact>*:*</artifact>
188 <excludes>
189 <exclude>META-INF/*.SF</exclude>
190 <exclude>META-INF/*.DSA
191 </exclude>
192 <exclude>META-INF/*.RSA
193 </exclude>
194 </excludes>
195 </filter>
196 </filters>
197 </configuration>
198 </execution>
199 </executions>
200 </plugin>
201 </plugins>
202 </build>
203 <repositories>
204 <repository>
205 <id>codehaus-release-repo</id>
206 <name>Codehaus Release Repo</name>
207 <url>http://repository.codehaus.org</url>
208 </repository>
209 <repository>
210 <id>central</id>
211 <url>http://repo1.maven.org/maven2/</url>
212 </repository>
213 <repository>
214 <id>sonatype</id>
215 <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
216 <snapshots/>
217 </repository>
218 </repositories>
219 <dependencies>
220 <dependency>
221 <groupId>com.sun.jersey</groupId>
222 <artifactId>jersey-bundle</artifactId>
223 <version>1.8</version>
224 </dependency>
225 <dependency>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200226 <groupId>com.sun.jersey.jersey-test-framework</groupId>
227 <artifactId>jersey-test-framework-core</artifactId>
228 <version>1.19</version>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200229 <scope>test</scope>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200230 </dependency>
231 <dependency>
232 <groupId>com.sun.jersey.jersey-test-framework</groupId>
233 <artifactId>jersey-test-framework-grizzly</artifactId>
234 <version>1.19</version>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200235 <scope>test</scope>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200236 </dependency>
237 <dependency>
Michael Hanlbadd79c2015-06-19 07:41:03 +0200238 <groupId>org.slf4j</groupId>
239 <artifactId>slf4j-api</artifactId>
240 <version>1.7.5</version>
241 </dependency>
242 <dependency>
243 <groupId>org.slf4j</groupId>
244 <artifactId>slf4j-log4j12</artifactId>
245 <version>1.7.5</version>
246 </dependency>
247 <dependency>
248 <groupId>log4j</groupId>
249 <artifactId>log4j</artifactId>
250 <version>1.2.17</version>
251 </dependency>
252 <dependency>
253 <groupId>log4j</groupId>
254 <artifactId>apache-log4j-extras</artifactId>
255 <version>1.2.17</version>
256 </dependency>
257 <dependency>
258 <groupId>junit</groupId>
259 <artifactId>junit</artifactId>
260 <version>4.11</version>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200261 <scope>test</scope>
Michael Hanlbadd79c2015-06-19 07:41:03 +0200262 </dependency>
263 <dependency>
264 <groupId>org.projectlombok</groupId>
265 <artifactId>lombok</artifactId>
Michael Hanlf21773f2015-10-16 23:02:31 +0200266 <version>1.16.6</version>
Michael Hanlc8729b92015-09-02 12:37:36 +0200267 <scope>provided</scope>
Michael Hanlbadd79c2015-06-19 07:41:03 +0200268 </dependency>
269 <dependency>
270 <groupId>joda-time</groupId>
271 <artifactId>joda-time</artifactId>
272 <version>2.2</version>
Michael Hanlca740d72015-06-16 10:04:58 +0200273 </dependency>
274 <dependency>
Michael Hanlcafa03e2015-06-26 17:01:16 +0200275 <groupId>de.ids_mannheim.korap</groupId>
Michael Hanlca740d72015-06-16 10:04:58 +0200276 <artifactId>Koral</artifactId>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200277 <version>0.21</version>
Michael Hanlca740d72015-06-16 10:04:58 +0200278 <exclusions>
279 <exclusion>
280 <groupId>org.eclipse.jetty</groupId>
281 <artifactId>jetty-servlet</artifactId>
282 </exclusion>
283 </exclusions>
284 </dependency>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200285 <!--
286 <dependency>
287 <groupId>com.sun.jersey</groupId>
288 <artifactId>jersey-grizzly2</artifactId>
289 <version>1.8</version>
290 </dependency>
291 <dependency>
292 <groupId>com.sun.grizzly</groupId>
293 <artifactId>grizzly-servlet-webserver</artifactId>
294 <version>1.9.18-i</version>
295 </dependency>
296 -->
Michael Hanlc8729b92015-09-02 12:37:36 +0200297
Michael Hanlf21773f2015-10-16 23:02:31 +0200298 <dependency>
299 <groupId>org.xerial</groupId>
300 <artifactId>sqlite-jdbc</artifactId>
301 <version>3.8.10.1</version>
302 </dependency>
303
304 <dependency>
305 <groupId>org.apache.commons</groupId>
306 <artifactId>commons-dbcp2</artifactId>
307 <version>2.1.1</version>
308 </dependency>
309
310 <dependency>
311 <groupId>org.owasp.esapi</groupId>
312 <artifactId>esapi</artifactId>
313 <version>2.1.0</version>
314 </dependency>
315
316 <dependency>
317 <groupId>org.mindrot</groupId>
318 <artifactId>jbcrypt</artifactId>
319 <version>0.3m</version>
320 </dependency>
321
Michael Hanlca740d72015-06-16 10:04:58 +0200322 <dependency>
323 <groupId>com.nimbusds</groupId>
324 <artifactId>nimbus-jose-jwt</artifactId>
325 <version>2.10.1</version>
326 </dependency>
327
328 <dependency>
329 <groupId>de.ids_mannheim.korap</groupId>
330 <artifactId>Krill</artifactId>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200331 <version>0.53</version>
Michael Hanlca740d72015-06-16 10:04:58 +0200332 <exclusions>
333 <exclusion>
334 <groupId>org.xerial</groupId>
335 <artifactId>sqlite-jdbc</artifactId>
336 </exclusion>
337 </exclusions>
338 </dependency>
339 <dependency>
340 <groupId>org.reflections</groupId>
341 <artifactId>reflections</artifactId>
342 <version>0.9.9-RC1</version>
343 </dependency>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200344 <!-- deprecated? -->
Michael Hanlca740d72015-06-16 10:04:58 +0200345 <dependency>
346 <groupId>com.restfuse</groupId>
347 <artifactId>com.eclipsesource.restfuse</artifactId>
348 <version>1.0.0</version>
349 <scope>provided</scope>
350 </dependency>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200351 <!-- deprecated -->
352 <!--<dependency>-->
353 <!--<groupId>com.jayway.restassured</groupId>-->
354 <!--<artifactId>rest-assured</artifactId>-->
355 <!--<version>2.4.0</version>-->
356 <!--<scope>provided</scope>-->
357 <!--</dependency>-->
Michael Hanlbadd79c2015-06-19 07:41:03 +0200358 <dependency>
359 <groupId>org.springframework</groupId>
360 <artifactId>spring-core</artifactId>
361 <version>4.0.5.RELEASE</version>
362 </dependency>
363 <dependency>
364 <groupId>org.springframework</groupId>
365 <artifactId>spring-context</artifactId>
366 <version>4.0.5.RELEASE</version>
367 </dependency>
368 <dependency>
369 <groupId>org.springframework</groupId>
370 <artifactId>spring-context-support</artifactId>
371 <version>4.0.5.RELEASE</version>
372 </dependency>
373
374 <!-- apparently this order prevents the spring schemas from being overriden in META-INF/spring.schemas, thus must stay like this
375 -->
376 <dependency>
377 <groupId>org.springframework</groupId>
378 <artifactId>spring-aop</artifactId>
379 <version>4.0.5.RELEASE</version>
380 </dependency>
381 <dependency>
382 <groupId>org.springframework</groupId>
383 <artifactId>spring-aspects</artifactId>
384 <version>4.0.5.RELEASE</version>
385 </dependency>
Michael Hanl9f8d90c2015-09-14 16:13:54 +0200386
387 <!-- copied from extension -->
388 <dependency>
389 <groupId>org.springframework</groupId>
390 <artifactId>spring-jdbc</artifactId>
391 <version>4.1.6.RELEASE</version>
392 </dependency>
393 <dependency>
394 <groupId>org.springframework</groupId>
395 <artifactId>spring-tx</artifactId>
396 <version>4.1.6.RELEASE</version>
397 </dependency>
398 <dependency>
399 <groupId>org.flywaydb</groupId>
400 <artifactId>flyway-core</artifactId>
401 <version>3.2.1</version>
402 </dependency>
403
404 <dependency>
405 <groupId>net.sf.ehcache</groupId>
406 <artifactId>ehcache-core</artifactId>
407 <version>2.6.5</version>
408 </dependency>
409
410 <dependency>
411 <groupId>org.apache.oltu.oauth2</groupId>
412 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
413 <version>1.0.0</version>
414 </dependency>
415
416 <!-- end copy -->
417
Michael Hanlbadd79c2015-06-19 07:41:03 +0200418 <dependency>
419 <groupId>commons-collections</groupId>
420 <artifactId>commons-collections</artifactId>
421 <version>3.2.1</version>
422 </dependency>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200423 <dependency>
424 <groupId>org.eclipse.jetty</groupId>
425 <artifactId>jetty-server</artifactId>
426 <version>8.1.8.v20121106</version>
427 </dependency>
428 <dependency>
429 <groupId>org.eclipse.jetty</groupId>
430 <artifactId>jetty-servlet</artifactId>
431 <version>8.1.8.v20121106</version>
432 </dependency>
Michael Hanl9f8d90c2015-09-14 16:13:54 +0200433
Michael Hanlbadd79c2015-06-19 07:41:03 +0200434 <!--
435 not part of public release
436 <dependency>
437 <groupId>KorAP-graphDB</groupId>
438 <artifactId>KorAP-graphDB</artifactId>
439 <version>1.0-SNAPSHOT</version>
440 <exclusions>
441 <exclusion>
442 <groupId>org.antlr</groupId>
443 <artifactId>antlr4-runtime</artifactId>
444 </exclusion>
445 <exclusion>
446 <groupId>org.glassfish.jersey.core</groupId>
447 <artifactId>jersey-client</artifactId>
448 </exclusion>
449 <exclusion>
450 <groupId>org.glassfish.jersey.containers</groupId>
451 <artifactId>jersey-container-grizzly2-http</artifactId>
452 </exclusion>
453 <exclusion>
454 <groupId>org.glassfish.jersey.core</groupId>
455 <artifactId>jersey-common</artifactId>
456 </exclusion>
457 <exclusion>
458 <groupId>org.glassfish.jersey.core</groupId>
459 <artifactId>jersey-server</artifactId>
460 </exclusion>
461 </exclusions>
462 </dependency>
463 -->
Michael Hanlca740d72015-06-16 10:04:58 +0200464 </dependencies>
465
466</project>