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 | 1e9a2c4 | 2021-09-07 10:21:20 +0200 | [diff] [blame] | 7 | <version>0.2.7</version> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 8 | <name>KalamarExportPlugin</name> |
Akron | 44064ac | 2021-09-07 11:23:12 +0200 | [diff] [blame] | 9 | <url>https://korap.ids-mannheim.de/</url> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 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> |
Marc Kupietz | 8109774 | 2022-03-27 11:14:47 +0200 | [diff] [blame] | 13 | <jetty.version>9.4.45.v20220203</jetty.version> |
Marc Kupietz | 261b63a | 2022-03-27 11:15:28 +0200 | [diff] [blame] | 14 | <jersey.version>2.35</jersey.version> |
Akron | 0f4a5a3 | 2021-09-07 11:27:49 +0200 | [diff] [blame] | 15 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 16 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 17 | </properties> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 18 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 19 | <dependencies> |
| 20 | <dependency> |
| 21 | <groupId>junit</groupId> |
| 22 | <artifactId>junit</artifactId> |
Akron | 1e9a2c4 | 2021-09-07 10:21:20 +0200 | [diff] [blame] | 23 | <version>4.13.2</version> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 24 | </dependency> |
Marc Kupietz | 94b14c3 | 2022-03-26 22:57:17 +0100 | [diff] [blame] | 25 | |
| 26 | <dependency> |
| 27 | <groupId>org.apache.maven.plugins</groupId> |
| 28 | <artifactId>maven-surefire-plugin</artifactId> |
| 29 | <version>3.0.0-M5</version> |
| 30 | <type>maven-plugin</type> |
| 31 | </dependency> |
hebasta | e049676 | 2020-03-30 00:11:01 +0200 | [diff] [blame] | 32 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 33 | <dependency> |
| 34 | <groupId>com.fasterxml.jackson.core</groupId> |
| 35 | <artifactId>jackson-databind</artifactId> |
Marc Kupietz | 1906dfb | 2022-03-26 17:31:07 +0100 | [diff] [blame] | 36 | <version>2.13.2.1</version> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 37 | </dependency> |
Akron | 28214a5 | 2020-11-19 14:22:07 +0100 | [diff] [blame] | 38 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 39 | <!-- jetty --> |
| 40 | <dependency> |
| 41 | <groupId>org.eclipse.jetty</groupId> |
| 42 | <artifactId>jetty-server</artifactId> |
| 43 | <version>${jetty.version}</version> |
| 44 | </dependency> |
| 45 | <dependency> |
| 46 | <groupId>org.eclipse.jetty</groupId> |
| 47 | <artifactId>jetty-servlet</artifactId> |
| 48 | <version>${jetty.version}</version> |
| 49 | </dependency> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 50 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 51 | <dependency> |
| 52 | <groupId>org.glassfish.jersey.core</groupId> |
| 53 | <artifactId>jersey-server</artifactId> |
| 54 | <version>${jersey.version}</version> |
| 55 | </dependency> |
| 56 | <dependency> |
| 57 | <groupId>org.glassfish.jersey.core</groupId> |
| 58 | <artifactId>jersey-client</artifactId> |
| 59 | <version>${jersey.version}</version> |
| 60 | </dependency> |
| 61 | <dependency> |
| 62 | <groupId>org.glassfish.jersey.inject</groupId> |
| 63 | <artifactId>jersey-hk2</artifactId> |
| 64 | <version>${jersey.version}</version> |
| 65 | </dependency> |
| 66 | <dependency> |
| 67 | <groupId>org.glassfish.jersey.containers</groupId> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 68 | <artifactId>jersey-container-servlet</artifactId> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 69 | <version>${jersey.version}</version> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 70 | </dependency> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 71 | |
| 72 | <!-- Jersey test framework --> |
| 73 | <dependency> |
| 74 | <groupId>org.glassfish.jersey.test-framework</groupId> |
| 75 | <artifactId>jersey-test-framework-core</artifactId> |
| 76 | <version>${jersey.version}</version> |
| 77 | </dependency> |
| 78 | <dependency> |
| 79 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 80 | <artifactId>jersey-test-framework-provider-grizzly2</artifactId> |
| 81 | <version>${jersey.version}</version> |
| 82 | <scope>test</scope> |
| 83 | </dependency> |
| 84 | |
| 85 | <!-- Mock server framework --> |
| 86 | <dependency> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 87 | <groupId>org.mock-server</groupId> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 88 | <artifactId>mockserver-netty</artifactId> |
Marc Kupietz | 944c132 | 2022-03-27 11:17:04 +0200 | [diff] [blame^] | 89 | <version>5.6.1</version> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 90 | <scope>test</scope> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 91 | </dependency> |
Akron | bb076c7 | 2020-09-28 14:39:15 +0200 | [diff] [blame] | 92 | |
| 93 | <!-- Template engine --> |
| 94 | <!-- I wasn't able to get this working with jersey-mvc-freemarker ... --> |
| 95 | <dependency> |
| 96 | <groupId>org.freemarker</groupId> |
| 97 | <artifactId>freemarker</artifactId> |
| 98 | <version>2.3.30</version> |
| 99 | </dependency> |
Akron | 03ea46c | 2020-11-18 14:59:30 +0100 | [diff] [blame] | 100 | |
| 101 | <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/cobertura-maven-plugin --> |
| 102 | <dependency> |
| 103 | <groupId>org.codehaus.mojo</groupId> |
| 104 | <artifactId>cobertura-maven-plugin</artifactId> |
| 105 | <version>2.7</version> |
| 106 | <scope>test</scope> |
| 107 | </dependency> |
Akron | 69cd35d | 2020-11-20 13:17:31 +0100 | [diff] [blame] | 108 | |
Akron | d0b1cfe | 2020-11-20 19:26:52 +0100 | [diff] [blame] | 109 | <!-- https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-sse --> |
| 110 | <dependency> |
| 111 | <groupId>org.glassfish.jersey.media</groupId> |
| 112 | <artifactId>jersey-media-sse</artifactId> |
| 113 | <version>${jersey.version}</version> |
| 114 | </dependency> |
| 115 | |
Akron | 3588101 | 2020-11-24 20:05:06 +0100 | [diff] [blame] | 116 | <dependency> |
| 117 | <groupId>commons-io</groupId> |
| 118 | <artifactId>commons-io</artifactId> |
dependabot[bot] | c48f4e5 | 2022-03-26 16:52:16 +0000 | [diff] [blame] | 119 | <version>2.11.0</version> |
Akron | 3588101 | 2020-11-24 20:05:06 +0100 | [diff] [blame] | 120 | </dependency> |
Akron | a241a47 | 2021-04-27 18:55:58 +0200 | [diff] [blame] | 121 | |
| 122 | <!-- Logging --> |
| 123 | <dependency> |
| 124 | <groupId>org.tinylog</groupId> |
| 125 | <artifactId>tinylog-impl</artifactId> |
| 126 | <version>2.4.0-M1</version> |
| 127 | </dependency> |
| 128 | <dependency> |
| 129 | <groupId>org.tinylog</groupId> |
| 130 | <artifactId>tinylog-api</artifactId> |
dependabot[bot] | 9e5ed89 | 2022-03-26 16:51:47 +0000 | [diff] [blame] | 131 | <version>2.5.0-M1.1</version> |
Akron | a241a47 | 2021-04-27 18:55:58 +0200 | [diff] [blame] | 132 | </dependency> |
Akron | efcc821 | 2021-07-23 12:06:29 +0200 | [diff] [blame] | 133 | |
| 134 | <!-- API, java.xml.bind module --> |
| 135 | <dependency> |
| 136 | <groupId>javax.xml.bind</groupId> |
| 137 | <artifactId>jaxb-api</artifactId> |
| 138 | <version>2.3.1</version> |
| 139 | </dependency> |
| 140 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 141 | </dependencies> |
| 142 | |
| 143 | <build> |
| 144 | <plugins> |
| 145 | <plugin> |
| 146 | <groupId>org.apache.maven.plugins</groupId> |
| 147 | <artifactId>maven-shade-plugin</artifactId> |
| 148 | <version>3.2.4</version> |
| 149 | <configuration> |
| 150 | <filters> |
| 151 | <filter> |
| 152 | <artifact>*:*</artifact> |
| 153 | <excludes> |
| 154 | <exclude>META-INF/*.SF</exclude> |
| 155 | <exclude>META-INF/*.DSA</exclude> |
| 156 | <exclude>META-INF/*.RSA</exclude> |
| 157 | </excludes> |
| 158 | </filter> |
| 159 | </filters> |
| 160 | </configuration> |
| 161 | <executions> |
| 162 | <execution> |
| 163 | <goals> |
| 164 | <goal>shade</goal> |
| 165 | </goals> |
| 166 | <configuration> |
| 167 | <transformers> |
| 168 | <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| 169 | <transformer |
| 170 | implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'> |
| 171 | <manifestEntries> |
| 172 | <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class> |
| 173 | </manifestEntries> |
| 174 | </transformer> |
| 175 | <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> |
| 176 | <resource>resources</resource> |
| 177 | <file>assets/test.txt</file> |
| 178 | </transformer> |
| 179 | </transformers> |
| 180 | </configuration> |
| 181 | </execution> |
| 182 | </executions> |
| 183 | </plugin> |
Akron | d0b1cfe | 2020-11-20 19:26:52 +0100 | [diff] [blame] | 184 | |
| 185 | <plugin> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 186 | <artifactId>maven-compiler-plugin</artifactId> |
dependabot[bot] | 1641474 | 2022-03-26 16:51:08 +0000 | [diff] [blame] | 187 | <version>3.10.1</version> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 188 | <inherited>true</inherited> |
| 189 | <configuration> |
| 190 | <showWarnings>true</showWarnings> |
| 191 | <source>${java.version}</source> |
| 192 | <target>${java.version}</target> |
| 193 | </configuration> |
| 194 | </plugin> |
Akron | d0b1cfe | 2020-11-20 19:26:52 +0100 | [diff] [blame] | 195 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 196 | <plugin> |
| 197 | <groupId>org.apache.maven.plugins</groupId> |
| 198 | <artifactId>maven-resources-plugin</artifactId> |
| 199 | <version>3.2.0</version> |
| 200 | <configuration> |
| 201 | <encoding>UTF-8</encoding> |
| 202 | </configuration> |
| 203 | <executions> |
| 204 | <execution> |
| 205 | <goals> |
| 206 | <goal>testResources</goal> |
| 207 | </goals> |
| 208 | <configuration> |
| 209 | <resources> |
| 210 | <resource> |
| 211 | <directory>src/main/resources</directory> |
| 212 | </resource> |
| 213 | <resource> |
| 214 | <directory>src/test/resources</directory> |
| 215 | </resource> |
| 216 | </resources> |
| 217 | </configuration> |
| 218 | </execution> |
| 219 | </executions> |
| 220 | </plugin> |
Akron | 03ea46c | 2020-11-18 14:59:30 +0100 | [diff] [blame] | 221 | <plugin> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 222 | <groupId>org.codehaus.mojo</groupId> |
| 223 | <artifactId>cobertura-maven-plugin</artifactId> |
| 224 | <version>2.7</version> |
| 225 | <configuration> |
| 226 | <formats> |
| 227 | <format>html</format> |
| 228 | <format>xml</format> |
| 229 | </formats> |
| 230 | <check></check> |
| 231 | </configuration> |
| 232 | <executions> |
| 233 | <execution> |
| 234 | <goals> |
| 235 | <goal>clean</goal> |
| 236 | </goals> |
| 237 | </execution> |
| 238 | </executions> |
| 239 | </plugin> |
Marc Kupietz | d475d71 | 2022-03-26 22:31:11 +0100 | [diff] [blame] | 240 | <plugin> |
| 241 | <groupId>org.apache.maven.plugins</groupId> |
| 242 | <artifactId>maven-surefire-plugin</artifactId> |
Marc Kupietz | 94b14c3 | 2022-03-26 22:57:17 +0100 | [diff] [blame] | 243 | <version>3.0.0-M5</version> |
Marc Kupietz | d475d71 | 2022-03-26 22:31:11 +0100 | [diff] [blame] | 244 | <configuration> |
| 245 | <argLine>-Dfile.encoding=UTF-8</argLine> |
| 246 | </configuration> |
| 247 | </plugin> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 248 | </plugins> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 249 | </build> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 250 | </project> |