blob: 3ca25a0fd9b9f563bf6b2c265e15b347718eabf5 [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>
Akron69cd35d2020-11-20 13:17:31 +01007 <version>0.2.0</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>
58 <groupId>org.glassfish.jersey.containers</groupId>
59 <artifactId>jersey-container-servlet-core</artifactId>
60 <version>${jersey.version}</version>
61 </dependency>
62
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>
78 <groupId>org.mock-server</groupId>
79 <artifactId>mockserver-netty</artifactId>
Akron1fe2ba82020-11-12 18:11:10 +010080 <version>5.1.1</version>
Akronb87af2f2020-09-24 14:38:02 +020081 <scope>test</scope>
82 </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
Akronb87af2f2020-09-24 14:38:02 +0200107 </dependencies>
108
109 <build>
110 <plugins>
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-shade-plugin</artifactId>
114 <version>3.2.4</version>
115 <configuration>
116 <filters>
117 <filter>
118 <artifact>*:*</artifact>
119 <excludes>
120 <exclude>META-INF/*.SF</exclude>
121 <exclude>META-INF/*.DSA</exclude>
122 <exclude>META-INF/*.RSA</exclude>
123 </excludes>
124 </filter>
125 </filters>
126 </configuration>
127 <executions>
128 <execution>
129 <goals>
130 <goal>shade</goal>
131 </goals>
132 <configuration>
133 <transformers>
134 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
135 <transformer
136 implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'>
137 <manifestEntries>
138 <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class>
139 </manifestEntries>
140 </transformer>
141 <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
142 <resource>resources</resource>
143 <file>assets/test.txt</file>
144 </transformer>
145 </transformers>
146 </configuration>
147 </execution>
148 </executions>
149 </plugin>
Akrond0b1cfe2020-11-20 19:26:52 +0100150
151 <plugin>
152 <artifactId>maven-compiler-plugin</artifactId>
153 <version>3.8.1</version>
154 <inherited>true</inherited>
155 <configuration>
156 <showWarnings>true</showWarnings>
157 <source>${java.version}</source>
158 <target>${java.version}</target>
159 </configuration>
160 </plugin>
161
Akronb87af2f2020-09-24 14:38:02 +0200162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-resources-plugin</artifactId>
165 <version>3.2.0</version>
166 <configuration>
167 <encoding>UTF-8</encoding>
168 </configuration>
169 <executions>
170 <execution>
171 <goals>
172 <goal>testResources</goal>
173 </goals>
174 <configuration>
175 <resources>
176 <resource>
177 <directory>src/main/resources</directory>
178 </resource>
179 <resource>
180 <directory>src/test/resources</directory>
181 </resource>
182 </resources>
183 </configuration>
184 </execution>
185 </executions>
186 </plugin>
Akron03ea46c2020-11-18 14:59:30 +0100187 <plugin>
188 <groupId>org.codehaus.mojo</groupId>
189 <artifactId>cobertura-maven-plugin</artifactId>
190 <version>2.7</version>
191 <configuration>
192 <formats>
193 <format>html</format>
194 <format>xml</format>
195 </formats>
196 <check></check>
197 </configuration>
198 <executions>
199 <execution>
200 <goals>
201 <goal>clean</goal>
202 </goals>
203 </execution>
204 </executions>
205 </plugin>
206 </plugins>
Akronb87af2f2020-09-24 14:38:02 +0200207 </build>
hebastae2bd6e42020-03-03 19:07:20 +0100208</project>
209