blob: 50ea1e2425918a2dc69572695ba880e3c5ed7ab3 [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>
Akron235671b2021-05-07 12:13:49 +02007 <version>0.2.5</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>
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>
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>
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>
Akron35881012020-11-24 20:05:06 +0100124
Akronb87af2f2020-09-24 14:38:02 +0200125 </dependencies>
126
127 <build>
128 <plugins>
129 <plugin>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-shade-plugin</artifactId>
132 <version>3.2.4</version>
133 <configuration>
134 <filters>
135 <filter>
136 <artifact>*:*</artifact>
137 <excludes>
138 <exclude>META-INF/*.SF</exclude>
139 <exclude>META-INF/*.DSA</exclude>
140 <exclude>META-INF/*.RSA</exclude>
141 </excludes>
142 </filter>
143 </filters>
144 </configuration>
145 <executions>
146 <execution>
147 <goals>
148 <goal>shade</goal>
149 </goals>
150 <configuration>
151 <transformers>
152 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
153 <transformer
154 implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'>
155 <manifestEntries>
156 <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class>
157 </manifestEntries>
158 </transformer>
159 <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
160 <resource>resources</resource>
161 <file>assets/test.txt</file>
162 </transformer>
163 </transformers>
164 </configuration>
165 </execution>
166 </executions>
167 </plugin>
Akrond0b1cfe2020-11-20 19:26:52 +0100168
169 <plugin>
Akroncc148002020-11-27 15:57:28 +0100170 <artifactId>maven-compiler-plugin</artifactId>
171 <version>3.8.1</version>
172 <inherited>true</inherited>
173 <configuration>
174 <showWarnings>true</showWarnings>
175 <source>${java.version}</source>
176 <target>${java.version}</target>
177 </configuration>
178 </plugin>
Akrond0b1cfe2020-11-20 19:26:52 +0100179
Akronb87af2f2020-09-24 14:38:02 +0200180 <plugin>
181 <groupId>org.apache.maven.plugins</groupId>
182 <artifactId>maven-resources-plugin</artifactId>
183 <version>3.2.0</version>
184 <configuration>
185 <encoding>UTF-8</encoding>
186 </configuration>
187 <executions>
188 <execution>
189 <goals>
190 <goal>testResources</goal>
191 </goals>
192 <configuration>
193 <resources>
194 <resource>
195 <directory>src/main/resources</directory>
196 </resource>
197 <resource>
198 <directory>src/test/resources</directory>
199 </resource>
200 </resources>
201 </configuration>
202 </execution>
203 </executions>
204 </plugin>
Akron03ea46c2020-11-18 14:59:30 +0100205 <plugin>
Akroncc148002020-11-27 15:57:28 +0100206 <groupId>org.codehaus.mojo</groupId>
207 <artifactId>cobertura-maven-plugin</artifactId>
208 <version>2.7</version>
209 <configuration>
210 <formats>
211 <format>html</format>
212 <format>xml</format>
213 </formats>
214 <check></check>
215 </configuration>
216 <executions>
217 <execution>
218 <goals>
219 <goal>clean</goal>
220 </goals>
221 </execution>
222 </executions>
223 </plugin>
224 </plugins>
Akronb87af2f2020-09-24 14:38:02 +0200225 </build>
hebastae2bd6e42020-03-03 19:07:20 +0100226</project>