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 | 8dbb3b1 | 2022-11-29 11:19:32 +0100 | [diff] [blame] | 7 | <version>0.2.9</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> |
dependabot[bot] | bfc7191 | 2023-02-28 14:02:46 +0000 | [diff] [blame] | 13 | <jetty.version>9.4.51.v20230217</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> |
dependabot[bot] | 790be6c | 2023-04-24 14:03:48 +0000 | [diff] [blame] | 36 | <version>2.15.0</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> |
dependabot[bot] | 2afd3a9 | 2023-01-12 13:18:06 +0000 | [diff] [blame] | 89 | <version>5.15.0</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> |
dependabot[bot] | 96eff8f | 2023-01-16 13:15:19 +0000 | [diff] [blame] | 98 | <version>2.3.32</version> |
Akron | bb076c7 | 2020-09-28 14:39:15 +0200 | [diff] [blame] | 99 | </dependency> |
Akron | 03ea46c | 2020-11-18 14:59:30 +0100 | [diff] [blame] | 100 | |
Akron | d0b1cfe | 2020-11-20 19:26:52 +0100 | [diff] [blame] | 101 | <!-- https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-sse --> |
| 102 | <dependency> |
| 103 | <groupId>org.glassfish.jersey.media</groupId> |
| 104 | <artifactId>jersey-media-sse</artifactId> |
| 105 | <version>${jersey.version}</version> |
| 106 | </dependency> |
| 107 | |
Akron | 3588101 | 2020-11-24 20:05:06 +0100 | [diff] [blame] | 108 | <dependency> |
| 109 | <groupId>commons-io</groupId> |
| 110 | <artifactId>commons-io</artifactId> |
dependabot[bot] | c48f4e5 | 2022-03-26 16:52:16 +0000 | [diff] [blame] | 111 | <version>2.11.0</version> |
Akron | 3588101 | 2020-11-24 20:05:06 +0100 | [diff] [blame] | 112 | </dependency> |
Akron | a241a47 | 2021-04-27 18:55:58 +0200 | [diff] [blame] | 113 | |
| 114 | <!-- Logging --> |
| 115 | <dependency> |
| 116 | <groupId>org.tinylog</groupId> |
| 117 | <artifactId>tinylog-impl</artifactId> |
dependabot[bot] | 20da904 | 2023-03-10 14:01:52 +0000 | [diff] [blame] | 118 | <version>2.6.1</version> |
Akron | a241a47 | 2021-04-27 18:55:58 +0200 | [diff] [blame] | 119 | </dependency> |
| 120 | <dependency> |
| 121 | <groupId>org.tinylog</groupId> |
| 122 | <artifactId>tinylog-api</artifactId> |
dependabot[bot] | dcb6fd5 | 2023-03-10 14:01:43 +0000 | [diff] [blame] | 123 | <version>2.6.1</version> |
Akron | a241a47 | 2021-04-27 18:55:58 +0200 | [diff] [blame] | 124 | </dependency> |
Akron | 8dbb3b1 | 2022-11-29 11:19:32 +0100 | [diff] [blame] | 125 | <dependency> |
| 126 | <groupId>ch.qos.logback</groupId> |
| 127 | <artifactId>logback-classic</artifactId> |
| 128 | <version>1.3.0</version> |
| 129 | <scope>test</scope> |
| 130 | </dependency> |
| 131 | <dependency> |
| 132 | <groupId>org.slf4j</groupId> |
| 133 | <artifactId>slf4j-api</artifactId> |
dependabot[bot] | e0683cb | 2023-03-20 14:10:07 +0000 | [diff] [blame] | 134 | <version>2.0.7</version> |
Akron | 8dbb3b1 | 2022-11-29 11:19:32 +0100 | [diff] [blame] | 135 | </dependency> |
| 136 | |
| 137 | |
Akron | efcc821 | 2021-07-23 12:06:29 +0200 | [diff] [blame] | 138 | |
| 139 | <!-- API, java.xml.bind module --> |
| 140 | <dependency> |
| 141 | <groupId>javax.xml.bind</groupId> |
| 142 | <artifactId>jaxb-api</artifactId> |
| 143 | <version>2.3.1</version> |
| 144 | </dependency> |
| 145 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 146 | </dependencies> |
| 147 | |
| 148 | <build> |
| 149 | <plugins> |
| 150 | <plugin> |
| 151 | <groupId>org.apache.maven.plugins</groupId> |
| 152 | <artifactId>maven-shade-plugin</artifactId> |
dependabot[bot] | 861975d | 2022-10-27 13:33:03 +0000 | [diff] [blame] | 153 | <version>3.4.1</version> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 154 | <configuration> |
| 155 | <filters> |
| 156 | <filter> |
| 157 | <artifact>*:*</artifact> |
Helge | d061cd9 | 2023-03-22 19:33:04 +0100 | [diff] [blame] | 158 | <excludes> |
| 159 | <exclude>module-info.class</exclude> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 160 | <exclude>META-INF/*.SF</exclude> |
| 161 | <exclude>META-INF/*.DSA</exclude> |
| 162 | <exclude>META-INF/*.RSA</exclude> |
| 163 | </excludes> |
| 164 | </filter> |
| 165 | </filters> |
| 166 | </configuration> |
| 167 | <executions> |
| 168 | <execution> |
| 169 | <goals> |
| 170 | <goal>shade</goal> |
| 171 | </goals> |
| 172 | <configuration> |
| 173 | <transformers> |
| 174 | <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| 175 | <transformer |
| 176 | implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'> |
| 177 | <manifestEntries> |
| 178 | <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class> |
| 179 | </manifestEntries> |
| 180 | </transformer> |
| 181 | <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> |
| 182 | <resource>resources</resource> |
| 183 | <file>assets/test.txt</file> |
| 184 | </transformer> |
| 185 | </transformers> |
| 186 | </configuration> |
| 187 | </execution> |
| 188 | </executions> |
| 189 | </plugin> |
Akron | d0b1cfe | 2020-11-20 19:26:52 +0100 | [diff] [blame] | 190 | |
| 191 | <plugin> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 192 | <artifactId>maven-compiler-plugin</artifactId> |
dependabot[bot] | 55df5e8 | 2023-02-27 14:13:29 +0000 | [diff] [blame] | 193 | <version>3.11.0</version> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 194 | <inherited>true</inherited> |
| 195 | <configuration> |
| 196 | <showWarnings>true</showWarnings> |
| 197 | <source>${java.version}</source> |
| 198 | <target>${java.version}</target> |
| 199 | </configuration> |
| 200 | </plugin> |
Akron | d0b1cfe | 2020-11-20 19:26:52 +0100 | [diff] [blame] | 201 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 202 | <plugin> |
| 203 | <groupId>org.apache.maven.plugins</groupId> |
| 204 | <artifactId>maven-resources-plugin</artifactId> |
dependabot[bot] | 64fe13f | 2023-03-24 14:01:24 +0000 | [diff] [blame^] | 205 | <version>3.3.1</version> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 206 | <configuration> |
| 207 | <encoding>UTF-8</encoding> |
| 208 | </configuration> |
| 209 | <executions> |
| 210 | <execution> |
| 211 | <goals> |
| 212 | <goal>testResources</goal> |
| 213 | </goals> |
| 214 | <configuration> |
| 215 | <resources> |
| 216 | <resource> |
| 217 | <directory>src/main/resources</directory> |
| 218 | </resource> |
| 219 | <resource> |
| 220 | <directory>src/test/resources</directory> |
| 221 | </resource> |
| 222 | </resources> |
| 223 | </configuration> |
| 224 | </execution> |
| 225 | </executions> |
| 226 | </plugin> |
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> |
Marc Kupietz | d475d71 | 2022-03-26 22:31:11 +0100 | [diff] [blame] | 231 | <configuration> |
| 232 | <argLine>-Dfile.encoding=UTF-8</argLine> |
| 233 | </configuration> |
| 234 | </plugin> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 235 | </plugins> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 236 | </build> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 237 | </project> |