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] | 444dd2e | 2022-12-08 13:24:49 +0000 | [diff] [blame] | 13 | <jetty.version>9.4.50.v20221201</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] | 3e7427b | 2022-11-22 14:01:30 +0000 | [diff] [blame] | 36 | <version>2.14.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 | 28da4d9 | 2022-08-31 16:31:04 +0200 | [diff] [blame] | 89 | <version>5.14.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] | 0db761d | 2022-04-02 16:18:13 +0000 | [diff] [blame] | 98 | <version>2.3.31</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> |
Marc Kupietz | 530fcfa | 2022-08-31 16:31:04 +0200 | [diff] [blame] | 118 | <version>2.5.0</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> |
Marc Kupietz | fa56423 | 2022-08-31 16:31:04 +0200 | [diff] [blame] | 123 | <version>2.5.0</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] | 9b8f92c | 2022-12-13 13:19:35 +0000 | [diff] [blame^] | 134 | <version>2.0.6</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> |
| 158 | <excludes> |
| 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] | 1641474 | 2022-03-26 16:51:08 +0000 | [diff] [blame] | 192 | <version>3.10.1</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] | acae567 | 2022-07-26 13:43:32 +0000 | [diff] [blame] | 204 | <version>3.3.0</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> |
Akron | 03ea46c | 2020-11-18 14:59:30 +0100 | [diff] [blame] | 226 | <plugin> |
Marc Kupietz | d475d71 | 2022-03-26 22:31:11 +0100 | [diff] [blame] | 227 | <groupId>org.apache.maven.plugins</groupId> |
| 228 | <artifactId>maven-surefire-plugin</artifactId> |
Marc Kupietz | 94b14c3 | 2022-03-26 22:57:17 +0100 | [diff] [blame] | 229 | <version>3.0.0-M5</version> |
Marc Kupietz | d475d71 | 2022-03-26 22:31:11 +0100 | [diff] [blame] | 230 | <configuration> |
| 231 | <argLine>-Dfile.encoding=UTF-8</argLine> |
| 232 | </configuration> |
| 233 | </plugin> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 234 | </plugins> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 235 | </build> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 236 | </project> |