hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | <groupId>de.ids_mannheim.korap</groupId> |
| 5 | <artifactId>KalamarExportPlugin</artifactId> |
| 6 | <packaging>jar</packaging> |
Akron | 235671b | 2021-05-07 12:13:49 +0200 | [diff] [blame] | 7 | <version>0.2.5</version> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 8 | <name>KalamarExportPlugin</name> |
| 9 | <url>http://maven.apache.org</url> |
| 10 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 11 | <properties> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 12 | <java.version>1.8</java.version> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 13 | <jetty.version>9.4.31.v20200723</jetty.version> |
| 14 | <jersey.version>2.27</jersey.version> |
| 15 | </properties> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 16 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 17 | <dependencies> |
| 18 | <dependency> |
| 19 | <groupId>junit</groupId> |
| 20 | <artifactId>junit</artifactId> |
| 21 | <version>4.13</version> |
| 22 | </dependency> |
hebasta | e049676 | 2020-03-30 00:11:01 +0200 | [diff] [blame] | 23 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 24 | <dependency> |
| 25 | <groupId>com.fasterxml.jackson.core</groupId> |
| 26 | <artifactId>jackson-databind</artifactId> |
| 27 | <version>2.9.8</version> |
| 28 | </dependency> |
Akron | 28214a5 | 2020-11-19 14:22:07 +0100 | [diff] [blame] | 29 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 30 | <!-- 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> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 41 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 42 | <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> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 59 | <artifactId>jersey-container-servlet</artifactId> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 60 | <version>${jersey.version}</version> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 61 | </dependency> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 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> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 78 | <groupId>org.mock-server</groupId> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 79 | <artifactId>mockserver-netty</artifactId> |
Akron | 1fe2ba8 | 2020-11-12 18:11:10 +0100 | [diff] [blame] | 80 | <version>5.1.1</version> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 81 | <scope>test</scope> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 82 | </dependency> |
Akron | bb076c7 | 2020-09-28 14:39:15 +0200 | [diff] [blame] | 83 | |
| 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> |
Akron | 03ea46c | 2020-11-18 14:59:30 +0100 | [diff] [blame] | 91 | |
| 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> |
Akron | 69cd35d | 2020-11-20 13:17:31 +0100 | [diff] [blame] | 99 | |
Akron | d0b1cfe | 2020-11-20 19:26:52 +0100 | [diff] [blame] | 100 | <!-- 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 | |
Akron | 3588101 | 2020-11-24 20:05:06 +0100 | [diff] [blame] | 107 | <dependency> |
| 108 | <groupId>commons-io</groupId> |
| 109 | <artifactId>commons-io</artifactId> |
| 110 | <version>2.8.0</version> |
| 111 | </dependency> |
Akron | a241a47 | 2021-04-27 18:55:58 +0200 | [diff] [blame] | 112 | |
| 113 | <!-- Logging --> |
| 114 | <dependency> |
| 115 | <groupId>org.tinylog</groupId> |
| 116 | <artifactId>tinylog-impl</artifactId> |
| 117 | <version>2.4.0-M1</version> |
| 118 | </dependency> |
| 119 | <dependency> |
| 120 | <groupId>org.tinylog</groupId> |
| 121 | <artifactId>tinylog-api</artifactId> |
| 122 | <version>2.4.0-M1</version> |
| 123 | </dependency> |
Akron | 3588101 | 2020-11-24 20:05:06 +0100 | [diff] [blame] | 124 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 125 | </dependencies> |
| 126 | |
| 127 | <build> |
| 128 | <plugins> |
| 129 | <plugin> |
| 130 | <groupId>org.apache.maven.plugins</groupId> |
| 131 | <artifactId>maven-shade-plugin</artifactId> |
| 132 | <version>3.2.4</version> |
| 133 | <configuration> |
| 134 | <filters> |
| 135 | <filter> |
| 136 | <artifact>*:*</artifact> |
| 137 | <excludes> |
| 138 | <exclude>META-INF/*.SF</exclude> |
| 139 | <exclude>META-INF/*.DSA</exclude> |
| 140 | <exclude>META-INF/*.RSA</exclude> |
| 141 | </excludes> |
| 142 | </filter> |
| 143 | </filters> |
| 144 | </configuration> |
| 145 | <executions> |
| 146 | <execution> |
| 147 | <goals> |
| 148 | <goal>shade</goal> |
| 149 | </goals> |
| 150 | <configuration> |
| 151 | <transformers> |
| 152 | <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| 153 | <transformer |
| 154 | implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'> |
| 155 | <manifestEntries> |
| 156 | <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class> |
| 157 | </manifestEntries> |
| 158 | </transformer> |
| 159 | <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> |
| 160 | <resource>resources</resource> |
| 161 | <file>assets/test.txt</file> |
| 162 | </transformer> |
| 163 | </transformers> |
| 164 | </configuration> |
| 165 | </execution> |
| 166 | </executions> |
| 167 | </plugin> |
Akron | d0b1cfe | 2020-11-20 19:26:52 +0100 | [diff] [blame] | 168 | |
| 169 | <plugin> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 170 | <artifactId>maven-compiler-plugin</artifactId> |
| 171 | <version>3.8.1</version> |
| 172 | <inherited>true</inherited> |
| 173 | <configuration> |
| 174 | <showWarnings>true</showWarnings> |
| 175 | <source>${java.version}</source> |
| 176 | <target>${java.version}</target> |
| 177 | </configuration> |
| 178 | </plugin> |
Akron | d0b1cfe | 2020-11-20 19:26:52 +0100 | [diff] [blame] | 179 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 180 | <plugin> |
| 181 | <groupId>org.apache.maven.plugins</groupId> |
| 182 | <artifactId>maven-resources-plugin</artifactId> |
| 183 | <version>3.2.0</version> |
| 184 | <configuration> |
| 185 | <encoding>UTF-8</encoding> |
| 186 | </configuration> |
| 187 | <executions> |
| 188 | <execution> |
| 189 | <goals> |
| 190 | <goal>testResources</goal> |
| 191 | </goals> |
| 192 | <configuration> |
| 193 | <resources> |
| 194 | <resource> |
| 195 | <directory>src/main/resources</directory> |
| 196 | </resource> |
| 197 | <resource> |
| 198 | <directory>src/test/resources</directory> |
| 199 | </resource> |
| 200 | </resources> |
| 201 | </configuration> |
| 202 | </execution> |
| 203 | </executions> |
| 204 | </plugin> |
Akron | 03ea46c | 2020-11-18 14:59:30 +0100 | [diff] [blame] | 205 | <plugin> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 206 | <groupId>org.codehaus.mojo</groupId> |
| 207 | <artifactId>cobertura-maven-plugin</artifactId> |
| 208 | <version>2.7</version> |
| 209 | <configuration> |
| 210 | <formats> |
| 211 | <format>html</format> |
| 212 | <format>xml</format> |
| 213 | </formats> |
| 214 | <check></check> |
| 215 | </configuration> |
| 216 | <executions> |
| 217 | <execution> |
| 218 | <goals> |
| 219 | <goal>clean</goal> |
| 220 | </goals> |
| 221 | </execution> |
| 222 | </executions> |
| 223 | </plugin> |
| 224 | </plugins> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 225 | </build> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 226 | </project> |