blob: 834bb14d39b3abea9d91397666701dfe951132b9 [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"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3 <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
11 <properties>
12 <jetty.version>9.2.3.v20140905</jetty.version>
13 <jersey.version>2.27</jersey.version>
14 </properties>
15
16 <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
23 <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>
hebastae2bd6e42020-03-03 19:07:20 +010033 <!-- 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>
44
45 <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>
Akron480a9082020-09-16 13:14:09 +020077 </dependency>
78
79 <!-- Mock server framework -->
80 <dependency>
81 <groupId>org.mock-server</groupId>
82 <artifactId>mockserver-netty</artifactId>
83 <version>3.10.2</version>
84 <scope>test</scope>
85 </dependency>
hebastae2bd6e42020-03-03 19:07:20 +010086 </dependencies>
87
88 <build>
89 <plugins>
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-shade-plugin</artifactId>
93 <version>1.6</version>
94 <configuration>
95 <filters>
96 <filter>
97 <artifact>*:*</artifact>
98 <excludes>
99 <exclude>META-INF/*.SF</exclude>
100 <exclude>META-INF/*.DSA</exclude>
101 <exclude>META-INF/*.RSA</exclude>
102 </excludes>
103 </filter>
104 </filters>
105 </configuration>
106 <executions>
107 <execution>
108 <phase>package</phase>
109 <goals>
110 <goal>shade</goal>
111 </goals>
112 <configuration>
113 <transformers>
hebastadc606312020-04-29 15:37:28 +0200114 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
hebastae2bd6e42020-03-03 19:07:20 +0100115 <transformer
116 implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'>
117 <manifestEntries>
118 <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class>
119 </manifestEntries>
120 </transformer>
121 </transformers>
122 </configuration>
123 </execution>
124 </executions>
125 </plugin>
126 </plugins>
127 </build>
128</project>
129