blob: 6404e0994140e145973581be4f7b770bd39c719d [file] [log] [blame]
hebastae2bd6e42020-03-03 19:07:20 +01001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Akronb87af2f2020-09-24 14:38:02 +02002 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
hebastae2bd6e42020-03-03 19:07:20 +01003 <modelVersion>4.0.0</modelVersion>
4 <groupId>de.ids_mannheim.korap</groupId>
5 <artifactId>KalamarExportPlugin</artifactId>
6 <packaging>jar</packaging>
Akrona578eb02020-11-26 12:34:17 +01007 <version>0.2.2</version>
hebastae2bd6e42020-03-03 19:07:20 +01008 <name>KalamarExportPlugin</name>
9 <url>http://maven.apache.org</url>
10
Akronb87af2f2020-09-24 14:38:02 +020011 <properties>
Akrond0b1cfe2020-11-20 19:26:52 +010012 <java.version>1.8</java.version>
Akronb87af2f2020-09-24 14:38:02 +020013 <jetty.version>9.4.31.v20200723</jetty.version>
14 <jersey.version>2.27</jersey.version>
15 </properties>
hebastae2bd6e42020-03-03 19:07:20 +010016
Akronb87af2f2020-09-24 14:38:02 +020017 <dependencies>
18 <dependency>
19 <groupId>junit</groupId>
20 <artifactId>junit</artifactId>
21 <version>4.13</version>
22 </dependency>
hebastae0496762020-03-30 00:11:01 +020023
Akronb87af2f2020-09-24 14:38:02 +020024 <dependency>
25 <groupId>com.fasterxml.jackson.core</groupId>
26 <artifactId>jackson-databind</artifactId>
27 <version>2.9.8</version>
28 </dependency>
Akron28214a52020-11-19 14:22:07 +010029
Akronb87af2f2020-09-24 14:38:02 +020030 <!-- jetty -->
31 <dependency>
32 <groupId>org.eclipse.jetty</groupId>
33 <artifactId>jetty-server</artifactId>
34 <version>${jetty.version}</version>
35 </dependency>
36 <dependency>
37 <groupId>org.eclipse.jetty</groupId>
38 <artifactId>jetty-servlet</artifactId>
39 <version>${jetty.version}</version>
40 </dependency>
hebastae2bd6e42020-03-03 19:07:20 +010041
Akronb87af2f2020-09-24 14:38:02 +020042 <dependency>
43 <groupId>org.glassfish.jersey.core</groupId>
44 <artifactId>jersey-server</artifactId>
45 <version>${jersey.version}</version>
46 </dependency>
47 <dependency>
48 <groupId>org.glassfish.jersey.core</groupId>
49 <artifactId>jersey-client</artifactId>
50 <version>${jersey.version}</version>
51 </dependency>
52 <dependency>
53 <groupId>org.glassfish.jersey.inject</groupId>
54 <artifactId>jersey-hk2</artifactId>
55 <version>${jersey.version}</version>
56 </dependency>
57 <dependency>
Akronaf145eb2020-11-24 16:55:47 +010058 <groupId>org.glassfish.jersey.containers</groupId>
59 <artifactId>jersey-container-servlet</artifactId>
60 <version>${jersey.version}</version>
61 </dependency>
62 <!--
63 <dependency>
Akronb87af2f2020-09-24 14:38:02 +020064 <groupId>org.glassfish.jersey.containers</groupId>
65 <artifactId>jersey-container-servlet-core</artifactId>
66 <version>${jersey.version}</version>
Akronaf145eb2020-11-24 16:55:47 +010067 </dependency>
68 -->
Akronb87af2f2020-09-24 14:38:02 +020069
70 <!-- Jersey test framework -->
71 <dependency>
72 <groupId>org.glassfish.jersey.test-framework</groupId>
73 <artifactId>jersey-test-framework-core</artifactId>
74 <version>${jersey.version}</version>
75 </dependency>
76 <dependency>
77 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
78 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
79 <version>${jersey.version}</version>
80 <scope>test</scope>
81 </dependency>
82
83 <!-- Mock server framework -->
84 <dependency>
85 <groupId>org.mock-server</groupId>
86 <artifactId>mockserver-netty</artifactId>
Akron1fe2ba82020-11-12 18:11:10 +010087 <version>5.1.1</version>
Akronb87af2f2020-09-24 14:38:02 +020088 <scope>test</scope>
89 </dependency>
Akronbb076c72020-09-28 14:39:15 +020090
91 <!-- Template engine -->
92 <!-- I wasn't able to get this working with jersey-mvc-freemarker ... -->
93 <dependency>
94 <groupId>org.freemarker</groupId>
95 <artifactId>freemarker</artifactId>
96 <version>2.3.30</version>
97 </dependency>
Akron03ea46c2020-11-18 14:59:30 +010098
99 <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/cobertura-maven-plugin -->
100 <dependency>
101 <groupId>org.codehaus.mojo</groupId>
102 <artifactId>cobertura-maven-plugin</artifactId>
103 <version>2.7</version>
104 <scope>test</scope>
105 </dependency>
Akron69cd35d2020-11-20 13:17:31 +0100106
Akrond0b1cfe2020-11-20 19:26:52 +0100107 <!-- https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-sse -->
108 <dependency>
109 <groupId>org.glassfish.jersey.media</groupId>
110 <artifactId>jersey-media-sse</artifactId>
111 <version>${jersey.version}</version>
112 </dependency>
113
Akron35881012020-11-24 20:05:06 +0100114 <dependency>
115 <groupId>commons-io</groupId>
116 <artifactId>commons-io</artifactId>
117 <version>2.8.0</version>
118 </dependency>
119
Akronb87af2f2020-09-24 14:38:02 +0200120 </dependencies>
121
122 <build>
123 <plugins>
124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-shade-plugin</artifactId>
127 <version>3.2.4</version>
128 <configuration>
129 <filters>
130 <filter>
131 <artifact>*:*</artifact>
132 <excludes>
133 <exclude>META-INF/*.SF</exclude>
134 <exclude>META-INF/*.DSA</exclude>
135 <exclude>META-INF/*.RSA</exclude>
136 </excludes>
137 </filter>
138 </filters>
139 </configuration>
140 <executions>
141 <execution>
142 <goals>
143 <goal>shade</goal>
144 </goals>
145 <configuration>
146 <transformers>
147 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
148 <transformer
149 implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'>
150 <manifestEntries>
151 <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class>
152 </manifestEntries>
153 </transformer>
154 <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
155 <resource>resources</resource>
156 <file>assets/test.txt</file>
157 </transformer>
158 </transformers>
159 </configuration>
160 </execution>
161 </executions>
162 </plugin>
Akrond0b1cfe2020-11-20 19:26:52 +0100163
164 <plugin>
165 <artifactId>maven-compiler-plugin</artifactId>
166 <version>3.8.1</version>
167 <inherited>true</inherited>
168 <configuration>
169 <showWarnings>true</showWarnings>
170 <source>${java.version}</source>
171 <target>${java.version}</target>
172 </configuration>
173 </plugin>
174
Akronb87af2f2020-09-24 14:38:02 +0200175 <plugin>
176 <groupId>org.apache.maven.plugins</groupId>
177 <artifactId>maven-resources-plugin</artifactId>
178 <version>3.2.0</version>
179 <configuration>
180 <encoding>UTF-8</encoding>
181 </configuration>
182 <executions>
183 <execution>
184 <goals>
185 <goal>testResources</goal>
186 </goals>
187 <configuration>
188 <resources>
189 <resource>
190 <directory>src/main/resources</directory>
191 </resource>
192 <resource>
193 <directory>src/test/resources</directory>
194 </resource>
195 </resources>
196 </configuration>
197 </execution>
198 </executions>
199 </plugin>
Akron03ea46c2020-11-18 14:59:30 +0100200 <plugin>
201 <groupId>org.codehaus.mojo</groupId>
202 <artifactId>cobertura-maven-plugin</artifactId>
203 <version>2.7</version>
204 <configuration>
205 <formats>
206 <format>html</format>
207 <format>xml</format>
208 </formats>
209 <check></check>
210 </configuration>
211 <executions>
212 <execution>
213 <goals>
214 <goal>clean</goal>
215 </goals>
216 </execution>
217 </executions>
218 </plugin>
219 </plugins>
Akronb87af2f2020-09-24 14:38:02 +0200220 </build>
hebastae2bd6e42020-03-03 19:07:20 +0100221</project>
222