blob: 2017c4fe65837dbaf745028274fa0883fa2f5b8f [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>
Akron1e9a2c42021-09-07 10:21:20 +02007 <version>0.2.7</version>
hebastae2bd6e42020-03-03 19:07:20 +01008 <name>KalamarExportPlugin</name>
Akron44064ac2021-09-07 11:23:12 +02009 <url>https://korap.ids-mannheim.de/</url>
hebastae2bd6e42020-03-03 19:07:20 +010010
Akronb87af2f2020-09-24 14:38:02 +020011 <properties>
Akroncc148002020-11-27 15:57:28 +010012 <java.version>1.8</java.version>
Marc Kupietz81097742022-03-27 11:14:47 +020013 <jetty.version>9.4.45.v20220203</jetty.version>
Marc Kupietz261b63a2022-03-27 11:15:28 +020014 <jersey.version>2.35</jersey.version>
Akron0f4a5a32021-09-07 11:27:49 +020015 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Akronb87af2f2020-09-24 14:38:02 +020017 </properties>
hebastae2bd6e42020-03-03 19:07:20 +010018
Akronb87af2f2020-09-24 14:38:02 +020019 <dependencies>
20 <dependency>
21 <groupId>junit</groupId>
22 <artifactId>junit</artifactId>
Akron1e9a2c42021-09-07 10:21:20 +020023 <version>4.13.2</version>
Akronb87af2f2020-09-24 14:38:02 +020024 </dependency>
Marc Kupietz94b14c32022-03-26 22:57:17 +010025
26 <dependency>
27 <groupId>org.apache.maven.plugins</groupId>
28 <artifactId>maven-surefire-plugin</artifactId>
29 <version>3.0.0-M5</version>
30 <type>maven-plugin</type>
31 </dependency>
hebastae0496762020-03-30 00:11:01 +020032
Akronb87af2f2020-09-24 14:38:02 +020033 <dependency>
34 <groupId>com.fasterxml.jackson.core</groupId>
35 <artifactId>jackson-databind</artifactId>
Marc Kupietz1906dfb2022-03-26 17:31:07 +010036 <version>2.13.2.1</version>
Akronb87af2f2020-09-24 14:38:02 +020037 </dependency>
Akron28214a52020-11-19 14:22:07 +010038
Akronb87af2f2020-09-24 14:38:02 +020039 <!-- jetty -->
40 <dependency>
41 <groupId>org.eclipse.jetty</groupId>
42 <artifactId>jetty-server</artifactId>
43 <version>${jetty.version}</version>
44 </dependency>
45 <dependency>
46 <groupId>org.eclipse.jetty</groupId>
47 <artifactId>jetty-servlet</artifactId>
48 <version>${jetty.version}</version>
49 </dependency>
hebastae2bd6e42020-03-03 19:07:20 +010050
Akronb87af2f2020-09-24 14:38:02 +020051 <dependency>
52 <groupId>org.glassfish.jersey.core</groupId>
53 <artifactId>jersey-server</artifactId>
54 <version>${jersey.version}</version>
55 </dependency>
56 <dependency>
57 <groupId>org.glassfish.jersey.core</groupId>
58 <artifactId>jersey-client</artifactId>
59 <version>${jersey.version}</version>
60 </dependency>
61 <dependency>
62 <groupId>org.glassfish.jersey.inject</groupId>
63 <artifactId>jersey-hk2</artifactId>
64 <version>${jersey.version}</version>
65 </dependency>
66 <dependency>
67 <groupId>org.glassfish.jersey.containers</groupId>
Akroncc148002020-11-27 15:57:28 +010068 <artifactId>jersey-container-servlet</artifactId>
Akronb87af2f2020-09-24 14:38:02 +020069 <version>${jersey.version}</version>
Akroncc148002020-11-27 15:57:28 +010070 </dependency>
Akronb87af2f2020-09-24 14:38:02 +020071
72 <!-- Jersey test framework -->
73 <dependency>
74 <groupId>org.glassfish.jersey.test-framework</groupId>
75 <artifactId>jersey-test-framework-core</artifactId>
76 <version>${jersey.version}</version>
77 </dependency>
78 <dependency>
79 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
80 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
81 <version>${jersey.version}</version>
82 <scope>test</scope>
83 </dependency>
84
85 <!-- Mock server framework -->
86 <dependency>
Akroncc148002020-11-27 15:57:28 +010087 <groupId>org.mock-server</groupId>
Akronb87af2f2020-09-24 14:38:02 +020088 <artifactId>mockserver-netty</artifactId>
Marc Kupietz944c1322022-03-27 11:17:04 +020089 <version>5.6.1</version>
Akroncc148002020-11-27 15:57:28 +010090 <scope>test</scope>
Akronb87af2f2020-09-24 14:38:02 +020091 </dependency>
Akronbb076c72020-09-28 14:39:15 +020092
93 <!-- Template engine -->
94 <!-- I wasn't able to get this working with jersey-mvc-freemarker ... -->
95 <dependency>
96 <groupId>org.freemarker</groupId>
97 <artifactId>freemarker</artifactId>
98 <version>2.3.30</version>
99 </dependency>
Akron03ea46c2020-11-18 14:59:30 +0100100
101 <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/cobertura-maven-plugin -->
102 <dependency>
103 <groupId>org.codehaus.mojo</groupId>
104 <artifactId>cobertura-maven-plugin</artifactId>
105 <version>2.7</version>
106 <scope>test</scope>
107 </dependency>
Akron69cd35d2020-11-20 13:17:31 +0100108
Akrond0b1cfe2020-11-20 19:26:52 +0100109 <!-- https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-sse -->
110 <dependency>
111 <groupId>org.glassfish.jersey.media</groupId>
112 <artifactId>jersey-media-sse</artifactId>
113 <version>${jersey.version}</version>
114 </dependency>
115
Akron35881012020-11-24 20:05:06 +0100116 <dependency>
117 <groupId>commons-io</groupId>
118 <artifactId>commons-io</artifactId>
dependabot[bot]c48f4e52022-03-26 16:52:16 +0000119 <version>2.11.0</version>
Akron35881012020-11-24 20:05:06 +0100120 </dependency>
Akrona241a472021-04-27 18:55:58 +0200121
122 <!-- Logging -->
123 <dependency>
124 <groupId>org.tinylog</groupId>
125 <artifactId>tinylog-impl</artifactId>
126 <version>2.4.0-M1</version>
127 </dependency>
128 <dependency>
129 <groupId>org.tinylog</groupId>
130 <artifactId>tinylog-api</artifactId>
dependabot[bot]9e5ed892022-03-26 16:51:47 +0000131 <version>2.5.0-M1.1</version>
Akrona241a472021-04-27 18:55:58 +0200132 </dependency>
Akronefcc8212021-07-23 12:06:29 +0200133
134 <!-- API, java.xml.bind module -->
135 <dependency>
136 <groupId>javax.xml.bind</groupId>
137 <artifactId>jaxb-api</artifactId>
138 <version>2.3.1</version>
139 </dependency>
140
Akronb87af2f2020-09-24 14:38:02 +0200141 </dependencies>
142
143 <build>
144 <plugins>
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-shade-plugin</artifactId>
148 <version>3.2.4</version>
149 <configuration>
150 <filters>
151 <filter>
152 <artifact>*:*</artifact>
153 <excludes>
154 <exclude>META-INF/*.SF</exclude>
155 <exclude>META-INF/*.DSA</exclude>
156 <exclude>META-INF/*.RSA</exclude>
157 </excludes>
158 </filter>
159 </filters>
160 </configuration>
161 <executions>
162 <execution>
163 <goals>
164 <goal>shade</goal>
165 </goals>
166 <configuration>
167 <transformers>
168 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
169 <transformer
170 implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'>
171 <manifestEntries>
172 <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class>
173 </manifestEntries>
174 </transformer>
175 <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
176 <resource>resources</resource>
177 <file>assets/test.txt</file>
178 </transformer>
179 </transformers>
180 </configuration>
181 </execution>
182 </executions>
183 </plugin>
Akrond0b1cfe2020-11-20 19:26:52 +0100184
185 <plugin>
Akroncc148002020-11-27 15:57:28 +0100186 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]16414742022-03-26 16:51:08 +0000187 <version>3.10.1</version>
Akroncc148002020-11-27 15:57:28 +0100188 <inherited>true</inherited>
189 <configuration>
190 <showWarnings>true</showWarnings>
191 <source>${java.version}</source>
192 <target>${java.version}</target>
193 </configuration>
194 </plugin>
Akrond0b1cfe2020-11-20 19:26:52 +0100195
Akronb87af2f2020-09-24 14:38:02 +0200196 <plugin>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-resources-plugin</artifactId>
199 <version>3.2.0</version>
200 <configuration>
201 <encoding>UTF-8</encoding>
202 </configuration>
203 <executions>
204 <execution>
205 <goals>
206 <goal>testResources</goal>
207 </goals>
208 <configuration>
209 <resources>
210 <resource>
211 <directory>src/main/resources</directory>
212 </resource>
213 <resource>
214 <directory>src/test/resources</directory>
215 </resource>
216 </resources>
217 </configuration>
218 </execution>
219 </executions>
220 </plugin>
Akron03ea46c2020-11-18 14:59:30 +0100221 <plugin>
Akroncc148002020-11-27 15:57:28 +0100222 <groupId>org.codehaus.mojo</groupId>
223 <artifactId>cobertura-maven-plugin</artifactId>
224 <version>2.7</version>
225 <configuration>
226 <formats>
227 <format>html</format>
228 <format>xml</format>
229 </formats>
230 <check></check>
231 </configuration>
232 <executions>
233 <execution>
234 <goals>
235 <goal>clean</goal>
236 </goals>
237 </execution>
238 </executions>
239 </plugin>
Marc Kupietzd475d712022-03-26 22:31:11 +0100240 <plugin>
241 <groupId>org.apache.maven.plugins</groupId>
242 <artifactId>maven-surefire-plugin</artifactId>
Marc Kupietz94b14c32022-03-26 22:57:17 +0100243 <version>3.0.0-M5</version>
Marc Kupietzd475d712022-03-26 22:31:11 +0100244 <configuration>
245 <argLine>-Dfile.encoding=UTF-8</argLine>
246 </configuration>
247 </plugin>
Akroncc148002020-11-27 15:57:28 +0100248 </plugins>
Akronb87af2f2020-09-24 14:38:02 +0200249 </build>
hebastae2bd6e42020-03-03 19:07:20 +0100250</project>