blob: 4c5d03c57487203d824789b46c906ead6617c188 [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>
margaretha894a7d72017-11-08 19:24:20 +01006 <version>0.59.9</version>
margarethaf68daa62017-09-21 02:11:24 +02007
8 <properties>
9 <java.version>1.7</java.version>
10 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
margaretha514e1412017-10-10 15:54:20 +020011 <spring-framework.version>4.3.11.RELEASE</spring-framework.version>
margarethaf68daa62017-09-21 02:11:24 +020012 <jersey.version>1.19.4</jersey.version>
13 </properties>
14 <build>
15 <resources>
16 <resource>
17 <directory>src/main/resources</directory>
18 <filtering>true</filtering>
19 <includes>
20 <include>**/*.info</include>
21 <include>**/*.xml</include>
22 <include>**/*.conf</include>
23 <include>**/*.kustvakt</include>
24 <include>**/*.properties</include>
25 <include>**/*.sql</include>
26 </includes>
27 </resource>
28 </resources>
29 <testResources>
30 <testResource>
31 <directory>src/test/resources</directory>
32 <filtering>true</filtering>
33 <includes>
34 <include>**/*.prop</include>
35 <include>**/*.xml</include>
36 <include>**/*.conf</include>
37 <include>**/*.info</include>
38 <include>**/*.properties</include>
39 </includes>
40 </testResource>
41 <testResource>
42 <directory>src/main/resources</directory>
43 <filtering>true</filtering>
44 <includes>
45 <include>**/*.info</include>
46 <include>**/*.properties</include>
47 </includes>
48 </testResource>
49 </testResources>
50 <plugins>
51 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
52 <plugin>
53 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
54 <artifactId>maven-java-formatter-plugin</artifactId>
55 <version>0.4</version>
56 <configuration>
57 <configFile>${project.basedir}/Format.xml</configFile>
58 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
59 <compilerSource>1.7</compilerSource>
60 <compilerCompliance>1.7</compilerCompliance>
61 <compilerTargetPlatform>1.7</compilerTargetPlatform>
62 </configuration>
63 <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution>
64 </executions> -->
65 </plugin>
66 <plugin>
67 <groupId>org.apache.maven.plugins</groupId>
68 <artifactId>maven-compiler-plugin</artifactId>
69 <version>3.3</version>
70 <configuration>
71 <compilerVersion>${java.version}</compilerVersion>
72 <source>${java.version}</source>
73 <target>${java.version}</target>
74 </configuration>
75 </plugin>
76
77 <!-- build tests jar, so extensions can use fastjerseytest class to build
78 rest tests -->
79 <plugin>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-jar-plugin</artifactId>
82 <version>2.1</version>
83 <executions>
84 <execution>
85 <phase>package</phase>
86 <goals>
87 <goal>test-jar</goal>
88 </goals>
89 </execution>
90 </executions>
91 </plugin>
margaretha54134902017-09-27 18:43:11 +020092 <!-- Generate source jar -->
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-source-plugin</artifactId>
margarethafc7d7772018-01-16 17:48:17 +010096 <version>3.0.1</version>
margaretha54134902017-09-27 18:43:11 +020097 <executions>
98 <execution>
99 <id>attach-sources</id>
100 <goals>
101 <goal>jar</goal>
102 </goals>
103 </execution>
104 </executions>
105 </plugin>
margarethaf68daa62017-09-21 02:11:24 +0200106 <plugin>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-surefire-plugin</artifactId>
109 <version>2.19.1</version>
margaretha54134902017-09-27 18:43:11 +0200110
margarethaf68daa62017-09-21 02:11:24 +0200111 <configuration>
112 <reuseForks>false</reuseForks>
113 <forkCount>2</forkCount>
114 <threadCount>10</threadCount>
115 <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
116
117 <excludes>
118 <exclude>**/*APITest.java</exclude>
119 <exclude>de/ids_mannheim/korap/suites/*.java</exclude>
120 <exclude>**/KustvaktServerTest.java</exclude>
121 <exclude>**/ResourceServiceTest.java</exclude>
122 <exclude>**/ResourceInfoServiceTest.java</exclude>
123 <exclude>**/PolicyServiceTest.java</exclude>
124 </excludes>
125 <includes>
126 <include>de/ids_mannheim/korap/**/*.java</include>
127 </includes>
128 </configuration>
129 </plugin>
margarethaf68daa62017-09-21 02:11:24 +0200130 </plugins>
131 </build>
132 <dependencies>
133 <dependency>
134 <groupId>com.sun.jersey</groupId>
135 <artifactId>jersey-bundle</artifactId>
136 <version>${jersey.version}</version>
137 </dependency>
138 <!--EM: added -->
139 <dependency>
140 <groupId>com.sun.jersey</groupId>
141 <artifactId>jersey-server</artifactId>
142 <version>${jersey.version}</version>
143 </dependency>
144
145 <dependency>
146 <groupId>com.sun.jersey.contribs</groupId>
147 <artifactId>jersey-spring</artifactId>
148 <version>${jersey.version}</version>
149 <exclusions>
150 <exclusion>
151 <groupId>org.springframework</groupId>
152 <artifactId>spring</artifactId>
153 </exclusion>
154 <exclusion>
155 <groupId>org.springframework</groupId>
156 <artifactId>spring-core</artifactId>
157 </exclusion>
158 <exclusion>
159 <groupId>org.springframework</groupId>
160 <artifactId>spring-web</artifactId>
161 </exclusion>
162 <exclusion>
163 <groupId>org.springframework</groupId>
164 <artifactId>spring-beans</artifactId>
165 </exclusion>
166 <exclusion>
167 <groupId>org.springframework</groupId>
168 <artifactId>spring-context</artifactId>
169 </exclusion>
170 <exclusion>
171 <groupId>org.springframework</groupId>
172 <artifactId>spring-aop</artifactId>
173 </exclusion>
174 </exclusions>
175 </dependency>
176 <!-- EM:done -->
177 <dependency>
178 <groupId>com.sun.jersey.jersey-test-framework</groupId>
179 <artifactId>jersey-test-framework-core</artifactId>
180 <version>${jersey.version}</version>
181 <scope>test</scope>
182 </dependency>
183 <dependency>
184 <groupId>com.sun.jersey.jersey-test-framework</groupId>
185 <artifactId>jersey-test-framework-grizzly</artifactId>
186 <version>${jersey.version}</version>
187 <scope>test</scope>
188 </dependency>
189 <!-- <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId>
190 <version>1.7.5</version> </dependency> -->
191 <dependency>
192 <groupId>org.slf4j</groupId>
193 <artifactId>slf4j-log4j12</artifactId>
194 <version>1.7.5</version>
195 </dependency>
196 <!-- <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId>
197 <version>1.2.17</version> </dependency> <dependency> <groupId>log4j</groupId>
198 <artifactId>apache-log4j-extras</artifactId> <version>1.2.17</version> </dependency> -->
199 <dependency>
200 <groupId>junit</groupId>
201 <artifactId>junit</artifactId>
202 <version>4.12</version>
203 </dependency>
204 <dependency>
205 <groupId>org.projectlombok</groupId>
206 <artifactId>lombok</artifactId>
207 <version>1.16.6</version>
208 </dependency>
209 <dependency>
210 <groupId>joda-time</groupId>
211 <artifactId>joda-time</artifactId>
212 <version>2.2</version>
213 </dependency>
214 <dependency>
215 <groupId>de.ids_mannheim.korap</groupId>
216 <artifactId>Koral</artifactId>
margarethac6eafad2017-11-17 14:49:50 +0100217 <version>0.28</version>
margarethaf68daa62017-09-21 02:11:24 +0200218 <exclusions>
219 <exclusion>
220 <groupId>org.eclipse.jetty</groupId>
221 <artifactId>jetty-servlet</artifactId>
222 </exclusion>
223 </exclusions>
224 </dependency>
225
226 <dependency>
227 <groupId>org.xerial</groupId>
228 <artifactId>sqlite-jdbc</artifactId>
margaretha514e1412017-10-10 15:54:20 +0200229 <version>3.20.1</version>
margarethaf68daa62017-09-21 02:11:24 +0200230 </dependency>
231
margaretha318fec32017-10-24 12:11:58 +0200232
margarethaf68daa62017-09-21 02:11:24 +0200233
234 <dependency>
235 <groupId>org.apache.commons</groupId>
236 <artifactId>commons-dbcp2</artifactId>
237 <version>2.1.1</version>
238 </dependency>
239
240 <dependency>
241 <groupId>commons-validator</groupId>
242 <artifactId>commons-validator</artifactId>
243 <version>1.4.0</version>
244 </dependency>
245
246 <dependency>
247 <groupId>org.mindrot</groupId>
248 <artifactId>jbcrypt</artifactId>
249 <version>0.3m</version>
250 </dependency>
251
252 <dependency>
253 <groupId>com.nimbusds</groupId>
254 <artifactId>nimbus-jose-jwt</artifactId>
255 <version>2.10.1</version>
256 </dependency>
257
258 <dependency>
259 <groupId>de.ids_mannheim.korap</groupId>
260 <artifactId>Krill</artifactId>
261 <version>0.55.9</version>
262 <exclusions>
263 <exclusion>
264 <groupId>org.xerial</groupId>
265 <artifactId>sqlite-jdbc</artifactId>
266 </exclusion>
267 </exclusions>
268 </dependency>
269 <dependency>
270 <groupId>org.reflections</groupId>
271 <artifactId>reflections</artifactId>
272 <version>0.9.9-RC1</version>
273 </dependency>
274
275
276
277 <dependency>
278 <groupId>org.springframework</groupId>
279 <artifactId>spring-core</artifactId>
280 <version>${spring-framework.version}</version>
281 </dependency>
282 <dependency>
283 <groupId>org.springframework</groupId>
284 <artifactId>spring-web</artifactId>
285 <version>${spring-framework.version}</version>
286 </dependency>
287 <dependency>
288 <groupId>org.springframework</groupId>
289 <artifactId>spring-asm</artifactId>
290 <version>3.1.4.RELEASE</version>
291 </dependency>
292 <dependency>
293 <groupId>org.springframework</groupId>
294 <artifactId>spring-orm</artifactId>
295 <version>${spring-framework.version}</version>
296 </dependency>
297 <!-- EM: done -->
298 <dependency>
299 <groupId>org.springframework</groupId>
300 <artifactId>spring-context</artifactId>
301 <version>${spring-framework.version}</version>
302 </dependency>
303 <dependency>
304 <groupId>org.springframework</groupId>
305 <artifactId>spring-context-support</artifactId>
306 <version>${spring-framework.version}</version>
307 </dependency>
308 <dependency>
309 <groupId>org.springframework</groupId>
310 <artifactId>spring-test</artifactId>
311 <version>${spring-framework.version}</version>
312 <scope>compile</scope>
313 </dependency>
314
315 <!-- apparently this order prevents the spring schemas from being overriden
316 in META-INF/spring.schemas, thus must stay like this -->
317 <dependency>
318 <groupId>org.springframework</groupId>
319 <artifactId>spring-aop</artifactId>
320 <version>${spring-framework.version}</version>
321 </dependency>
322 <dependency>
323 <groupId>org.springframework</groupId>
324 <artifactId>spring-aspects</artifactId>
325 <version>${spring-framework.version}</version>
326 </dependency>
327
328 <!-- copied from extension -->
margaretha54134902017-09-27 18:43:11 +0200329 <!-- <dependency>
margarethaf68daa62017-09-21 02:11:24 +0200330 <groupId>org.springframework</groupId>
331 <artifactId>spring-jdbc</artifactId>
332 <version>${spring-framework.version}</version>
333 </dependency>
334 <dependency>
335 <groupId>org.springframework</groupId>
336 <artifactId>spring-tx</artifactId>
337 <version>${spring-framework.version}</version>
338 </dependency>
339 <dependency>
340 <groupId>org.flywaydb</groupId>
341 <artifactId>flyway-core</artifactId>
342 <version>4.0</version>
margaretha54134902017-09-27 18:43:11 +0200343 </dependency> -->
margarethaf68daa62017-09-21 02:11:24 +0200344
345 <!-- <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache-core</artifactId>
346 <version>2.6.5</version> </dependency> -->
347
348 <dependency>
349 <groupId>org.apache.oltu.oauth2</groupId>
350 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
351 <version>1.0.0</version>
352 </dependency>
353
354 <!-- end copy -->
355
356 <dependency>
357 <groupId>commons-collections</groupId>
358 <artifactId>commons-collections</artifactId>
359 <version>3.2.1</version>
360 </dependency>
361 <dependency>
362 <groupId>org.eclipse.jetty</groupId>
363 <artifactId>jetty-server</artifactId>
364 <version>8.1.8.v20121106</version>
365 </dependency>
366 <dependency>
367 <groupId>org.eclipse.jetty</groupId>
368 <artifactId>jetty-servlet</artifactId>
369 <version>8.1.8.v20121106</version>
370 </dependency>
371 <dependency>
372 <groupId>asm</groupId>
373 <artifactId>asm</artifactId>
374 <version>3.3.1</version>
375 </dependency>
376 <dependency>
377 <groupId>com.novell.ldap</groupId>
378 <artifactId>jldap</artifactId>
379 <version>4.3</version>
380 </dependency>
381 <!-- https://mvnrepository.com/artifact/com.unboundid/unboundid-ldapsdk -->
382 <dependency>
383 <groupId>com.unboundid</groupId>
384 <artifactId>unboundid-ldapsdk</artifactId>
385 <version>3.2.1</version>
386 </dependency>
387
margaretha54134902017-09-27 18:43:11 +0200388 <!-- not part of public release
389 <dependency>
390 <groupId>KorAP-graphDB</groupId>
391 <artifactId>KorAP-graphDB</artifactId>
392 <version>1.0-SNAPSHOT</version>
393 <exclusions>
394 <exclusion>
395 <groupId>org.antlr</groupId>
396 <artifactId>antlr4-runtime</artifactId>
397 </exclusion>
398 <exclusion>
399 <groupId>org.glassfish.jersey.core</groupId>
400 <artifactId>jersey-client</artifactId>
401 </exclusion>
402 <exclusion>
403 <groupId>org.glassfish.jersey.containers</groupId>
404 <artifactId>jersey-container-grizzly2-http</artifactId>
405 </exclusion>
406 <exclusion>
407 <groupId>org.glassfish.jersey.core</groupId>
408 <artifactId>jersey-common</artifactId>
409 </exclusion>
410 <exclusion>
411 <groupId>org.glassfish.jersey.core</groupId>
412 <artifactId>jersey-server</artifactId>
413 </exclusion>
414 </exclusions>
415 </dependency> -->
margarethaf68daa62017-09-21 02:11:24 +0200416 <dependency>
417 <groupId>org.apache.httpcomponents</groupId>
418 <artifactId>httpclient</artifactId>
419 <version>4.3.3</version>
420 </dependency>
421 <dependency>
422 <groupId>commons-io</groupId>
423 <artifactId>commons-io</artifactId>
424 <version>2.4</version>
425 </dependency>
margaretha54134902017-09-27 18:43:11 +0200426
margarethaf68daa62017-09-21 02:11:24 +0200427 <dependency>
428 <groupId>org.hibernate</groupId>
429 <artifactId>hibernate-ehcache</artifactId>
430 <version>5.1.8.Final</version>
431 </dependency>
432 </dependencies>
433
434
435</project>