blob: 2df4b0b314f4b97e2c8477ea0ffad8326167c1ef [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>
Akron23514892023-11-29 16:25:50 +01007 <version>0.2.10</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>
dependabot[bot]b9a4dab2024-02-14 13:03:01 +000013 <jetty.version>9.4.54.v20240208</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>
dependabot[bot]795667c2024-03-13 13:11:44 +000036 <version>2.17.0</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>
dependabot[bot]2afd3a92023-01-12 13:18:06 +000089 <version>5.15.0</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>
dependabot[bot]96eff8f2023-01-16 13:15:19 +000098 <version>2.3.32</version>
Akronbb076c72020-09-28 14:39:15 +020099 </dependency>
Akron03ea46c2020-11-18 14:59:30 +0100100
Akrond0b1cfe2020-11-20 19:26:52 +0100101 <!-- https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-sse -->
102 <dependency>
103 <groupId>org.glassfish.jersey.media</groupId>
104 <artifactId>jersey-media-sse</artifactId>
105 <version>${jersey.version}</version>
106 </dependency>
107
Akron35881012020-11-24 20:05:06 +0100108 <dependency>
109 <groupId>commons-io</groupId>
110 <artifactId>commons-io</artifactId>
dependabot[bot]7b8f16d2023-11-30 13:20:15 +0000111 <version>2.15.1</version>
Akron35881012020-11-24 20:05:06 +0100112 </dependency>
Akrona241a472021-04-27 18:55:58 +0200113
114 <!-- Logging -->
115 <dependency>
116 <groupId>org.tinylog</groupId>
117 <artifactId>tinylog-impl</artifactId>
dependabot[bot]aa947fe2024-02-01 13:05:04 +0000118 <version>2.7.0</version>
Akrona241a472021-04-27 18:55:58 +0200119 </dependency>
120 <dependency>
121 <groupId>org.tinylog</groupId>
122 <artifactId>tinylog-api</artifactId>
dependabot[bot]9f5c1de2024-02-01 13:04:59 +0000123 <version>2.7.0</version>
Akrona241a472021-04-27 18:55:58 +0200124 </dependency>
Akron8dbb3b12022-11-29 11:19:32 +0100125 <dependency>
126 <groupId>ch.qos.logback</groupId>
127 <artifactId>logback-classic</artifactId>
Akrond1084dc2023-12-06 17:33:09 +0100128 <version>1.3.14</version>
Akron8dbb3b12022-11-29 11:19:32 +0100129 <scope>test</scope>
130 </dependency>
131 <dependency>
132 <groupId>org.slf4j</groupId>
133 <artifactId>slf4j-api</artifactId>
dependabot[bot]ccf52932024-02-06 13:02:51 +0000134 <version>2.0.12</version>
Akron8dbb3b12022-11-29 11:19:32 +0100135 </dependency>
136
137
Akronefcc8212021-07-23 12:06:29 +0200138
139 <!-- API, java.xml.bind module -->
140 <dependency>
141 <groupId>javax.xml.bind</groupId>
142 <artifactId>jaxb-api</artifactId>
143 <version>2.3.1</version>
144 </dependency>
145
Akronb87af2f2020-09-24 14:38:02 +0200146 </dependencies>
147
148 <build>
Helge266d91b2024-01-10 13:37:36 +0100149 <resources>
150 <resource>
151 <directory>src/main/resources</directory>
152 <filtering>true</filtering>
153 </resource>
154 </resources>
Akronb87af2f2020-09-24 14:38:02 +0200155 <plugins>
156 <plugin>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-shade-plugin</artifactId>
dependabot[bot]635d4f22024-02-21 13:56:26 +0000159 <version>3.5.2</version>
Akronb87af2f2020-09-24 14:38:02 +0200160 <configuration>
161 <filters>
162 <filter>
163 <artifact>*:*</artifact>
Helged061cd92023-03-22 19:33:04 +0100164 <excludes>
165 <exclude>module-info.class</exclude>
Akronb87af2f2020-09-24 14:38:02 +0200166 <exclude>META-INF/*.SF</exclude>
167 <exclude>META-INF/*.DSA</exclude>
168 <exclude>META-INF/*.RSA</exclude>
169 </excludes>
170 </filter>
171 </filters>
172 </configuration>
173 <executions>
174 <execution>
175 <goals>
176 <goal>shade</goal>
177 </goals>
178 <configuration>
179 <transformers>
180 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
181 <transformer
182 implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'>
183 <manifestEntries>
184 <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class>
185 </manifestEntries>
186 </transformer>
187 <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
188 <resource>resources</resource>
189 <file>assets/test.txt</file>
190 </transformer>
191 </transformers>
192 </configuration>
193 </execution>
194 </executions>
195 </plugin>
Akrond0b1cfe2020-11-20 19:26:52 +0100196
197 <plugin>
Akroncc148002020-11-27 15:57:28 +0100198 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]c9267b72024-03-19 13:32:24 +0000199 <version>3.13.0</version>
Akroncc148002020-11-27 15:57:28 +0100200 <inherited>true</inherited>
201 <configuration>
202 <showWarnings>true</showWarnings>
203 <source>${java.version}</source>
204 <target>${java.version}</target>
205 </configuration>
206 </plugin>
Akrond0b1cfe2020-11-20 19:26:52 +0100207
Akronb87af2f2020-09-24 14:38:02 +0200208 <plugin>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-resources-plugin</artifactId>
dependabot[bot]64fe13f2023-03-24 14:01:24 +0000211 <version>3.3.1</version>
Akronb87af2f2020-09-24 14:38:02 +0200212 <configuration>
213 <encoding>UTF-8</encoding>
214 </configuration>
215 <executions>
216 <execution>
217 <goals>
218 <goal>testResources</goal>
219 </goals>
220 <configuration>
221 <resources>
222 <resource>
223 <directory>src/main/resources</directory>
224 </resource>
225 <resource>
226 <directory>src/test/resources</directory>
227 </resource>
228 </resources>
229 </configuration>
230 </execution>
231 </executions>
232 </plugin>
Akron03ea46c2020-11-18 14:59:30 +0100233 <plugin>
Marc Kupietzd475d712022-03-26 22:31:11 +0100234 <groupId>org.apache.maven.plugins</groupId>
235 <artifactId>maven-surefire-plugin</artifactId>
Marc Kupietz94b14c32022-03-26 22:57:17 +0100236 <version>3.0.0-M5</version>
Marc Kupietzd475d712022-03-26 22:31:11 +0100237 <configuration>
238 <argLine>-Dfile.encoding=UTF-8</argLine>
239 </configuration>
240 </plugin>
Akroncc148002020-11-27 15:57:28 +0100241 </plugins>
Akronb87af2f2020-09-24 14:38:02 +0200242 </build>
hebastae2bd6e42020-03-03 19:07:20 +0100243</project>