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 | efcc821 | 2021-07-23 12:06:29 +0200 | [diff] [blame] | 7 | <version>0.2.6</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 | efcc821 | 2021-07-23 12:06:29 +0200 | [diff] [blame] | 124 | |
| 125 | <!-- API, java.xml.bind module --> |
| 126 | <dependency> |
| 127 | <groupId>javax.xml.bind</groupId> |
| 128 | <artifactId>jaxb-api</artifactId> |
| 129 | <version>2.3.1</version> |
| 130 | </dependency> |
| 131 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 132 | </dependencies> |
| 133 | |
| 134 | <build> |
| 135 | <plugins> |
| 136 | <plugin> |
| 137 | <groupId>org.apache.maven.plugins</groupId> |
| 138 | <artifactId>maven-shade-plugin</artifactId> |
| 139 | <version>3.2.4</version> |
| 140 | <configuration> |
| 141 | <filters> |
| 142 | <filter> |
| 143 | <artifact>*:*</artifact> |
| 144 | <excludes> |
| 145 | <exclude>META-INF/*.SF</exclude> |
| 146 | <exclude>META-INF/*.DSA</exclude> |
| 147 | <exclude>META-INF/*.RSA</exclude> |
| 148 | </excludes> |
| 149 | </filter> |
| 150 | </filters> |
| 151 | </configuration> |
| 152 | <executions> |
| 153 | <execution> |
| 154 | <goals> |
| 155 | <goal>shade</goal> |
| 156 | </goals> |
| 157 | <configuration> |
| 158 | <transformers> |
| 159 | <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| 160 | <transformer |
| 161 | implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'> |
| 162 | <manifestEntries> |
| 163 | <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class> |
| 164 | </manifestEntries> |
| 165 | </transformer> |
| 166 | <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> |
| 167 | <resource>resources</resource> |
| 168 | <file>assets/test.txt</file> |
| 169 | </transformer> |
| 170 | </transformers> |
| 171 | </configuration> |
| 172 | </execution> |
| 173 | </executions> |
| 174 | </plugin> |
Akron | d0b1cfe | 2020-11-20 19:26:52 +0100 | [diff] [blame] | 175 | |
| 176 | <plugin> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 177 | <artifactId>maven-compiler-plugin</artifactId> |
| 178 | <version>3.8.1</version> |
| 179 | <inherited>true</inherited> |
| 180 | <configuration> |
| 181 | <showWarnings>true</showWarnings> |
| 182 | <source>${java.version}</source> |
| 183 | <target>${java.version}</target> |
| 184 | </configuration> |
| 185 | </plugin> |
Akron | d0b1cfe | 2020-11-20 19:26:52 +0100 | [diff] [blame] | 186 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 187 | <plugin> |
| 188 | <groupId>org.apache.maven.plugins</groupId> |
| 189 | <artifactId>maven-resources-plugin</artifactId> |
| 190 | <version>3.2.0</version> |
| 191 | <configuration> |
| 192 | <encoding>UTF-8</encoding> |
| 193 | </configuration> |
| 194 | <executions> |
| 195 | <execution> |
| 196 | <goals> |
| 197 | <goal>testResources</goal> |
| 198 | </goals> |
| 199 | <configuration> |
| 200 | <resources> |
| 201 | <resource> |
| 202 | <directory>src/main/resources</directory> |
| 203 | </resource> |
| 204 | <resource> |
| 205 | <directory>src/test/resources</directory> |
| 206 | </resource> |
| 207 | </resources> |
| 208 | </configuration> |
| 209 | </execution> |
| 210 | </executions> |
| 211 | </plugin> |
Akron | 03ea46c | 2020-11-18 14:59:30 +0100 | [diff] [blame] | 212 | <plugin> |
Akron | cc14800 | 2020-11-27 15:57:28 +0100 | [diff] [blame] | 213 | <groupId>org.codehaus.mojo</groupId> |
| 214 | <artifactId>cobertura-maven-plugin</artifactId> |
| 215 | <version>2.7</version> |
| 216 | <configuration> |
| 217 | <formats> |
| 218 | <format>html</format> |
| 219 | <format>xml</format> |
| 220 | </formats> |
| 221 | <check></check> |
| 222 | </configuration> |
| 223 | <executions> |
| 224 | <execution> |
| 225 | <goals> |
| 226 | <goal>clean</goal> |
| 227 | </goals> |
| 228 | </execution> |
| 229 | </executions> |
| 230 | </plugin> |
| 231 | </plugins> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 232 | </build> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 233 | </project> |