blob: 51c7bab4b733db24767de66215a2720a373ccb70 [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>
6 <version>0.59.8</version>
7
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>
96 <executions>
97 <execution>
98 <id>attach-sources</id>
99 <goals>
100 <goal>jar</goal>
101 </goals>
102 </execution>
103 </executions>
104 </plugin>
margarethaf68daa62017-09-21 02:11:24 +0200105 <plugin>
106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-surefire-plugin</artifactId>
108 <version>2.19.1</version>
margaretha54134902017-09-27 18:43:11 +0200109
margarethaf68daa62017-09-21 02:11:24 +0200110 <configuration>
111 <reuseForks>false</reuseForks>
112 <forkCount>2</forkCount>
113 <threadCount>10</threadCount>
114 <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
115
116 <excludes>
117 <exclude>**/*APITest.java</exclude>
118 <exclude>de/ids_mannheim/korap/suites/*.java</exclude>
119 <exclude>**/KustvaktServerTest.java</exclude>
120 <exclude>**/ResourceServiceTest.java</exclude>
121 <exclude>**/ResourceInfoServiceTest.java</exclude>
122 <exclude>**/PolicyServiceTest.java</exclude>
123 </excludes>
124 <includes>
125 <include>de/ids_mannheim/korap/**/*.java</include>
126 </includes>
127 </configuration>
128 </plugin>
margarethaf68daa62017-09-21 02:11:24 +0200129 </plugins>
130 </build>
131 <dependencies>
132 <dependency>
133 <groupId>com.sun.jersey</groupId>
134 <artifactId>jersey-bundle</artifactId>
135 <version>${jersey.version}</version>
136 </dependency>
137 <!--EM: added -->
138 <dependency>
139 <groupId>com.sun.jersey</groupId>
140 <artifactId>jersey-server</artifactId>
141 <version>${jersey.version}</version>
142 </dependency>
143
144 <dependency>
145 <groupId>com.sun.jersey.contribs</groupId>
146 <artifactId>jersey-spring</artifactId>
147 <version>${jersey.version}</version>
148 <exclusions>
149 <exclusion>
150 <groupId>org.springframework</groupId>
151 <artifactId>spring</artifactId>
152 </exclusion>
153 <exclusion>
154 <groupId>org.springframework</groupId>
155 <artifactId>spring-core</artifactId>
156 </exclusion>
157 <exclusion>
158 <groupId>org.springframework</groupId>
159 <artifactId>spring-web</artifactId>
160 </exclusion>
161 <exclusion>
162 <groupId>org.springframework</groupId>
163 <artifactId>spring-beans</artifactId>
164 </exclusion>
165 <exclusion>
166 <groupId>org.springframework</groupId>
167 <artifactId>spring-context</artifactId>
168 </exclusion>
169 <exclusion>
170 <groupId>org.springframework</groupId>
171 <artifactId>spring-aop</artifactId>
172 </exclusion>
173 </exclusions>
174 </dependency>
175 <!-- EM:done -->
176 <dependency>
177 <groupId>com.sun.jersey.jersey-test-framework</groupId>
178 <artifactId>jersey-test-framework-core</artifactId>
179 <version>${jersey.version}</version>
180 <scope>test</scope>
181 </dependency>
182 <dependency>
183 <groupId>com.sun.jersey.jersey-test-framework</groupId>
184 <artifactId>jersey-test-framework-grizzly</artifactId>
185 <version>${jersey.version}</version>
186 <scope>test</scope>
187 </dependency>
188 <!-- <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId>
189 <version>1.7.5</version> </dependency> -->
190 <dependency>
191 <groupId>org.slf4j</groupId>
192 <artifactId>slf4j-log4j12</artifactId>
193 <version>1.7.5</version>
194 </dependency>
195 <!-- <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId>
196 <version>1.2.17</version> </dependency> <dependency> <groupId>log4j</groupId>
197 <artifactId>apache-log4j-extras</artifactId> <version>1.2.17</version> </dependency> -->
198 <dependency>
199 <groupId>junit</groupId>
200 <artifactId>junit</artifactId>
201 <version>4.12</version>
202 </dependency>
203 <dependency>
204 <groupId>org.projectlombok</groupId>
205 <artifactId>lombok</artifactId>
206 <version>1.16.6</version>
207 </dependency>
208 <dependency>
209 <groupId>joda-time</groupId>
210 <artifactId>joda-time</artifactId>
211 <version>2.2</version>
212 </dependency>
213 <dependency>
214 <groupId>de.ids_mannheim.korap</groupId>
215 <artifactId>Koral</artifactId>
216 <version>0.27</version>
217 <exclusions>
218 <exclusion>
219 <groupId>org.eclipse.jetty</groupId>
220 <artifactId>jetty-servlet</artifactId>
221 </exclusion>
222 </exclusions>
223 </dependency>
224
225 <dependency>
226 <groupId>org.xerial</groupId>
227 <artifactId>sqlite-jdbc</artifactId>
margaretha514e1412017-10-10 15:54:20 +0200228 <version>3.20.1</version>
margarethaf68daa62017-09-21 02:11:24 +0200229 </dependency>
230
margaretha318fec32017-10-24 12:11:58 +0200231
margarethaf68daa62017-09-21 02:11:24 +0200232
233 <dependency>
234 <groupId>org.apache.commons</groupId>
235 <artifactId>commons-dbcp2</artifactId>
236 <version>2.1.1</version>
237 </dependency>
238
239 <dependency>
240 <groupId>commons-validator</groupId>
241 <artifactId>commons-validator</artifactId>
242 <version>1.4.0</version>
243 </dependency>
244
245 <dependency>
246 <groupId>org.mindrot</groupId>
247 <artifactId>jbcrypt</artifactId>
248 <version>0.3m</version>
249 </dependency>
250
251 <dependency>
252 <groupId>com.nimbusds</groupId>
253 <artifactId>nimbus-jose-jwt</artifactId>
254 <version>2.10.1</version>
255 </dependency>
256
257 <dependency>
258 <groupId>de.ids_mannheim.korap</groupId>
259 <artifactId>Krill</artifactId>
260 <version>0.55.9</version>
261 <exclusions>
262 <exclusion>
263 <groupId>org.xerial</groupId>
264 <artifactId>sqlite-jdbc</artifactId>
265 </exclusion>
266 </exclusions>
267 </dependency>
268 <dependency>
269 <groupId>org.reflections</groupId>
270 <artifactId>reflections</artifactId>
271 <version>0.9.9-RC1</version>
272 </dependency>
273
274
275
276 <dependency>
277 <groupId>org.springframework</groupId>
278 <artifactId>spring-core</artifactId>
279 <version>${spring-framework.version}</version>
280 </dependency>
281 <dependency>
282 <groupId>org.springframework</groupId>
283 <artifactId>spring-web</artifactId>
284 <version>${spring-framework.version}</version>
285 </dependency>
286 <dependency>
287 <groupId>org.springframework</groupId>
288 <artifactId>spring-asm</artifactId>
289 <version>3.1.4.RELEASE</version>
290 </dependency>
291 <dependency>
292 <groupId>org.springframework</groupId>
293 <artifactId>spring-orm</artifactId>
294 <version>${spring-framework.version}</version>
295 </dependency>
296 <!-- EM: done -->
297 <dependency>
298 <groupId>org.springframework</groupId>
299 <artifactId>spring-context</artifactId>
300 <version>${spring-framework.version}</version>
301 </dependency>
302 <dependency>
303 <groupId>org.springframework</groupId>
304 <artifactId>spring-context-support</artifactId>
305 <version>${spring-framework.version}</version>
306 </dependency>
307 <dependency>
308 <groupId>org.springframework</groupId>
309 <artifactId>spring-test</artifactId>
310 <version>${spring-framework.version}</version>
311 <scope>compile</scope>
312 </dependency>
313
314 <!-- apparently this order prevents the spring schemas from being overriden
315 in META-INF/spring.schemas, thus must stay like this -->
316 <dependency>
317 <groupId>org.springframework</groupId>
318 <artifactId>spring-aop</artifactId>
319 <version>${spring-framework.version}</version>
320 </dependency>
321 <dependency>
322 <groupId>org.springframework</groupId>
323 <artifactId>spring-aspects</artifactId>
324 <version>${spring-framework.version}</version>
325 </dependency>
326
327 <!-- copied from extension -->
margaretha54134902017-09-27 18:43:11 +0200328 <!-- <dependency>
margarethaf68daa62017-09-21 02:11:24 +0200329 <groupId>org.springframework</groupId>
330 <artifactId>spring-jdbc</artifactId>
331 <version>${spring-framework.version}</version>
332 </dependency>
333 <dependency>
334 <groupId>org.springframework</groupId>
335 <artifactId>spring-tx</artifactId>
336 <version>${spring-framework.version}</version>
337 </dependency>
338 <dependency>
339 <groupId>org.flywaydb</groupId>
340 <artifactId>flyway-core</artifactId>
341 <version>4.0</version>
margaretha54134902017-09-27 18:43:11 +0200342 </dependency> -->
margarethaf68daa62017-09-21 02:11:24 +0200343
344 <!-- <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache-core</artifactId>
345 <version>2.6.5</version> </dependency> -->
346
347 <dependency>
348 <groupId>org.apache.oltu.oauth2</groupId>
349 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
350 <version>1.0.0</version>
351 </dependency>
352
353 <!-- end copy -->
354
355 <dependency>
356 <groupId>commons-collections</groupId>
357 <artifactId>commons-collections</artifactId>
358 <version>3.2.1</version>
359 </dependency>
360 <dependency>
361 <groupId>org.eclipse.jetty</groupId>
362 <artifactId>jetty-server</artifactId>
363 <version>8.1.8.v20121106</version>
364 </dependency>
365 <dependency>
366 <groupId>org.eclipse.jetty</groupId>
367 <artifactId>jetty-servlet</artifactId>
368 <version>8.1.8.v20121106</version>
369 </dependency>
370 <dependency>
371 <groupId>asm</groupId>
372 <artifactId>asm</artifactId>
373 <version>3.3.1</version>
374 </dependency>
375 <dependency>
376 <groupId>com.novell.ldap</groupId>
377 <artifactId>jldap</artifactId>
378 <version>4.3</version>
379 </dependency>
380 <!-- https://mvnrepository.com/artifact/com.unboundid/unboundid-ldapsdk -->
381 <dependency>
382 <groupId>com.unboundid</groupId>
383 <artifactId>unboundid-ldapsdk</artifactId>
384 <version>3.2.1</version>
385 </dependency>
386
margaretha54134902017-09-27 18:43:11 +0200387 <!-- not part of public release
388 <dependency>
389 <groupId>KorAP-graphDB</groupId>
390 <artifactId>KorAP-graphDB</artifactId>
391 <version>1.0-SNAPSHOT</version>
392 <exclusions>
393 <exclusion>
394 <groupId>org.antlr</groupId>
395 <artifactId>antlr4-runtime</artifactId>
396 </exclusion>
397 <exclusion>
398 <groupId>org.glassfish.jersey.core</groupId>
399 <artifactId>jersey-client</artifactId>
400 </exclusion>
401 <exclusion>
402 <groupId>org.glassfish.jersey.containers</groupId>
403 <artifactId>jersey-container-grizzly2-http</artifactId>
404 </exclusion>
405 <exclusion>
406 <groupId>org.glassfish.jersey.core</groupId>
407 <artifactId>jersey-common</artifactId>
408 </exclusion>
409 <exclusion>
410 <groupId>org.glassfish.jersey.core</groupId>
411 <artifactId>jersey-server</artifactId>
412 </exclusion>
413 </exclusions>
414 </dependency> -->
margarethaf68daa62017-09-21 02:11:24 +0200415 <dependency>
416 <groupId>org.apache.httpcomponents</groupId>
417 <artifactId>httpclient</artifactId>
418 <version>4.3.3</version>
419 </dependency>
420 <dependency>
421 <groupId>commons-io</groupId>
422 <artifactId>commons-io</artifactId>
423 <version>2.4</version>
424 </dependency>
margaretha54134902017-09-27 18:43:11 +0200425
margarethaf68daa62017-09-21 02:11:24 +0200426 <dependency>
427 <groupId>org.hibernate</groupId>
428 <artifactId>hibernate-ehcache</artifactId>
429 <version>5.1.8.Final</version>
430 </dependency>
431 </dependencies>
432
433
434</project>