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