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