blob: ec963a4820654eab9eab71661511949bf54c4c9a [file] [log] [blame]
Michael Hanlca740d72015-06-16 10:04:58 +02001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Michael Hanlca740d72015-06-16 10:04:58 +02005 <modelVersion>4.0.0</modelVersion>
Michael Hanlbadd79c2015-06-19 07:41:03 +02006 <groupId>de.ids_mannheim.korap</groupId>
Michael Hanlca740d72015-06-16 10:04:58 +02007 <artifactId>Kustvakt-core</artifactId>
8 <version>0.2</version>
Michael Hanlbadd79c2015-06-19 07:41:03 +02009 <packaging>jar</packaging>
10 <name>Kustvakt core</name>
11 <description>Kustvakt core, basic rest api for testing purposes and default
12 interfaces
13 </description>
Michael Hanlca740d72015-06-16 10:04:58 +020014 <properties>
15 <maven.compiler.source>1.7</maven.compiler.source>
16 <maven.compiler.target>1.7</maven.compiler.target>
17 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18 </properties>
19 <build>
20 <plugins>
Michael Hanl0f6ffd72015-08-27 19:23:15 +020021 <!-- build tests jar, so extensions can use fastjerseytest class to build rest tests -->
22 <plugin>
23 <groupId>org.apache.maven.plugins</groupId>
24 <artifactId>maven-jar-plugin</artifactId>
25 <executions>
26 <execution>
27 <phase>package</phase>
28 <goals>
29 <goal>test-jar</goal>
30 </goals>
31 </execution>
32 </executions>
33 </plugin>
Michael Hanlca740d72015-06-16 10:04:58 +020034 <plugin>
35 <groupId>org.apache.maven.plugins</groupId>
36 <artifactId>maven-surefire-plugin</artifactId>
37 <version>2.9</version>
38 <!-- ??? -->
39 <configuration>
40 <excludes>
41 <exclude>**/*APITest.java</exclude>
42 </excludes>
43 <includes>
44 <include>**/TestSuite.java</include>
45 </includes>
46 </configuration>
47 </plugin>
48 <plugin>
49 <artifactId>maven-shade-plugin</artifactId>
50 <version>2.1</version>
51 <executions>
52 <!-- option 1 -->
53 <execution>
54 <id>light</id>
55 <phase>package</phase>
56 <goals>
57 <goal>shade</goal>
58 </goals>
59 <configuration>
60 <transformers>
61 <transformer
62 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
63 <mainClass>
Michael Hanl0f6ffd72015-08-27 19:23:15 +020064 de.ids_mannheim.korap.web.KustvaktServer
Michael Hanlca740d72015-06-16 10:04:58 +020065 </mainClass>
66 </transformer>
67 <transformer
68 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
69 <resource>META-INF/spring.handlers
70 </resource>
71 </transformer>
72 <transformer
73 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
74 <resource>META-INF/spring.schemas
75 </resource>
76 </transformer>
77 </transformers>
78 <!-- Additional configuration. -->
79 <!-- apparently there is a securityexception -->
80 <filters>
81 <filter>
82 <artifact>*:*</artifact>
83 <excludes>
84 <exclude>META-INF/*.SF</exclude>
85 <exclude>META-INF/*.DSA
86 </exclude>
87 <exclude>META-INF/*.RSA
88 </exclude>
89 </excludes>
90 </filter>
91 </filters>
92 </configuration>
93 </execution>
94 </executions>
95 </plugin>
96 </plugins>
97 </build>
98 <repositories>
99 <repository>
100 <id>codehaus-release-repo</id>
101 <name>Codehaus Release Repo</name>
102 <url>http://repository.codehaus.org</url>
103 </repository>
104 <repository>
105 <id>central</id>
106 <url>http://repo1.maven.org/maven2/</url>
107 </repository>
108 <repository>
109 <id>sonatype</id>
110 <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
111 <snapshots/>
112 </repository>
113 </repositories>
114 <dependencies>
115 <dependency>
116 <groupId>com.sun.jersey</groupId>
117 <artifactId>jersey-bundle</artifactId>
118 <version>1.8</version>
119 </dependency>
120 <dependency>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200121 <groupId>com.sun.jersey.jersey-test-framework</groupId>
122 <artifactId>jersey-test-framework-core</artifactId>
123 <version>1.19</version>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200124 <scope>test</scope>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200125 </dependency>
126 <dependency>
127 <groupId>com.sun.jersey.jersey-test-framework</groupId>
128 <artifactId>jersey-test-framework-grizzly</artifactId>
129 <version>1.19</version>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200130 <scope>test</scope>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200131 </dependency>
132 <dependency>
Michael Hanlbadd79c2015-06-19 07:41:03 +0200133 <groupId>org.slf4j</groupId>
134 <artifactId>slf4j-api</artifactId>
135 <version>1.7.5</version>
136 </dependency>
137 <dependency>
138 <groupId>org.slf4j</groupId>
139 <artifactId>slf4j-log4j12</artifactId>
140 <version>1.7.5</version>
141 </dependency>
142 <dependency>
143 <groupId>log4j</groupId>
144 <artifactId>log4j</artifactId>
145 <version>1.2.17</version>
146 </dependency>
147 <dependency>
148 <groupId>log4j</groupId>
149 <artifactId>apache-log4j-extras</artifactId>
150 <version>1.2.17</version>
151 </dependency>
152 <dependency>
153 <groupId>junit</groupId>
154 <artifactId>junit</artifactId>
155 <version>4.11</version>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200156 <scope>test</scope>
Michael Hanlbadd79c2015-06-19 07:41:03 +0200157 </dependency>
158 <dependency>
159 <groupId>org.projectlombok</groupId>
160 <artifactId>lombok</artifactId>
161 <version>0.11.8</version>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200162 <scope>compile</scope>
Michael Hanlbadd79c2015-06-19 07:41:03 +0200163 </dependency>
164 <dependency>
165 <groupId>joda-time</groupId>
166 <artifactId>joda-time</artifactId>
167 <version>2.2</version>
Michael Hanlca740d72015-06-16 10:04:58 +0200168 </dependency>
169 <dependency>
Michael Hanlcafa03e2015-06-26 17:01:16 +0200170 <groupId>de.ids_mannheim.korap</groupId>
Michael Hanlca740d72015-06-16 10:04:58 +0200171 <artifactId>Koral</artifactId>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200172 <version>0.21</version>
Michael Hanlca740d72015-06-16 10:04:58 +0200173 <exclusions>
174 <exclusion>
175 <groupId>org.eclipse.jetty</groupId>
176 <artifactId>jetty-servlet</artifactId>
177 </exclusion>
178 </exclusions>
179 </dependency>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200180 <!--
181 <dependency>
182 <groupId>com.sun.jersey</groupId>
183 <artifactId>jersey-grizzly2</artifactId>
184 <version>1.8</version>
185 </dependency>
186 <dependency>
187 <groupId>com.sun.grizzly</groupId>
188 <artifactId>grizzly-servlet-webserver</artifactId>
189 <version>1.9.18-i</version>
190 </dependency>
191 -->
Michael Hanlca740d72015-06-16 10:04:58 +0200192 <dependency>
193 <groupId>com.nimbusds</groupId>
194 <artifactId>nimbus-jose-jwt</artifactId>
195 <version>2.10.1</version>
196 </dependency>
197
198 <dependency>
199 <groupId>de.ids_mannheim.korap</groupId>
200 <artifactId>Krill</artifactId>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200201 <version>0.53</version>
Michael Hanlca740d72015-06-16 10:04:58 +0200202 <exclusions>
203 <exclusion>
204 <groupId>org.xerial</groupId>
205 <artifactId>sqlite-jdbc</artifactId>
206 </exclusion>
207 </exclusions>
208 </dependency>
209 <dependency>
210 <groupId>org.reflections</groupId>
211 <artifactId>reflections</artifactId>
212 <version>0.9.9-RC1</version>
213 </dependency>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200214 <!-- deprecated? -->
Michael Hanlca740d72015-06-16 10:04:58 +0200215 <dependency>
216 <groupId>com.restfuse</groupId>
217 <artifactId>com.eclipsesource.restfuse</artifactId>
218 <version>1.0.0</version>
219 <scope>provided</scope>
220 </dependency>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200221 <!-- deprecated -->
222 <!--<dependency>-->
223 <!--<groupId>com.jayway.restassured</groupId>-->
224 <!--<artifactId>rest-assured</artifactId>-->
225 <!--<version>2.4.0</version>-->
226 <!--<scope>provided</scope>-->
227 <!--</dependency>-->
Michael Hanlbadd79c2015-06-19 07:41:03 +0200228 <dependency>
229 <groupId>org.springframework</groupId>
230 <artifactId>spring-core</artifactId>
231 <version>4.0.5.RELEASE</version>
232 </dependency>
233 <dependency>
234 <groupId>org.springframework</groupId>
235 <artifactId>spring-context</artifactId>
236 <version>4.0.5.RELEASE</version>
237 </dependency>
238 <dependency>
239 <groupId>org.springframework</groupId>
240 <artifactId>spring-context-support</artifactId>
241 <version>4.0.5.RELEASE</version>
242 </dependency>
243
244 <!-- apparently this order prevents the spring schemas from being overriden in META-INF/spring.schemas, thus must stay like this
245 -->
246 <dependency>
247 <groupId>org.springframework</groupId>
248 <artifactId>spring-aop</artifactId>
249 <version>4.0.5.RELEASE</version>
250 </dependency>
251 <dependency>
252 <groupId>org.springframework</groupId>
253 <artifactId>spring-aspects</artifactId>
254 <version>4.0.5.RELEASE</version>
255 </dependency>
256 <dependency>
257 <groupId>commons-collections</groupId>
258 <artifactId>commons-collections</artifactId>
259 <version>3.2.1</version>
260 </dependency>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200261 <dependency>
262 <groupId>org.eclipse.jetty</groupId>
263 <artifactId>jetty-server</artifactId>
264 <version>8.1.8.v20121106</version>
265 </dependency>
266 <dependency>
267 <groupId>org.eclipse.jetty</groupId>
268 <artifactId>jetty-servlet</artifactId>
269 <version>8.1.8.v20121106</version>
270 </dependency>
Michael Hanlbadd79c2015-06-19 07:41:03 +0200271 <!--
272 not part of public release
273 <dependency>
274 <groupId>KorAP-graphDB</groupId>
275 <artifactId>KorAP-graphDB</artifactId>
276 <version>1.0-SNAPSHOT</version>
277 <exclusions>
278 <exclusion>
279 <groupId>org.antlr</groupId>
280 <artifactId>antlr4-runtime</artifactId>
281 </exclusion>
282 <exclusion>
283 <groupId>org.glassfish.jersey.core</groupId>
284 <artifactId>jersey-client</artifactId>
285 </exclusion>
286 <exclusion>
287 <groupId>org.glassfish.jersey.containers</groupId>
288 <artifactId>jersey-container-grizzly2-http</artifactId>
289 </exclusion>
290 <exclusion>
291 <groupId>org.glassfish.jersey.core</groupId>
292 <artifactId>jersey-common</artifactId>
293 </exclusion>
294 <exclusion>
295 <groupId>org.glassfish.jersey.core</groupId>
296 <artifactId>jersey-server</artifactId>
297 </exclusion>
298 </exclusions>
299 </dependency>
300 -->
Michael Hanlca740d72015-06-16 10:04:58 +0200301 </dependencies>
302
303</project>