blob: 01dbacdea9a9cc7bba4e91dc4b9d7aa1c79f40de [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>
margaretha1b320452018-08-02 16:56:25 +02006 <version>0.61.0</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>
margaretha49cb6882018-07-04 04:19:54 +020083 <artifactId>maven-source-plugin</artifactId>
84 <version>3.0.1</version>
margarethaf68daa62017-09-21 02:11:24 +020085 <executions>
86 <execution>
margaretha49cb6882018-07-04 04:19:54 +020087 <id>attach-sources</id>
margarethaf68daa62017-09-21 02:11:24 +020088 <goals>
margaretha49cb6882018-07-04 04:19:54 +020089 <goal>jar</goal>
margarethaf68daa62017-09-21 02:11:24 +020090 </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>
margaretha49cb6882018-07-04 04:19:54 +0200186 <!-- EM: Logging -->
margarethaf68daa62017-09-21 02:11:24 +0200187 <dependency>
margaretha49cb6882018-07-04 04:19:54 +0200188 <groupId>org.apache.logging.log4j</groupId>
189 <artifactId>log4j-api</artifactId>
190 <version>2.11.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200191 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200192 <dependency>
margaretha49cb6882018-07-04 04:19:54 +0200193 <groupId>org.apache.logging.log4j</groupId>
194 <artifactId>log4j-core</artifactId>
195 <version>2.11.0</version>
196 </dependency>
197 <dependency>
198 <groupId>org.apache.logging.log4j</groupId>
199 <artifactId>log4j-slf4j-impl</artifactId>
200 <version>2.11.0</version>
201 </dependency>
202 <dependency>
203 <groupId>org.apache.logging.log4j</groupId>
204 <artifactId>log4j-jul</artifactId>
205 <version>2.11.0</version>
206 </dependency>
207
208 <dependency>
margarethaf68daa62017-09-21 02:11:24 +0200209 <groupId>junit</groupId>
210 <artifactId>junit</artifactId>
211 <version>4.12</version>
212 </dependency>
213 <dependency>
214 <groupId>org.projectlombok</groupId>
215 <artifactId>lombok</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100216 <version>1.16.20</version>
margarethaf68daa62017-09-21 02:11:24 +0200217 </dependency>
218 <dependency>
219 <groupId>joda-time</groupId>
220 <artifactId>joda-time</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100221 <version>2.9.9</version>
margarethaf68daa62017-09-21 02:11:24 +0200222 </dependency>
223 <dependency>
224 <groupId>de.ids_mannheim.korap</groupId>
225 <artifactId>Koral</artifactId>
margaretha1b320452018-08-02 16:56:25 +0200226 <version>0.30</version>
margarethaf68daa62017-09-21 02:11:24 +0200227 <exclusions>
228 <exclusion>
229 <groupId>org.eclipse.jetty</groupId>
230 <artifactId>jetty-servlet</artifactId>
231 </exclusion>
margaretha49cb6882018-07-04 04:19:54 +0200232 <exclusion>
233 <groupId>org.slf4j</groupId>
234 <artifactId>slf4j-api</artifactId>
235 </exclusion>
236 <exclusion>
237 <groupId>org.slf4j</groupId>
238 <artifactId>slf4j-log4j12</artifactId>
239 </exclusion>
240 <exclusion>
241 <groupId>log4j</groupId>
242 <artifactId>log4j</artifactId>
243 </exclusion>
244 <exclusion>
245 <groupId>log4j</groupId>
246 <artifactId>apache-log4j-extras</artifactId>
247 </exclusion>
margarethaf68daa62017-09-21 02:11:24 +0200248 </exclusions>
249 </dependency>
250
251 <dependency>
252 <groupId>org.xerial</groupId>
253 <artifactId>sqlite-jdbc</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100254 <version>3.21.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200255 </dependency>
256
margarethaf68daa62017-09-21 02:11:24 +0200257 <dependency>
258 <groupId>org.apache.commons</groupId>
259 <artifactId>commons-dbcp2</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100260 <version>2.2.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200261 </dependency>
262
263 <dependency>
264 <groupId>commons-validator</groupId>
265 <artifactId>commons-validator</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100266 <version>1.6</version>
margarethaf68daa62017-09-21 02:11:24 +0200267 </dependency>
268
269 <dependency>
270 <groupId>org.mindrot</groupId>
271 <artifactId>jbcrypt</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100272 <version>0.4</version>
margarethaf68daa62017-09-21 02:11:24 +0200273 </dependency>
margaretha49cb6882018-07-04 04:19:54 +0200274
margarethaf68daa62017-09-21 02:11:24 +0200275 <dependency>
276 <groupId>de.ids_mannheim.korap</groupId>
277 <artifactId>Krill</artifactId>
margaretha1b320452018-08-02 16:56:25 +0200278 <version>0.58.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200279 <exclusions>
280 <exclusion>
281 <groupId>org.xerial</groupId>
282 <artifactId>sqlite-jdbc</artifactId>
283 </exclusion>
margaretha49cb6882018-07-04 04:19:54 +0200284 <exclusion>
285 <groupId>org.slf4j</groupId>
286 <artifactId>slf4j-log4j12</artifactId>
287 </exclusion>
288 <exclusion>
289 <groupId>org.apache.logging.log4j</groupId>
290 <artifactId>log4j-slf4j-impl</artifactId>
291 </exclusion>
292 <exclusion>
293 <groupId>org.slf4j</groupId>
294 <artifactId>jul-to-slf4j</artifactId>
295 </exclusion>
margarethaf68daa62017-09-21 02:11:24 +0200296 </exclusions>
297 </dependency>
298 <dependency>
299 <groupId>org.reflections</groupId>
300 <artifactId>reflections</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100301 <version>0.9.10</version>
margarethaf68daa62017-09-21 02:11:24 +0200302 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200303 <dependency>
304 <groupId>org.springframework</groupId>
305 <artifactId>spring-core</artifactId>
306 <version>${spring-framework.version}</version>
307 </dependency>
308 <dependency>
309 <groupId>org.springframework</groupId>
310 <artifactId>spring-web</artifactId>
311 <version>${spring-framework.version}</version>
312 </dependency>
313 <dependency>
314 <groupId>org.springframework</groupId>
315 <artifactId>spring-asm</artifactId>
316 <version>3.1.4.RELEASE</version>
317 </dependency>
318 <dependency>
319 <groupId>org.springframework</groupId>
320 <artifactId>spring-orm</artifactId>
321 <version>${spring-framework.version}</version>
322 </dependency>
323 <!-- EM: done -->
324 <dependency>
325 <groupId>org.springframework</groupId>
326 <artifactId>spring-context</artifactId>
327 <version>${spring-framework.version}</version>
328 </dependency>
329 <dependency>
330 <groupId>org.springframework</groupId>
331 <artifactId>spring-context-support</artifactId>
332 <version>${spring-framework.version}</version>
333 </dependency>
334 <dependency>
335 <groupId>org.springframework</groupId>
336 <artifactId>spring-test</artifactId>
337 <version>${spring-framework.version}</version>
338 <scope>compile</scope>
339 </dependency>
340
341 <!-- apparently this order prevents the spring schemas from being overriden
342 in META-INF/spring.schemas, thus must stay like this -->
343 <dependency>
344 <groupId>org.springframework</groupId>
345 <artifactId>spring-aop</artifactId>
346 <version>${spring-framework.version}</version>
347 </dependency>
348 <dependency>
349 <groupId>org.springframework</groupId>
350 <artifactId>spring-aspects</artifactId>
351 <version>${spring-framework.version}</version>
352 </dependency>
353
margarethaf68daa62017-09-21 02:11:24 +0200354 <!-- <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache-core</artifactId>
355 <version>2.6.5</version> </dependency> -->
356
margarethaf68daa62017-09-21 02:11:24 +0200357 <!-- end copy -->
358
359 <dependency>
360 <groupId>commons-collections</groupId>
361 <artifactId>commons-collections</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100362 <version>3.2.2</version>
margarethaf68daa62017-09-21 02:11:24 +0200363 </dependency>
margaretha49cb6882018-07-04 04:19:54 +0200364
margaretha58e18632018-02-15 13:04:42 +0100365 <!-- jetty -->
margarethaf68daa62017-09-21 02:11:24 +0200366 <dependency>
367 <groupId>org.eclipse.jetty</groupId>
368 <artifactId>jetty-server</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100369 <version>${jetty.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200370 </dependency>
371 <dependency>
372 <groupId>org.eclipse.jetty</groupId>
373 <artifactId>jetty-servlet</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100374 <version>${jetty.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200375 </dependency>
376 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100377 <groupId>org.eclipse.jetty</groupId>
378 <artifactId>jetty-webapp</artifactId>
379 <version>${jetty.version}</version>
380 </dependency>
margaretha49cb6882018-07-04 04:19:54 +0200381
margaretha58e18632018-02-15 13:04:42 +0100382 <dependency>
margarethaf68daa62017-09-21 02:11:24 +0200383 <groupId>asm</groupId>
384 <artifactId>asm</artifactId>
385 <version>3.3.1</version>
386 </dependency>
387 <dependency>
388 <groupId>com.novell.ldap</groupId>
389 <artifactId>jldap</artifactId>
390 <version>4.3</version>
391 </dependency>
392 <!-- https://mvnrepository.com/artifact/com.unboundid/unboundid-ldapsdk -->
393 <dependency>
394 <groupId>com.unboundid</groupId>
395 <artifactId>unboundid-ldapsdk</artifactId>
396 <version>3.2.1</version>
397 </dependency>
398
margaretha54134902017-09-27 18:43:11 +0200399 <!-- not part of public release
400 <dependency>
401 <groupId>KorAP-graphDB</groupId>
402 <artifactId>KorAP-graphDB</artifactId>
403 <version>1.0-SNAPSHOT</version>
404 <exclusions>
405 <exclusion>
406 <groupId>org.antlr</groupId>
407 <artifactId>antlr4-runtime</artifactId>
408 </exclusion>
409 <exclusion>
410 <groupId>org.glassfish.jersey.core</groupId>
411 <artifactId>jersey-client</artifactId>
412 </exclusion>
413 <exclusion>
414 <groupId>org.glassfish.jersey.containers</groupId>
415 <artifactId>jersey-container-grizzly2-http</artifactId>
416 </exclusion>
417 <exclusion>
418 <groupId>org.glassfish.jersey.core</groupId>
419 <artifactId>jersey-common</artifactId>
420 </exclusion>
421 <exclusion>
422 <groupId>org.glassfish.jersey.core</groupId>
423 <artifactId>jersey-server</artifactId>
424 </exclusion>
425 </exclusions>
426 </dependency> -->
margarethaf68daa62017-09-21 02:11:24 +0200427 <dependency>
428 <groupId>org.apache.httpcomponents</groupId>
429 <artifactId>httpclient</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100430 <version>4.5.4</version>
margarethaf68daa62017-09-21 02:11:24 +0200431 </dependency>
432 <dependency>
433 <groupId>commons-io</groupId>
434 <artifactId>commons-io</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100435 <version>2.6</version>
margarethaf68daa62017-09-21 02:11:24 +0200436 </dependency>
margaretha54134902017-09-27 18:43:11 +0200437
margarethaf68daa62017-09-21 02:11:24 +0200438 <dependency>
439 <groupId>org.hibernate</groupId>
440 <artifactId>hibernate-ehcache</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100441 <version>${hibernate.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200442 </dependency>
443 </dependencies>
444
445
Akron730ed082018-01-31 17:10:13 +0100446</project>