blob: a8420e4b9f779c2b4b3cb7197dcfc7fec40d06d2 [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>
margaretha9025d642018-01-19 17:35:22 +01006 <version>0.59.10</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>
margarethaf68daa62017-09-21 02:11:24 +0200108 <plugin>
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-surefire-plugin</artifactId>
111 <version>2.19.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>
121 <exclude>de/ids_mannheim/korap/suites/*.java</exclude>
122 <exclude>**/KustvaktServerTest.java</exclude>
123 <exclude>**/ResourceServiceTest.java</exclude>
124 <exclude>**/ResourceInfoServiceTest.java</exclude>
125 <exclude>**/PolicyServiceTest.java</exclude>
126 </excludes>
127 <includes>
128 <include>de/ids_mannheim/korap/**/*.java</include>
129 </includes>
130 </configuration>
131 </plugin>
margarethaf68daa62017-09-21 02:11:24 +0200132 </plugins>
133 </build>
134 <dependencies>
135 <dependency>
136 <groupId>com.sun.jersey</groupId>
137 <artifactId>jersey-bundle</artifactId>
138 <version>${jersey.version}</version>
139 </dependency>
140 <!--EM: added -->
141 <dependency>
142 <groupId>com.sun.jersey</groupId>
143 <artifactId>jersey-server</artifactId>
144 <version>${jersey.version}</version>
145 </dependency>
146
147 <dependency>
148 <groupId>com.sun.jersey.contribs</groupId>
149 <artifactId>jersey-spring</artifactId>
150 <version>${jersey.version}</version>
151 <exclusions>
152 <exclusion>
153 <groupId>org.springframework</groupId>
154 <artifactId>spring</artifactId>
155 </exclusion>
156 <exclusion>
157 <groupId>org.springframework</groupId>
158 <artifactId>spring-core</artifactId>
159 </exclusion>
160 <exclusion>
161 <groupId>org.springframework</groupId>
162 <artifactId>spring-web</artifactId>
163 </exclusion>
164 <exclusion>
165 <groupId>org.springframework</groupId>
166 <artifactId>spring-beans</artifactId>
167 </exclusion>
168 <exclusion>
169 <groupId>org.springframework</groupId>
170 <artifactId>spring-context</artifactId>
171 </exclusion>
172 <exclusion>
173 <groupId>org.springframework</groupId>
174 <artifactId>spring-aop</artifactId>
175 </exclusion>
176 </exclusions>
177 </dependency>
178 <!-- EM:done -->
179 <dependency>
180 <groupId>com.sun.jersey.jersey-test-framework</groupId>
181 <artifactId>jersey-test-framework-core</artifactId>
182 <version>${jersey.version}</version>
183 <scope>test</scope>
184 </dependency>
185 <dependency>
186 <groupId>com.sun.jersey.jersey-test-framework</groupId>
187 <artifactId>jersey-test-framework-grizzly</artifactId>
188 <version>${jersey.version}</version>
189 <scope>test</scope>
190 </dependency>
191 <!-- <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId>
192 <version>1.7.5</version> </dependency> -->
193 <dependency>
194 <groupId>org.slf4j</groupId>
195 <artifactId>slf4j-log4j12</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100196 <version>1.7.25</version>
margarethaf68daa62017-09-21 02:11:24 +0200197 </dependency>
198 <!-- <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId>
199 <version>1.2.17</version> </dependency> <dependency> <groupId>log4j</groupId>
200 <artifactId>apache-log4j-extras</artifactId> <version>1.2.17</version> </dependency> -->
201 <dependency>
202 <groupId>junit</groupId>
203 <artifactId>junit</artifactId>
204 <version>4.12</version>
205 </dependency>
206 <dependency>
207 <groupId>org.projectlombok</groupId>
208 <artifactId>lombok</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100209 <version>1.16.20</version>
margarethaf68daa62017-09-21 02:11:24 +0200210 </dependency>
211 <dependency>
212 <groupId>joda-time</groupId>
213 <artifactId>joda-time</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100214 <version>2.9.9</version>
margarethaf68daa62017-09-21 02:11:24 +0200215 </dependency>
216 <dependency>
217 <groupId>de.ids_mannheim.korap</groupId>
218 <artifactId>Koral</artifactId>
margarethac6eafad2017-11-17 14:49:50 +0100219 <version>0.28</version>
margarethaf68daa62017-09-21 02:11:24 +0200220 <exclusions>
221 <exclusion>
222 <groupId>org.eclipse.jetty</groupId>
223 <artifactId>jetty-servlet</artifactId>
224 </exclusion>
225 </exclusions>
226 </dependency>
227
228 <dependency>
229 <groupId>org.xerial</groupId>
230 <artifactId>sqlite-jdbc</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100231 <version>3.21.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200232 </dependency>
233
margaretha318fec32017-10-24 12:11:58 +0200234
margarethaf68daa62017-09-21 02:11:24 +0200235
236 <dependency>
237 <groupId>org.apache.commons</groupId>
238 <artifactId>commons-dbcp2</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100239 <version>2.2.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200240 </dependency>
241
242 <dependency>
243 <groupId>commons-validator</groupId>
244 <artifactId>commons-validator</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100245 <version>1.6</version>
margarethaf68daa62017-09-21 02:11:24 +0200246 </dependency>
247
248 <dependency>
249 <groupId>org.mindrot</groupId>
250 <artifactId>jbcrypt</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100251 <version>0.4</version>
margarethaf68daa62017-09-21 02:11:24 +0200252 </dependency>
margaretha2c019fa2018-02-01 19:50:51 +0100253
254 <!-- EM: nimbus version is very old -->
margarethaf68daa62017-09-21 02:11:24 +0200255 <dependency>
256 <groupId>com.nimbusds</groupId>
257 <artifactId>nimbus-jose-jwt</artifactId>
258 <version>2.10.1</version>
259 </dependency>
260
261 <dependency>
262 <groupId>de.ids_mannheim.korap</groupId>
263 <artifactId>Krill</artifactId>
Akron730ed082018-01-31 17:10:13 +0100264 <version>0.56.1</version>
margarethaf68daa62017-09-21 02:11:24 +0200265 <exclusions>
266 <exclusion>
267 <groupId>org.xerial</groupId>
268 <artifactId>sqlite-jdbc</artifactId>
269 </exclusion>
270 </exclusions>
271 </dependency>
272 <dependency>
273 <groupId>org.reflections</groupId>
274 <artifactId>reflections</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100275 <version>0.9.10</version>
margarethaf68daa62017-09-21 02:11:24 +0200276 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200277 <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>
margaretha2c019fa2018-02-01 19:50:51 +0100359 <version>3.2.2</version>
margarethaf68daa62017-09-21 02:11:24 +0200360 </dependency>
margaretha58e18632018-02-15 13:04:42 +0100361
362 <!-- jetty -->
margarethaf68daa62017-09-21 02:11:24 +0200363 <dependency>
364 <groupId>org.eclipse.jetty</groupId>
365 <artifactId>jetty-server</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100366 <version>${jetty.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200367 </dependency>
368 <dependency>
369 <groupId>org.eclipse.jetty</groupId>
370 <artifactId>jetty-servlet</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100371 <version>${jetty.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200372 </dependency>
373 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100374 <groupId>org.eclipse.jetty</groupId>
375 <artifactId>jetty-webapp</artifactId>
376 <version>${jetty.version}</version>
377 </dependency>
378
379 <dependency>
margarethaf68daa62017-09-21 02:11:24 +0200380 <groupId>asm</groupId>
381 <artifactId>asm</artifactId>
382 <version>3.3.1</version>
383 </dependency>
384 <dependency>
385 <groupId>com.novell.ldap</groupId>
386 <artifactId>jldap</artifactId>
387 <version>4.3</version>
388 </dependency>
389 <!-- https://mvnrepository.com/artifact/com.unboundid/unboundid-ldapsdk -->
390 <dependency>
391 <groupId>com.unboundid</groupId>
392 <artifactId>unboundid-ldapsdk</artifactId>
393 <version>3.2.1</version>
394 </dependency>
395
margaretha54134902017-09-27 18:43:11 +0200396 <!-- not part of public release
397 <dependency>
398 <groupId>KorAP-graphDB</groupId>
399 <artifactId>KorAP-graphDB</artifactId>
400 <version>1.0-SNAPSHOT</version>
401 <exclusions>
402 <exclusion>
403 <groupId>org.antlr</groupId>
404 <artifactId>antlr4-runtime</artifactId>
405 </exclusion>
406 <exclusion>
407 <groupId>org.glassfish.jersey.core</groupId>
408 <artifactId>jersey-client</artifactId>
409 </exclusion>
410 <exclusion>
411 <groupId>org.glassfish.jersey.containers</groupId>
412 <artifactId>jersey-container-grizzly2-http</artifactId>
413 </exclusion>
414 <exclusion>
415 <groupId>org.glassfish.jersey.core</groupId>
416 <artifactId>jersey-common</artifactId>
417 </exclusion>
418 <exclusion>
419 <groupId>org.glassfish.jersey.core</groupId>
420 <artifactId>jersey-server</artifactId>
421 </exclusion>
422 </exclusions>
423 </dependency> -->
margarethaf68daa62017-09-21 02:11:24 +0200424 <dependency>
425 <groupId>org.apache.httpcomponents</groupId>
426 <artifactId>httpclient</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100427 <version>4.5.4</version>
margarethaf68daa62017-09-21 02:11:24 +0200428 </dependency>
429 <dependency>
430 <groupId>commons-io</groupId>
431 <artifactId>commons-io</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100432 <version>2.6</version>
margarethaf68daa62017-09-21 02:11:24 +0200433 </dependency>
margaretha54134902017-09-27 18:43:11 +0200434
margarethaf68daa62017-09-21 02:11:24 +0200435 <dependency>
436 <groupId>org.hibernate</groupId>
437 <artifactId>hibernate-ehcache</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100438 <version>${hibernate.version}</version>
margarethaf68daa62017-09-21 02:11:24 +0200439 </dependency>
440 </dependencies>
441
442
Akron730ed082018-01-31 17:10:13 +0100443</project>