blob: 76fa47a9c72849e718a861eb9feefcaa92ab384c [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>
7 <version>0.1</version>
8 <name>KalamarExportPlugin</name>
9 <url>http://maven.apache.org</url>
10
Akronb87af2f2020-09-24 14:38:02 +020011 <properties>
12 <jetty.version>9.4.31.v20200723</jetty.version>
13 <jersey.version>2.27</jersey.version>
14 </properties>
hebastae2bd6e42020-03-03 19:07:20 +010015
Akronb87af2f2020-09-24 14:38:02 +020016 <dependencies>
17 <dependency>
18 <groupId>junit</groupId>
19 <artifactId>junit</artifactId>
20 <version>4.13</version>
21 </dependency>
hebastae0496762020-03-30 00:11:01 +020022
Akronb87af2f2020-09-24 14:38:02 +020023 <dependency>
24 <groupId>com.fasterxml.jackson.core</groupId>
25 <artifactId>jackson-databind</artifactId>
26 <version>2.9.8</version>
27 </dependency>
28 <dependency>
29 <groupId>com.tutego</groupId>
30 <artifactId>jrtf</artifactId>
31 <version>0.7</version>
32 </dependency>
33 <!-- jetty -->
34 <dependency>
35 <groupId>org.eclipse.jetty</groupId>
36 <artifactId>jetty-server</artifactId>
37 <version>${jetty.version}</version>
38 </dependency>
39 <dependency>
40 <groupId>org.eclipse.jetty</groupId>
41 <artifactId>jetty-servlet</artifactId>
42 <version>${jetty.version}</version>
43 </dependency>
hebastae2bd6e42020-03-03 19:07:20 +010044
Akronb87af2f2020-09-24 14:38:02 +020045 <dependency>
46 <groupId>org.glassfish.jersey.core</groupId>
47 <artifactId>jersey-server</artifactId>
48 <version>${jersey.version}</version>
49 </dependency>
50 <dependency>
51 <groupId>org.glassfish.jersey.core</groupId>
52 <artifactId>jersey-client</artifactId>
53 <version>${jersey.version}</version>
54 </dependency>
55 <dependency>
56 <groupId>org.glassfish.jersey.inject</groupId>
57 <artifactId>jersey-hk2</artifactId>
58 <version>${jersey.version}</version>
59 </dependency>
60 <dependency>
61 <groupId>org.glassfish.jersey.containers</groupId>
62 <artifactId>jersey-container-servlet-core</artifactId>
63 <version>${jersey.version}</version>
64 </dependency>
65
66 <!-- Jersey test framework -->
67 <dependency>
68 <groupId>org.glassfish.jersey.test-framework</groupId>
69 <artifactId>jersey-test-framework-core</artifactId>
70 <version>${jersey.version}</version>
71 </dependency>
72 <dependency>
73 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
74 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
75 <version>${jersey.version}</version>
76 <scope>test</scope>
77 </dependency>
78
79 <!-- Mock server framework -->
80 <dependency>
81 <groupId>org.mock-server</groupId>
82 <artifactId>mockserver-netty</artifactId>
Akron1fe2ba82020-11-12 18:11:10 +010083 <version>5.1.1</version>
Akronb87af2f2020-09-24 14:38:02 +020084 <scope>test</scope>
85 </dependency>
Akronbb076c72020-09-28 14:39:15 +020086
87 <!-- Template engine -->
88 <!-- I wasn't able to get this working with jersey-mvc-freemarker ... -->
89 <dependency>
90 <groupId>org.freemarker</groupId>
91 <artifactId>freemarker</artifactId>
92 <version>2.3.30</version>
93 </dependency>
Akron03ea46c2020-11-18 14:59:30 +010094
95 <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/cobertura-maven-plugin -->
96 <dependency>
97 <groupId>org.codehaus.mojo</groupId>
98 <artifactId>cobertura-maven-plugin</artifactId>
99 <version>2.7</version>
100 <scope>test</scope>
101 </dependency>
102
Akronb87af2f2020-09-24 14:38:02 +0200103 </dependencies>
104
105 <build>
106 <plugins>
107 <plugin>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-shade-plugin</artifactId>
110 <version>3.2.4</version>
111 <configuration>
112 <filters>
113 <filter>
114 <artifact>*:*</artifact>
115 <excludes>
116 <exclude>META-INF/*.SF</exclude>
117 <exclude>META-INF/*.DSA</exclude>
118 <exclude>META-INF/*.RSA</exclude>
119 </excludes>
120 </filter>
121 </filters>
122 </configuration>
123 <executions>
124 <execution>
125 <goals>
126 <goal>shade</goal>
127 </goals>
128 <configuration>
129 <transformers>
130 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
131 <transformer
132 implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'>
133 <manifestEntries>
134 <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class>
135 </manifestEntries>
136 </transformer>
137 <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
138 <resource>resources</resource>
139 <file>assets/test.txt</file>
140 </transformer>
141 </transformers>
142 </configuration>
143 </execution>
144 </executions>
145 </plugin>
146 <plugin>
147 <groupId>org.apache.maven.plugins</groupId>
148 <artifactId>maven-resources-plugin</artifactId>
149 <version>3.2.0</version>
150 <configuration>
151 <encoding>UTF-8</encoding>
152 </configuration>
153 <executions>
154 <execution>
155 <goals>
156 <goal>testResources</goal>
157 </goals>
158 <configuration>
159 <resources>
160 <resource>
161 <directory>src/main/resources</directory>
162 </resource>
163 <resource>
164 <directory>src/test/resources</directory>
165 </resource>
166 </resources>
167 </configuration>
168 </execution>
169 </executions>
170 </plugin>
Akron03ea46c2020-11-18 14:59:30 +0100171 <plugin>
172 <groupId>org.codehaus.mojo</groupId>
173 <artifactId>cobertura-maven-plugin</artifactId>
174 <version>2.7</version>
175 <configuration>
176 <formats>
177 <format>html</format>
178 <format>xml</format>
179 </formats>
180 <check></check>
181 </configuration>
182 <executions>
183 <execution>
184 <goals>
185 <goal>clean</goal>
186 </goals>
187 </execution>
188 </executions>
189 </plugin>
190 </plugins>
Akronb87af2f2020-09-24 14:38:02 +0200191 </build>
hebastae2bd6e42020-03-03 19:07:20 +0100192</project>
193