blob: 36591027ac3d503f992a95acfa8466de41d721dd [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>
margaretha417571c2018-05-09 22:55:06 +02006 <version>0.60.3</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>
margaretha2c019fa2018-02-01 19:50:51 +010011 <spring-framework.version>5.0.3.RELEASE</spring-framework.version>
margarethaf68daa62017-09-21 02:11:24 +020012 <jersey.version>1.19.4</jersey.version>
margaretha58e18632018-02-15 13:04:42 +010013 <jetty.version>9.4.8.v20171121</jetty.version>
margaretha9025d642018-01-19 17:35:22 +010014 <hibernate.version>5.1.11.Final</hibernate.version>
margarethaf68daa62017-09-21 02:11:24 +020015 </properties>
16 <build>
17 <resources>
18 <resource>
19 <directory>src/main/resources</directory>
20 <filtering>true</filtering>
21 <includes>
22 <include>**/*.info</include>
23 <include>**/*.xml</include>
24 <include>**/*.conf</include>
25 <include>**/*.kustvakt</include>
26 <include>**/*.properties</include>
27 <include>**/*.sql</include>
28 </includes>
29 </resource>
30 </resources>
31 <testResources>
32 <testResource>
33 <directory>src/test/resources</directory>
34 <filtering>true</filtering>
35 <includes>
36 <include>**/*.prop</include>
37 <include>**/*.xml</include>
38 <include>**/*.conf</include>
39 <include>**/*.info</include>
40 <include>**/*.properties</include>
41 </includes>
42 </testResource>
43 <testResource>
44 <directory>src/main/resources</directory>
45 <filtering>true</filtering>
46 <includes>
47 <include>**/*.info</include>
48 <include>**/*.properties</include>
49 </includes>
50 </testResource>
51 </testResources>
52 <plugins>
53 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
54 <plugin>
55 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
56 <artifactId>maven-java-formatter-plugin</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +010057 <version>${project.version}</version>
margarethaf68daa62017-09-21 02:11:24 +020058 <configuration>
59 <configFile>${project.basedir}/Format.xml</configFile>
60 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
margaretha2c019fa2018-02-01 19:50:51 +010061 <compilerSource>${java.version}</compilerSource>
62 <compilerCompliance>${java.version}</compilerCompliance>
63 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
margarethaf68daa62017-09-21 02:11:24 +020064 </configuration>
65 <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution>
66 </executions> -->
67 </plugin>
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-compiler-plugin</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +010071 <version>3.7.0</version>
margarethaf68daa62017-09-21 02:11:24 +020072 <configuration>
73 <compilerVersion>${java.version}</compilerVersion>
74 <source>${java.version}</source>
75 <target>${java.version}</target>
76 </configuration>
77 </plugin>
78
79 <!-- build tests jar, so extensions can use fastjerseytest class to build
80 rest tests -->
margaretha2c019fa2018-02-01 19:50:51 +010081 <!-- <plugin>
margarethaf68daa62017-09-21 02:11:24 +020082 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-jar-plugin</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +010084 <version>3.0.2</version>
margarethaf68daa62017-09-21 02:11:24 +020085 <executions>
86 <execution>
87 <phase>package</phase>
88 <goals>
89 <goal>test-jar</goal>
90 </goals>
91 </execution>
92 </executions>
margaretha2c019fa2018-02-01 19:50:51 +010093 </plugin> -->
margaretha54134902017-09-27 18:43:11 +020094 <!-- Generate source jar -->
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-source-plugin</artifactId>
margarethafc7d7772018-01-16 17:48:17 +010098 <version>3.0.1</version>
margaretha54134902017-09-27 18:43:11 +020099 <executions>
100 <execution>
101 <id>attach-sources</id>
102 <goals>
103 <goal>jar</goal>
104 </goals>
105 </execution>
106 </executions>
107 </plugin>
margarethaefc18a42018-03-01 16:01:42 +0100108 <!-- <plugin>
margarethaf68daa62017-09-21 02:11:24 +0200109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-surefire-plugin</artifactId>
margarethaa86b1412018-02-21 20:40:35 +0100111 <version>2.20.1</version>
margaretha54134902017-09-27 18:43:11 +0200112
margarethaf68daa62017-09-21 02:11:24 +0200113 <configuration>
114 <reuseForks>false</reuseForks>
115 <forkCount>2</forkCount>
116 <threadCount>10</threadCount>
117 <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
118
119 <excludes>
120 <exclude>**/*APITest.java</exclude>
margarethaf68daa62017-09-21 02:11:24 +0200121 </excludes>
122 <includes>
123 <include>de/ids_mannheim/korap/**/*.java</include>
124 </includes>
125 </configuration>
margarethaefc18a42018-03-01 16:01:42 +0100126 </plugin> -->
margarethaf68daa62017-09-21 02:11:24 +0200127 </plugins>
128 </build>
129 <dependencies>
130 <dependency>
131 <groupId>com.sun.jersey</groupId>
132 <artifactId>jersey-bundle</artifactId>
133 <version>${jersey.version}</version>
134 </dependency>
135 <!--EM: added -->
136 <dependency>
137 <groupId>com.sun.jersey</groupId>
138 <artifactId>jersey-server</artifactId>
139 <version>${jersey.version}</version>
140 </dependency>
141
142 <dependency>
143 <groupId>com.sun.jersey.contribs</groupId>
144 <artifactId>jersey-spring</artifactId>
145 <version>${jersey.version}</version>
146 <exclusions>
147 <exclusion>
148 <groupId>org.springframework</groupId>
149 <artifactId>spring</artifactId>
150 </exclusion>
151 <exclusion>
152 <groupId>org.springframework</groupId>
153 <artifactId>spring-core</artifactId>
154 </exclusion>
155 <exclusion>
156 <groupId>org.springframework</groupId>
157 <artifactId>spring-web</artifactId>
158 </exclusion>
159 <exclusion>
160 <groupId>org.springframework</groupId>
161 <artifactId>spring-beans</artifactId>
162 </exclusion>
163 <exclusion>
164 <groupId>org.springframework</groupId>
165 <artifactId>spring-context</artifactId>
166 </exclusion>
167 <exclusion>
168 <groupId>org.springframework</groupId>
169 <artifactId>spring-aop</artifactId>
170 </exclusion>
171 </exclusions>
172 </dependency>
173 <!-- EM:done -->
174 <dependency>
175 <groupId>com.sun.jersey.jersey-test-framework</groupId>
176 <artifactId>jersey-test-framework-core</artifactId>
177 <version>${jersey.version}</version>
178 <scope>test</scope>
179 </dependency>
180 <dependency>
181 <groupId>com.sun.jersey.jersey-test-framework</groupId>
182 <artifactId>jersey-test-framework-grizzly</artifactId>
183 <version>${jersey.version}</version>
184 <scope>test</scope>
185 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200186 <dependency>
187 <groupId>org.slf4j</groupId>
188 <artifactId>slf4j-log4j12</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100189 <version>1.7.25</version>
margarethaf68daa62017-09-21 02:11:24 +0200190 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200191 <dependency>
192 <groupId>junit</groupId>
193 <artifactId>junit</artifactId>
194 <version>4.12</version>
195 </dependency>
196 <dependency>
197 <groupId>org.projectlombok</groupId>
198 <artifactId>lombok</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100199 <version>1.16.20</version>
margarethaf68daa62017-09-21 02:11:24 +0200200 </dependency>
201 <dependency>
202 <groupId>joda-time</groupId>
203 <artifactId>joda-time</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100204 <version>2.9.9</version>
margarethaf68daa62017-09-21 02:11:24 +0200205 </dependency>
206 <dependency>
207 <groupId>de.ids_mannheim.korap</groupId>
208 <artifactId>Koral</artifactId>
margarethac6eafad2017-11-17 14:49:50 +0100209 <version>0.28</version>
margarethaf68daa62017-09-21 02:11:24 +0200210 <exclusions>
211 <exclusion>
212 <groupId>org.eclipse.jetty</groupId>
213 <artifactId>jetty-servlet</artifactId>
214 </exclusion>
215 </exclusions>
216 </dependency>
217
218 <dependency>
219 <groupId>org.xerial</groupId>
220 <artifactId>sqlite-jdbc</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100221 <version>3.21.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200222 </dependency>
223
margaretha318fec32017-10-24 12:11:58 +0200224
margarethaf68daa62017-09-21 02:11:24 +0200225
226 <dependency>
227 <groupId>org.apache.commons</groupId>
228 <artifactId>commons-dbcp2</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100229 <version>2.2.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200230 </dependency>
231
232 <dependency>
233 <groupId>commons-validator</groupId>
234 <artifactId>commons-validator</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100235 <version>1.6</version>
margarethaf68daa62017-09-21 02:11:24 +0200236 </dependency>
237
238 <dependency>
239 <groupId>org.mindrot</groupId>
240 <artifactId>jbcrypt</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100241 <version>0.4</version>
margarethaf68daa62017-09-21 02:11:24 +0200242 </dependency>
margaretha2c019fa2018-02-01 19:50:51 +0100243
244 <!-- EM: nimbus version is very old -->
margarethaf68daa62017-09-21 02:11:24 +0200245 <dependency>
246 <groupId>com.nimbusds</groupId>
247 <artifactId>nimbus-jose-jwt</artifactId>
248 <version>2.10.1</version>
249 </dependency>
250
251 <dependency>
252 <groupId>de.ids_mannheim.korap</groupId>
253 <artifactId>Krill</artifactId>
margaretha7f0a4d42018-02-20 19:16:44 +0100254 <version>0.56.2</version>
margarethaf68daa62017-09-21 02:11:24 +0200255 <exclusions>
256 <exclusion>
257 <groupId>org.xerial</groupId>
258 <artifactId>sqlite-jdbc</artifactId>
259 </exclusion>
260 </exclusions>
261 </dependency>
262 <dependency>
263 <groupId>org.reflections</groupId>
264 <artifactId>reflections</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100265 <version>0.9.10</version>
margarethaf68daa62017-09-21 02:11:24 +0200266 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200267 <dependency>
268 <groupId>org.springframework</groupId>
269 <artifactId>spring-core</artifactId>
270 <version>${spring-framework.version}</version>
271 </dependency>
272 <dependency>
273 <groupId>org.springframework</groupId>
274 <artifactId>spring-web</artifactId>
275 <version>${spring-framework.version}</version>
276 </dependency>
277 <dependency>
278 <groupId>org.springframework</groupId>
279 <artifactId>spring-asm</artifactId>
280 <version>3.1.4.RELEASE</version>
281 </dependency>
282 <dependency>
283 <groupId>org.springframework</groupId>
284 <artifactId>spring-orm</artifactId>
285 <version>${spring-framework.version}</version>
286 </dependency>
287 <!-- EM: done -->
288 <dependency>
289 <groupId>org.springframework</groupId>
290 <artifactId>spring-context</artifactId>
291 <version>${spring-framework.version}</version>
292 </dependency>
293 <dependency>
294 <groupId>org.springframework</groupId>
295 <artifactId>spring-context-support</artifactId>
296 <version>${spring-framework.version}</version>
297 </dependency>
298 <dependency>
299 <groupId>org.springframework</groupId>
300 <artifactId>spring-test</artifactId>
301 <version>${spring-framework.version}</version>
302 <scope>compile</scope>
303 </dependency>
304
305 <!-- apparently this order prevents the spring schemas from being overriden
306 in META-INF/spring.schemas, thus must stay like this -->
307 <dependency>
308 <groupId>org.springframework</groupId>
309 <artifactId>spring-aop</artifactId>
310 <version>${spring-framework.version}</version>
311 </dependency>
312 <dependency>
313 <groupId>org.springframework</groupId>
314 <artifactId>spring-aspects</artifactId>
315 <version>${spring-framework.version}</version>
316 </dependency>
317
margarethaf68daa62017-09-21 02:11:24 +0200318 <!-- <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache-core</artifactId>
319 <version>2.6.5</version> </dependency> -->
320
margarethaf68daa62017-09-21 02:11:24 +0200321 <!-- end copy -->
322
323 <dependency>
324 <groupId>commons-collections</groupId>
325 <artifactId>commons-collections</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100326 <version>3.2.2</version>
margarethaf68daa62017-09-21 02:11:24 +0200327 </dependency>
margaretha58e18632018-02-15 13:04:42 +0100328
329 <!-- jetty -->
margarethaf68daa62017-09-21 02:11:24 +0200330 <dependency>
331 <groupId>org.eclipse.jetty</groupId>
332 <artifactId>jetty-server</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100333 <version>${jetty.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200334 </dependency>
335 <dependency>
336 <groupId>org.eclipse.jetty</groupId>
337 <artifactId>jetty-servlet</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100338 <version>${jetty.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200339 </dependency>
340 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100341 <groupId>org.eclipse.jetty</groupId>
342 <artifactId>jetty-webapp</artifactId>
343 <version>${jetty.version}</version>
344 </dependency>
345
346 <dependency>
margarethaf68daa62017-09-21 02:11:24 +0200347 <groupId>asm</groupId>
348 <artifactId>asm</artifactId>
349 <version>3.3.1</version>
350 </dependency>
351 <dependency>
352 <groupId>com.novell.ldap</groupId>
353 <artifactId>jldap</artifactId>
354 <version>4.3</version>
355 </dependency>
356 <!-- https://mvnrepository.com/artifact/com.unboundid/unboundid-ldapsdk -->
357 <dependency>
358 <groupId>com.unboundid</groupId>
359 <artifactId>unboundid-ldapsdk</artifactId>
360 <version>3.2.1</version>
361 </dependency>
362
margaretha54134902017-09-27 18:43:11 +0200363 <!-- not part of public release
364 <dependency>
365 <groupId>KorAP-graphDB</groupId>
366 <artifactId>KorAP-graphDB</artifactId>
367 <version>1.0-SNAPSHOT</version>
368 <exclusions>
369 <exclusion>
370 <groupId>org.antlr</groupId>
371 <artifactId>antlr4-runtime</artifactId>
372 </exclusion>
373 <exclusion>
374 <groupId>org.glassfish.jersey.core</groupId>
375 <artifactId>jersey-client</artifactId>
376 </exclusion>
377 <exclusion>
378 <groupId>org.glassfish.jersey.containers</groupId>
379 <artifactId>jersey-container-grizzly2-http</artifactId>
380 </exclusion>
381 <exclusion>
382 <groupId>org.glassfish.jersey.core</groupId>
383 <artifactId>jersey-common</artifactId>
384 </exclusion>
385 <exclusion>
386 <groupId>org.glassfish.jersey.core</groupId>
387 <artifactId>jersey-server</artifactId>
388 </exclusion>
389 </exclusions>
390 </dependency> -->
margarethaf68daa62017-09-21 02:11:24 +0200391 <dependency>
392 <groupId>org.apache.httpcomponents</groupId>
393 <artifactId>httpclient</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100394 <version>4.5.4</version>
margarethaf68daa62017-09-21 02:11:24 +0200395 </dependency>
396 <dependency>
397 <groupId>commons-io</groupId>
398 <artifactId>commons-io</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100399 <version>2.6</version>
margarethaf68daa62017-09-21 02:11:24 +0200400 </dependency>
margaretha54134902017-09-27 18:43:11 +0200401
margarethaf68daa62017-09-21 02:11:24 +0200402 <dependency>
403 <groupId>org.hibernate</groupId>
404 <artifactId>hibernate-ehcache</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100405 <version>${hibernate.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200406 </dependency>
407 </dependencies>
408
409
Akron730ed082018-01-31 17:10:13 +0100410</project>