blob: 5b9d88d5db0894494639efea9a11c5f0a4679a97 [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>
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>
Akron1e9a2c42021-09-07 10:21:20 +020021 <version>4.13.2</version>
Akronb87af2f2020-09-24 14:38:02 +020022 </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>
58 <groupId>org.glassfish.jersey.containers</groupId>
Akroncc148002020-11-27 15:57:28 +010059 <artifactId>jersey-container-servlet</artifactId>
Akronb87af2f2020-09-24 14:38:02 +020060 <version>${jersey.version}</version>
Akroncc148002020-11-27 15:57:28 +010061 </dependency>
Akronb87af2f2020-09-24 14:38:02 +020062
63 <!-- Jersey test framework -->
64 <dependency>
65 <groupId>org.glassfish.jersey.test-framework</groupId>
66 <artifactId>jersey-test-framework-core</artifactId>
67 <version>${jersey.version}</version>
68 </dependency>
69 <dependency>
70 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
71 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
72 <version>${jersey.version}</version>
73 <scope>test</scope>
74 </dependency>
75
76 <!-- Mock server framework -->
77 <dependency>
Akroncc148002020-11-27 15:57:28 +010078 <groupId>org.mock-server</groupId>
Akronb87af2f2020-09-24 14:38:02 +020079 <artifactId>mockserver-netty</artifactId>
Akron1fe2ba82020-11-12 18:11:10 +010080 <version>5.1.1</version>
Akroncc148002020-11-27 15:57:28 +010081 <scope>test</scope>
Akronb87af2f2020-09-24 14:38:02 +020082 </dependency>
Akronbb076c72020-09-28 14:39:15 +020083
84 <!-- Template engine -->
85 <!-- I wasn't able to get this working with jersey-mvc-freemarker ... -->
86 <dependency>
87 <groupId>org.freemarker</groupId>
88 <artifactId>freemarker</artifactId>
89 <version>2.3.30</version>
90 </dependency>
Akron03ea46c2020-11-18 14:59:30 +010091
92 <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/cobertura-maven-plugin -->
93 <dependency>
94 <groupId>org.codehaus.mojo</groupId>
95 <artifactId>cobertura-maven-plugin</artifactId>
96 <version>2.7</version>
97 <scope>test</scope>
98 </dependency>
Akron69cd35d2020-11-20 13:17:31 +010099
Akrond0b1cfe2020-11-20 19:26:52 +0100100 <!-- https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-sse -->
101 <dependency>
102 <groupId>org.glassfish.jersey.media</groupId>
103 <artifactId>jersey-media-sse</artifactId>
104 <version>${jersey.version}</version>
105 </dependency>
106
Akron35881012020-11-24 20:05:06 +0100107 <dependency>
108 <groupId>commons-io</groupId>
109 <artifactId>commons-io</artifactId>
110 <version>2.8.0</version>
111 </dependency>
Akrona241a472021-04-27 18:55:58 +0200112
113 <!-- Logging -->
114 <dependency>
115 <groupId>org.tinylog</groupId>
116 <artifactId>tinylog-impl</artifactId>
117 <version>2.4.0-M1</version>
118 </dependency>
119 <dependency>
120 <groupId>org.tinylog</groupId>
121 <artifactId>tinylog-api</artifactId>
122 <version>2.4.0-M1</version>
123 </dependency>
Akronefcc8212021-07-23 12:06:29 +0200124
125 <!-- API, java.xml.bind module -->
126 <dependency>
127 <groupId>javax.xml.bind</groupId>
128 <artifactId>jaxb-api</artifactId>
129 <version>2.3.1</version>
130 </dependency>
131
Akronb87af2f2020-09-24 14:38:02 +0200132 </dependencies>
133
134 <build>
135 <plugins>
136 <plugin>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-shade-plugin</artifactId>
139 <version>3.2.4</version>
140 <configuration>
141 <filters>
142 <filter>
143 <artifact>*:*</artifact>
144 <excludes>
145 <exclude>META-INF/*.SF</exclude>
146 <exclude>META-INF/*.DSA</exclude>
147 <exclude>META-INF/*.RSA</exclude>
148 </excludes>
149 </filter>
150 </filters>
151 </configuration>
152 <executions>
153 <execution>
154 <goals>
155 <goal>shade</goal>
156 </goals>
157 <configuration>
158 <transformers>
159 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
160 <transformer
161 implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'>
162 <manifestEntries>
163 <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class>
164 </manifestEntries>
165 </transformer>
166 <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
167 <resource>resources</resource>
168 <file>assets/test.txt</file>
169 </transformer>
170 </transformers>
171 </configuration>
172 </execution>
173 </executions>
174 </plugin>
Akrond0b1cfe2020-11-20 19:26:52 +0100175
176 <plugin>
Akroncc148002020-11-27 15:57:28 +0100177 <artifactId>maven-compiler-plugin</artifactId>
178 <version>3.8.1</version>
179 <inherited>true</inherited>
180 <configuration>
181 <showWarnings>true</showWarnings>
182 <source>${java.version}</source>
183 <target>${java.version}</target>
184 </configuration>
185 </plugin>
Akrond0b1cfe2020-11-20 19:26:52 +0100186
Akronb87af2f2020-09-24 14:38:02 +0200187 <plugin>
188 <groupId>org.apache.maven.plugins</groupId>
189 <artifactId>maven-resources-plugin</artifactId>
190 <version>3.2.0</version>
191 <configuration>
192 <encoding>UTF-8</encoding>
193 </configuration>
194 <executions>
195 <execution>
196 <goals>
197 <goal>testResources</goal>
198 </goals>
199 <configuration>
200 <resources>
201 <resource>
202 <directory>src/main/resources</directory>
203 </resource>
204 <resource>
205 <directory>src/test/resources</directory>
206 </resource>
207 </resources>
208 </configuration>
209 </execution>
210 </executions>
211 </plugin>
Akron03ea46c2020-11-18 14:59:30 +0100212 <plugin>
Akroncc148002020-11-27 15:57:28 +0100213 <groupId>org.codehaus.mojo</groupId>
214 <artifactId>cobertura-maven-plugin</artifactId>
215 <version>2.7</version>
216 <configuration>
217 <formats>
218 <format>html</format>
219 <format>xml</format>
220 </formats>
221 <check></check>
222 </configuration>
223 <executions>
224 <execution>
225 <goals>
226 <goal>clean</goal>
227 </goals>
228 </execution>
229 </executions>
230 </plugin>
231 </plugins>
Akronb87af2f2020-09-24 14:38:02 +0200232 </build>
hebastae2bd6e42020-03-03 19:07:20 +0100233</project>