blob: fb561f52a9a845c41d24f87af197edd9abca037a [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>
83 <version>3.10.2</version>
84 <scope>test</scope>
85 </dependency>
86 </dependencies>
87
88 <build>
89 <plugins>
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-shade-plugin</artifactId>
93 <version>3.2.4</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 <goals>
109 <goal>shade</goal>
110 </goals>
111 <configuration>
112 <transformers>
113 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
114 <transformer
115 implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'>
116 <manifestEntries>
117 <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class>
118 </manifestEntries>
119 </transformer>
120 <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
121 <resource>resources</resource>
122 <file>assets/test.txt</file>
123 </transformer>
124 </transformers>
125 </configuration>
126 </execution>
127 </executions>
128 </plugin>
129 <plugin>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-resources-plugin</artifactId>
132 <version>3.2.0</version>
133 <configuration>
134 <encoding>UTF-8</encoding>
135 </configuration>
136 <executions>
137 <execution>
138 <goals>
139 <goal>testResources</goal>
140 </goals>
141 <configuration>
142 <resources>
143 <resource>
144 <directory>src/main/resources</directory>
145 </resource>
146 <resource>
147 <directory>src/test/resources</directory>
148 </resource>
149 </resources>
150 </configuration>
151 </execution>
152 </executions>
153 </plugin>
154 </plugins>
155 </build>
hebastae2bd6e42020-03-03 19:07:20 +0100156</project>
157