blob: 245933493d9064f9b63709f6a51b4a570322ecfe [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>
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>
hebastae0496762020-03-30 00:11:01 +020025
Akronb87af2f2020-09-24 14:38:02 +020026 <dependency>
27 <groupId>com.fasterxml.jackson.core</groupId>
28 <artifactId>jackson-databind</artifactId>
Akron3750a712021-09-07 10:14:15 +020029 <version>2.12.5</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>
Akron1fe2ba82020-11-12 18:11:10 +010082 <version>5.1.1</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>
91 <version>2.3.30</version>
92 </dependency>
Akron03ea46c2020-11-18 14:59:30 +010093
94 <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/cobertura-maven-plugin -->
95 <dependency>
96 <groupId>org.codehaus.mojo</groupId>
97 <artifactId>cobertura-maven-plugin</artifactId>
98 <version>2.7</version>
99 <scope>test</scope>
100 </dependency>
Akron69cd35d2020-11-20 13:17:31 +0100101
Akrond0b1cfe2020-11-20 19:26:52 +0100102 <!-- https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-sse -->
103 <dependency>
104 <groupId>org.glassfish.jersey.media</groupId>
105 <artifactId>jersey-media-sse</artifactId>
106 <version>${jersey.version}</version>
107 </dependency>
108
Akron35881012020-11-24 20:05:06 +0100109 <dependency>
110 <groupId>commons-io</groupId>
111 <artifactId>commons-io</artifactId>
112 <version>2.8.0</version>
113 </dependency>
Akrona241a472021-04-27 18:55:58 +0200114
115 <!-- Logging -->
116 <dependency>
117 <groupId>org.tinylog</groupId>
118 <artifactId>tinylog-impl</artifactId>
119 <version>2.4.0-M1</version>
120 </dependency>
121 <dependency>
122 <groupId>org.tinylog</groupId>
123 <artifactId>tinylog-api</artifactId>
124 <version>2.4.0-M1</version>
125 </dependency>
Akronefcc8212021-07-23 12:06:29 +0200126
127 <!-- API, java.xml.bind module -->
128 <dependency>
129 <groupId>javax.xml.bind</groupId>
130 <artifactId>jaxb-api</artifactId>
131 <version>2.3.1</version>
132 </dependency>
133
Akronb87af2f2020-09-24 14:38:02 +0200134 </dependencies>
135
136 <build>
137 <plugins>
138 <plugin>
139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-shade-plugin</artifactId>
141 <version>3.2.4</version>
142 <configuration>
143 <filters>
144 <filter>
145 <artifact>*:*</artifact>
146 <excludes>
147 <exclude>META-INF/*.SF</exclude>
148 <exclude>META-INF/*.DSA</exclude>
149 <exclude>META-INF/*.RSA</exclude>
150 </excludes>
151 </filter>
152 </filters>
153 </configuration>
154 <executions>
155 <execution>
156 <goals>
157 <goal>shade</goal>
158 </goals>
159 <configuration>
160 <transformers>
161 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
162 <transformer
163 implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'>
164 <manifestEntries>
165 <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class>
166 </manifestEntries>
167 </transformer>
168 <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
169 <resource>resources</resource>
170 <file>assets/test.txt</file>
171 </transformer>
172 </transformers>
173 </configuration>
174 </execution>
175 </executions>
176 </plugin>
Akrond0b1cfe2020-11-20 19:26:52 +0100177
178 <plugin>
Akroncc148002020-11-27 15:57:28 +0100179 <artifactId>maven-compiler-plugin</artifactId>
180 <version>3.8.1</version>
181 <inherited>true</inherited>
182 <configuration>
183 <showWarnings>true</showWarnings>
184 <source>${java.version}</source>
185 <target>${java.version}</target>
186 </configuration>
187 </plugin>
Akrond0b1cfe2020-11-20 19:26:52 +0100188
Akronb87af2f2020-09-24 14:38:02 +0200189 <plugin>
190 <groupId>org.apache.maven.plugins</groupId>
191 <artifactId>maven-resources-plugin</artifactId>
192 <version>3.2.0</version>
193 <configuration>
194 <encoding>UTF-8</encoding>
195 </configuration>
196 <executions>
197 <execution>
198 <goals>
199 <goal>testResources</goal>
200 </goals>
201 <configuration>
202 <resources>
203 <resource>
204 <directory>src/main/resources</directory>
205 </resource>
206 <resource>
207 <directory>src/test/resources</directory>
208 </resource>
209 </resources>
210 </configuration>
211 </execution>
212 </executions>
213 </plugin>
Akron03ea46c2020-11-18 14:59:30 +0100214 <plugin>
Akroncc148002020-11-27 15:57:28 +0100215 <groupId>org.codehaus.mojo</groupId>
216 <artifactId>cobertura-maven-plugin</artifactId>
217 <version>2.7</version>
218 <configuration>
219 <formats>
220 <format>html</format>
221 <format>xml</format>
222 </formats>
223 <check></check>
224 </configuration>
225 <executions>
226 <execution>
227 <goals>
228 <goal>clean</goal>
229 </goals>
230 </execution>
231 </executions>
232 </plugin>
233 </plugins>
Akronb87af2f2020-09-24 14:38:02 +0200234 </build>
hebastae2bd6e42020-03-03 19:07:20 +0100235</project>