blob: 3cbc0cf616f9a7d153b279bda9dad611637a7c33 [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 Hanlc8729b92015-09-02 12:37:36 +0200162 <scope>provided</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 Hanlc8729b92015-09-02 12:37:36 +0200192
193 <!--<dependency>-->
194 <!--<groupId>org.xerial</groupId>-->
195 <!--<artifactId>sqlite-jdbc</artifactId>-->
196 <!--<version>3.7.2</version>-->
197 <!--</dependency>-->
Michael Hanlca740d72015-06-16 10:04:58 +0200198 <dependency>
199 <groupId>com.nimbusds</groupId>
200 <artifactId>nimbus-jose-jwt</artifactId>
201 <version>2.10.1</version>
202 </dependency>
203
204 <dependency>
205 <groupId>de.ids_mannheim.korap</groupId>
206 <artifactId>Krill</artifactId>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200207 <version>0.53</version>
Michael Hanlca740d72015-06-16 10:04:58 +0200208 <exclusions>
209 <exclusion>
210 <groupId>org.xerial</groupId>
211 <artifactId>sqlite-jdbc</artifactId>
212 </exclusion>
213 </exclusions>
214 </dependency>
215 <dependency>
216 <groupId>org.reflections</groupId>
217 <artifactId>reflections</artifactId>
218 <version>0.9.9-RC1</version>
219 </dependency>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200220 <!-- deprecated? -->
Michael Hanlca740d72015-06-16 10:04:58 +0200221 <dependency>
222 <groupId>com.restfuse</groupId>
223 <artifactId>com.eclipsesource.restfuse</artifactId>
224 <version>1.0.0</version>
225 <scope>provided</scope>
226 </dependency>
Michael Hanl1e18cb42015-08-06 20:57:35 +0200227 <!-- deprecated -->
228 <!--<dependency>-->
229 <!--<groupId>com.jayway.restassured</groupId>-->
230 <!--<artifactId>rest-assured</artifactId>-->
231 <!--<version>2.4.0</version>-->
232 <!--<scope>provided</scope>-->
233 <!--</dependency>-->
Michael Hanlbadd79c2015-06-19 07:41:03 +0200234 <dependency>
235 <groupId>org.springframework</groupId>
236 <artifactId>spring-core</artifactId>
237 <version>4.0.5.RELEASE</version>
238 </dependency>
239 <dependency>
240 <groupId>org.springframework</groupId>
241 <artifactId>spring-context</artifactId>
242 <version>4.0.5.RELEASE</version>
243 </dependency>
244 <dependency>
245 <groupId>org.springframework</groupId>
246 <artifactId>spring-context-support</artifactId>
247 <version>4.0.5.RELEASE</version>
248 </dependency>
249
250 <!-- apparently this order prevents the spring schemas from being overriden in META-INF/spring.schemas, thus must stay like this
251 -->
252 <dependency>
253 <groupId>org.springframework</groupId>
254 <artifactId>spring-aop</artifactId>
255 <version>4.0.5.RELEASE</version>
256 </dependency>
257 <dependency>
258 <groupId>org.springframework</groupId>
259 <artifactId>spring-aspects</artifactId>
260 <version>4.0.5.RELEASE</version>
261 </dependency>
262 <dependency>
263 <groupId>commons-collections</groupId>
264 <artifactId>commons-collections</artifactId>
265 <version>3.2.1</version>
266 </dependency>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200267 <dependency>
268 <groupId>org.eclipse.jetty</groupId>
269 <artifactId>jetty-server</artifactId>
270 <version>8.1.8.v20121106</version>
271 </dependency>
272 <dependency>
273 <groupId>org.eclipse.jetty</groupId>
274 <artifactId>jetty-servlet</artifactId>
275 <version>8.1.8.v20121106</version>
276 </dependency>
Michael Hanlbadd79c2015-06-19 07:41:03 +0200277 <!--
278 not part of public release
279 <dependency>
280 <groupId>KorAP-graphDB</groupId>
281 <artifactId>KorAP-graphDB</artifactId>
282 <version>1.0-SNAPSHOT</version>
283 <exclusions>
284 <exclusion>
285 <groupId>org.antlr</groupId>
286 <artifactId>antlr4-runtime</artifactId>
287 </exclusion>
288 <exclusion>
289 <groupId>org.glassfish.jersey.core</groupId>
290 <artifactId>jersey-client</artifactId>
291 </exclusion>
292 <exclusion>
293 <groupId>org.glassfish.jersey.containers</groupId>
294 <artifactId>jersey-container-grizzly2-http</artifactId>
295 </exclusion>
296 <exclusion>
297 <groupId>org.glassfish.jersey.core</groupId>
298 <artifactId>jersey-common</artifactId>
299 </exclusion>
300 <exclusion>
301 <groupId>org.glassfish.jersey.core</groupId>
302 <artifactId>jersey-server</artifactId>
303 </exclusion>
304 </exclusions>
305 </dependency>
306 -->
Michael Hanlca740d72015-06-16 10:04:58 +0200307 </dependencies>
308
309</project>