blob: 933041065a38dc81f7996e5adce532364580f6fb [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>
Helge00da5292024-06-19 18:26:52 +02007 <version>0.3</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>
Marc Kupietza2a17972022-03-27 12:03:48 +020012 <java.version>17</java.version>
13 <jetty.version>11.0.12</jetty.version>
dependabot[bot]8ca92762024-06-20 10:03:38 +000014 <jersey.version>3.1.7</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>
Akronb87af2f2020-09-24 14:38:02 +020027 <groupId>com.fasterxml.jackson.core</groupId>
28 <artifactId>jackson-databind</artifactId>
dependabot[bot]71c0ee42024-07-08 13:04:24 +000029 <version>2.17.2</version>
Akronb87af2f2020-09-24 14:38:02 +020030 </dependency>
Akron28214a52020-11-19 14:22:07 +010031
Akronb87af2f2020-09-24 14:38:02 +020032 <!-- jetty -->
33 <dependency>
34 <groupId>org.eclipse.jetty</groupId>
35 <artifactId>jetty-server</artifactId>
36 <version>${jetty.version}</version>
37 </dependency>
38 <dependency>
39 <groupId>org.eclipse.jetty</groupId>
40 <artifactId>jetty-servlet</artifactId>
41 <version>${jetty.version}</version>
42 </dependency>
hebastae2bd6e42020-03-03 19:07:20 +010043
Akronb87af2f2020-09-24 14:38:02 +020044 <dependency>
45 <groupId>org.glassfish.jersey.core</groupId>
46 <artifactId>jersey-server</artifactId>
47 <version>${jersey.version}</version>
48 </dependency>
49 <dependency>
50 <groupId>org.glassfish.jersey.core</groupId>
51 <artifactId>jersey-client</artifactId>
52 <version>${jersey.version}</version>
53 </dependency>
54 <dependency>
55 <groupId>org.glassfish.jersey.inject</groupId>
56 <artifactId>jersey-hk2</artifactId>
57 <version>${jersey.version}</version>
58 </dependency>
59 <dependency>
60 <groupId>org.glassfish.jersey.containers</groupId>
Akroncc148002020-11-27 15:57:28 +010061 <artifactId>jersey-container-servlet</artifactId>
Akronb87af2f2020-09-24 14:38:02 +020062 <version>${jersey.version}</version>
Akroncc148002020-11-27 15:57:28 +010063 </dependency>
Akronb87af2f2020-09-24 14:38:02 +020064
65 <!-- Jersey test framework -->
66 <dependency>
67 <groupId>org.glassfish.jersey.test-framework</groupId>
68 <artifactId>jersey-test-framework-core</artifactId>
69 <version>${jersey.version}</version>
70 </dependency>
71 <dependency>
72 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
73 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
74 <version>${jersey.version}</version>
75 <scope>test</scope>
76 </dependency>
77
78 <!-- Mock server framework -->
79 <dependency>
Akroncc148002020-11-27 15:57:28 +010080 <groupId>org.mock-server</groupId>
Akronb87af2f2020-09-24 14:38:02 +020081 <artifactId>mockserver-netty</artifactId>
dependabot[bot]2afd3a92023-01-12 13:18:06 +000082 <version>5.15.0</version>
Akroncc148002020-11-27 15:57:28 +010083 <scope>test</scope>
Akronb87af2f2020-09-24 14:38:02 +020084 </dependency>
Akronbb076c72020-09-28 14:39:15 +020085
86 <!-- Template engine -->
87 <!-- I wasn't able to get this working with jersey-mvc-freemarker ... -->
88 <dependency>
89 <groupId>org.freemarker</groupId>
90 <artifactId>freemarker</artifactId>
dependabot[bot]b9110d72024-06-03 13:22:21 +000091 <version>2.3.33</version>
Akronbb076c72020-09-28 14:39:15 +020092 </dependency>
Akron03ea46c2020-11-18 14:59:30 +010093
Akrond0b1cfe2020-11-20 19:26:52 +010094 <!-- https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-sse -->
95 <dependency>
96 <groupId>org.glassfish.jersey.media</groupId>
97 <artifactId>jersey-media-sse</artifactId>
98 <version>${jersey.version}</version>
99 </dependency>
100
Akron35881012020-11-24 20:05:06 +0100101 <dependency>
102 <groupId>commons-io</groupId>
103 <artifactId>commons-io</artifactId>
dependabot[bot]15dcfb52024-04-09 13:06:47 +0000104 <version>2.16.1</version>
Akron35881012020-11-24 20:05:06 +0100105 </dependency>
Akrona241a472021-04-27 18:55:58 +0200106
107 <!-- Logging -->
108 <dependency>
109 <groupId>org.tinylog</groupId>
110 <artifactId>tinylog-impl</artifactId>
dependabot[bot]aa947fe2024-02-01 13:05:04 +0000111 <version>2.7.0</version>
Akrona241a472021-04-27 18:55:58 +0200112 </dependency>
113 <dependency>
114 <groupId>org.tinylog</groupId>
115 <artifactId>tinylog-api</artifactId>
dependabot[bot]9f5c1de2024-02-01 13:04:59 +0000116 <version>2.7.0</version>
Akrona241a472021-04-27 18:55:58 +0200117 </dependency>
Akron8dbb3b12022-11-29 11:19:32 +0100118 <dependency>
119 <groupId>ch.qos.logback</groupId>
120 <artifactId>logback-classic</artifactId>
dependabot[bot]3c64fe42024-06-24 14:14:53 +0000121 <version>1.5.6</version>
Akron8dbb3b12022-11-29 11:19:32 +0100122 <scope>test</scope>
123 </dependency>
124 <dependency>
125 <groupId>org.slf4j</groupId>
126 <artifactId>slf4j-api</artifactId>
dependabot[bot]3d9642e2024-04-15 13:44:50 +0000127 <version>2.0.13</version>
Akron8dbb3b12022-11-29 11:19:32 +0100128 </dependency>
129
130
Akronefcc8212021-07-23 12:06:29 +0200131
132 <!-- API, java.xml.bind module -->
133 <dependency>
134 <groupId>javax.xml.bind</groupId>
135 <artifactId>jaxb-api</artifactId>
136 <version>2.3.1</version>
137 </dependency>
138
Akronb87af2f2020-09-24 14:38:02 +0200139 </dependencies>
140
141 <build>
Helge266d91b2024-01-10 13:37:36 +0100142 <resources>
143 <resource>
144 <directory>src/main/resources</directory>
145 <filtering>true</filtering>
146 </resource>
147 </resources>
Akronb87af2f2020-09-24 14:38:02 +0200148 <plugins>
149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-shade-plugin</artifactId>
dependabot[bot]96ecc832024-05-31 13:07:10 +0000152 <version>3.6.0</version>
Akronb87af2f2020-09-24 14:38:02 +0200153 <configuration>
154 <filters>
155 <filter>
156 <artifact>*:*</artifact>
Helged061cd92023-03-22 19:33:04 +0100157 <excludes>
158 <exclude>module-info.class</exclude>
Akronb87af2f2020-09-24 14:38:02 +0200159 <exclude>META-INF/*.SF</exclude>
160 <exclude>META-INF/*.DSA</exclude>
161 <exclude>META-INF/*.RSA</exclude>
162 </excludes>
163 </filter>
164 </filters>
165 </configuration>
166 <executions>
167 <execution>
168 <goals>
169 <goal>shade</goal>
170 </goals>
171 <configuration>
172 <transformers>
173 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
174 <transformer
175 implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'>
176 <manifestEntries>
177 <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class>
178 </manifestEntries>
179 </transformer>
180 <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
181 <resource>resources</resource>
182 <file>assets/test.txt</file>
183 </transformer>
184 </transformers>
185 </configuration>
186 </execution>
187 </executions>
188 </plugin>
Akrond0b1cfe2020-11-20 19:26:52 +0100189
190 <plugin>
Akroncc148002020-11-27 15:57:28 +0100191 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]c9267b72024-03-19 13:32:24 +0000192 <version>3.13.0</version>
Akroncc148002020-11-27 15:57:28 +0100193 <inherited>true</inherited>
194 <configuration>
195 <showWarnings>true</showWarnings>
196 <source>${java.version}</source>
197 <target>${java.version}</target>
198 </configuration>
199 </plugin>
Akrond0b1cfe2020-11-20 19:26:52 +0100200
Akronb87af2f2020-09-24 14:38:02 +0200201 <plugin>
202 <groupId>org.apache.maven.plugins</groupId>
203 <artifactId>maven-resources-plugin</artifactId>
dependabot[bot]64fe13f2023-03-24 14:01:24 +0000204 <version>3.3.1</version>
Akronb87af2f2020-09-24 14:38:02 +0200205 <configuration>
206 <encoding>UTF-8</encoding>
207 </configuration>
208 <executions>
209 <execution>
210 <goals>
211 <goal>testResources</goal>
212 </goals>
213 <configuration>
214 <resources>
215 <resource>
216 <directory>src/main/resources</directory>
217 </resource>
218 <resource>
219 <directory>src/test/resources</directory>
220 </resource>
221 </resources>
222 </configuration>
223 </execution>
224 </executions>
225 </plugin>
Helgea6a5ea12024-07-15 14:16:05 +0200226
Akron03ea46c2020-11-18 14:59:30 +0100227 <plugin>
Marc Kupietzd475d712022-03-26 22:31:11 +0100228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-surefire-plugin</artifactId>
Marc Kupietz94b14c32022-03-26 22:57:17 +0100230 <version>3.0.0-M5</version>
Helgea6a5ea12024-07-15 14:16:05 +0200231 <dependencies>
232 <dependency>
233 <groupId>org.apache.maven.surefire</groupId>
234 <artifactId>surefire-junit4</artifactId>
235 <version>3.0.0-M5</version>
236 </dependency>
237 </dependencies>
Marc Kupietzd475d712022-03-26 22:31:11 +0100238 <configuration>
239 <argLine>-Dfile.encoding=UTF-8</argLine>
240 </configuration>
241 </plugin>
Akroncc148002020-11-27 15:57:28 +0100242 </plugins>
Helgea6a5ea12024-07-15 14:16:05 +0200243
Akronb87af2f2020-09-24 14:38:02 +0200244 </build>
hebastae2bd6e42020-03-03 19:07:20 +0100245</project>