blob: d5a86f3150d460bd6b4a696a271b05363a308c98 [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>
Akronaf145eb2020-11-24 16:55:47 +01007 <version>0.2.1</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>
Akrond0b1cfe2020-11-20 19:26:52 +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>
Akronaf145eb2020-11-24 16:55:47 +010058 <groupId>org.glassfish.jersey.containers</groupId>
59 <artifactId>jersey-container-servlet</artifactId>
60 <version>${jersey.version}</version>
61 </dependency>
62 <!--
63 <dependency>
Akronb87af2f2020-09-24 14:38:02 +020064 <groupId>org.glassfish.jersey.containers</groupId>
65 <artifactId>jersey-container-servlet-core</artifactId>
66 <version>${jersey.version}</version>
Akronaf145eb2020-11-24 16:55:47 +010067 </dependency>
68 -->
Akronb87af2f2020-09-24 14:38:02 +020069
70 <!-- Jersey test framework -->
71 <dependency>
72 <groupId>org.glassfish.jersey.test-framework</groupId>
73 <artifactId>jersey-test-framework-core</artifactId>
74 <version>${jersey.version}</version>
75 </dependency>
76 <dependency>
77 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
78 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
79 <version>${jersey.version}</version>
80 <scope>test</scope>
81 </dependency>
82
83 <!-- Mock server framework -->
84 <dependency>
85 <groupId>org.mock-server</groupId>
86 <artifactId>mockserver-netty</artifactId>
Akron1fe2ba82020-11-12 18:11:10 +010087 <version>5.1.1</version>
Akronb87af2f2020-09-24 14:38:02 +020088 <scope>test</scope>
89 </dependency>
Akronbb076c72020-09-28 14:39:15 +020090
91 <!-- Template engine -->
92 <!-- I wasn't able to get this working with jersey-mvc-freemarker ... -->
93 <dependency>
94 <groupId>org.freemarker</groupId>
95 <artifactId>freemarker</artifactId>
96 <version>2.3.30</version>
97 </dependency>
Akron03ea46c2020-11-18 14:59:30 +010098
99 <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/cobertura-maven-plugin -->
100 <dependency>
101 <groupId>org.codehaus.mojo</groupId>
102 <artifactId>cobertura-maven-plugin</artifactId>
103 <version>2.7</version>
104 <scope>test</scope>
105 </dependency>
Akron69cd35d2020-11-20 13:17:31 +0100106
Akrond0b1cfe2020-11-20 19:26:52 +0100107 <!-- https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-sse -->
108 <dependency>
109 <groupId>org.glassfish.jersey.media</groupId>
110 <artifactId>jersey-media-sse</artifactId>
111 <version>${jersey.version}</version>
112 </dependency>
113
Akronb87af2f2020-09-24 14:38:02 +0200114 </dependencies>
115
116 <build>
117 <plugins>
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-shade-plugin</artifactId>
121 <version>3.2.4</version>
122 <configuration>
123 <filters>
124 <filter>
125 <artifact>*:*</artifact>
126 <excludes>
127 <exclude>META-INF/*.SF</exclude>
128 <exclude>META-INF/*.DSA</exclude>
129 <exclude>META-INF/*.RSA</exclude>
130 </excludes>
131 </filter>
132 </filters>
133 </configuration>
134 <executions>
135 <execution>
136 <goals>
137 <goal>shade</goal>
138 </goals>
139 <configuration>
140 <transformers>
141 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
142 <transformer
143 implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'>
144 <manifestEntries>
145 <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class>
146 </manifestEntries>
147 </transformer>
148 <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
149 <resource>resources</resource>
150 <file>assets/test.txt</file>
151 </transformer>
152 </transformers>
153 </configuration>
154 </execution>
155 </executions>
156 </plugin>
Akrond0b1cfe2020-11-20 19:26:52 +0100157
158 <plugin>
159 <artifactId>maven-compiler-plugin</artifactId>
160 <version>3.8.1</version>
161 <inherited>true</inherited>
162 <configuration>
163 <showWarnings>true</showWarnings>
164 <source>${java.version}</source>
165 <target>${java.version}</target>
166 </configuration>
167 </plugin>
168
Akronb87af2f2020-09-24 14:38:02 +0200169 <plugin>
170 <groupId>org.apache.maven.plugins</groupId>
171 <artifactId>maven-resources-plugin</artifactId>
172 <version>3.2.0</version>
173 <configuration>
174 <encoding>UTF-8</encoding>
175 </configuration>
176 <executions>
177 <execution>
178 <goals>
179 <goal>testResources</goal>
180 </goals>
181 <configuration>
182 <resources>
183 <resource>
184 <directory>src/main/resources</directory>
185 </resource>
186 <resource>
187 <directory>src/test/resources</directory>
188 </resource>
189 </resources>
190 </configuration>
191 </execution>
192 </executions>
193 </plugin>
Akron03ea46c2020-11-18 14:59:30 +0100194 <plugin>
195 <groupId>org.codehaus.mojo</groupId>
196 <artifactId>cobertura-maven-plugin</artifactId>
197 <version>2.7</version>
198 <configuration>
199 <formats>
200 <format>html</format>
201 <format>xml</format>
202 </formats>
203 <check></check>
204 </configuration>
205 <executions>
206 <execution>
207 <goals>
208 <goal>clean</goal>
209 </goals>
210 </execution>
211 </executions>
212 </plugin>
213 </plugins>
Akronb87af2f2020-09-24 14:38:02 +0200214 </build>
hebastae2bd6e42020-03-03 19:07:20 +0100215</project>
216