blob: 546080a5d36e354cb245a16cecd0ef69d1dbf212 [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>
Akron28214a52020-11-19 14:22:07 +010028
Akronb87af2f2020-09-24 14:38:02 +020029 <!-- jetty -->
30 <dependency>
31 <groupId>org.eclipse.jetty</groupId>
32 <artifactId>jetty-server</artifactId>
33 <version>${jetty.version}</version>
34 </dependency>
35 <dependency>
36 <groupId>org.eclipse.jetty</groupId>
37 <artifactId>jetty-servlet</artifactId>
38 <version>${jetty.version}</version>
39 </dependency>
hebastae2bd6e42020-03-03 19:07:20 +010040
Akronb87af2f2020-09-24 14:38:02 +020041 <dependency>
42 <groupId>org.glassfish.jersey.core</groupId>
43 <artifactId>jersey-server</artifactId>
44 <version>${jersey.version}</version>
45 </dependency>
46 <dependency>
47 <groupId>org.glassfish.jersey.core</groupId>
48 <artifactId>jersey-client</artifactId>
49 <version>${jersey.version}</version>
50 </dependency>
51 <dependency>
52 <groupId>org.glassfish.jersey.inject</groupId>
53 <artifactId>jersey-hk2</artifactId>
54 <version>${jersey.version}</version>
55 </dependency>
56 <dependency>
57 <groupId>org.glassfish.jersey.containers</groupId>
58 <artifactId>jersey-container-servlet-core</artifactId>
59 <version>${jersey.version}</version>
60 </dependency>
61
62 <!-- Jersey test framework -->
63 <dependency>
64 <groupId>org.glassfish.jersey.test-framework</groupId>
65 <artifactId>jersey-test-framework-core</artifactId>
66 <version>${jersey.version}</version>
67 </dependency>
68 <dependency>
69 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
70 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
71 <version>${jersey.version}</version>
72 <scope>test</scope>
73 </dependency>
74
75 <!-- Mock server framework -->
76 <dependency>
77 <groupId>org.mock-server</groupId>
78 <artifactId>mockserver-netty</artifactId>
Akron1fe2ba82020-11-12 18:11:10 +010079 <version>5.1.1</version>
Akronb87af2f2020-09-24 14:38:02 +020080 <scope>test</scope>
81 </dependency>
Akronbb076c72020-09-28 14:39:15 +020082
83 <!-- Template engine -->
84 <!-- I wasn't able to get this working with jersey-mvc-freemarker ... -->
85 <dependency>
86 <groupId>org.freemarker</groupId>
87 <artifactId>freemarker</artifactId>
88 <version>2.3.30</version>
89 </dependency>
Akron03ea46c2020-11-18 14:59:30 +010090
91 <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/cobertura-maven-plugin -->
92 <dependency>
93 <groupId>org.codehaus.mojo</groupId>
94 <artifactId>cobertura-maven-plugin</artifactId>
95 <version>2.7</version>
96 <scope>test</scope>
97 </dependency>
98
Akronb87af2f2020-09-24 14:38:02 +020099 </dependencies>
100
101 <build>
102 <plugins>
103 <plugin>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-shade-plugin</artifactId>
106 <version>3.2.4</version>
107 <configuration>
108 <filters>
109 <filter>
110 <artifact>*:*</artifact>
111 <excludes>
112 <exclude>META-INF/*.SF</exclude>
113 <exclude>META-INF/*.DSA</exclude>
114 <exclude>META-INF/*.RSA</exclude>
115 </excludes>
116 </filter>
117 </filters>
118 </configuration>
119 <executions>
120 <execution>
121 <goals>
122 <goal>shade</goal>
123 </goals>
124 <configuration>
125 <transformers>
126 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
127 <transformer
128 implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'>
129 <manifestEntries>
130 <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class>
131 </manifestEntries>
132 </transformer>
133 <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
134 <resource>resources</resource>
135 <file>assets/test.txt</file>
136 </transformer>
137 </transformers>
138 </configuration>
139 </execution>
140 </executions>
141 </plugin>
142 <plugin>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-resources-plugin</artifactId>
145 <version>3.2.0</version>
146 <configuration>
147 <encoding>UTF-8</encoding>
148 </configuration>
149 <executions>
150 <execution>
151 <goals>
152 <goal>testResources</goal>
153 </goals>
154 <configuration>
155 <resources>
156 <resource>
157 <directory>src/main/resources</directory>
158 </resource>
159 <resource>
160 <directory>src/test/resources</directory>
161 </resource>
162 </resources>
163 </configuration>
164 </execution>
165 </executions>
166 </plugin>
Akron03ea46c2020-11-18 14:59:30 +0100167 <plugin>
168 <groupId>org.codehaus.mojo</groupId>
169 <artifactId>cobertura-maven-plugin</artifactId>
170 <version>2.7</version>
171 <configuration>
172 <formats>
173 <format>html</format>
174 <format>xml</format>
175 </formats>
176 <check></check>
177 </configuration>
178 <executions>
179 <execution>
180 <goals>
181 <goal>clean</goal>
182 </goals>
183 </execution>
184 </executions>
185 </plugin>
186 </plugins>
Akronb87af2f2020-09-24 14:38:02 +0200187 </build>
hebastae2bd6e42020-03-03 19:07:20 +0100188</project>
189