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 | af145eb | 2020-11-24 16:55:47 +0100 | [diff] [blame] | 7 | <version>0.2.1</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 | d0b1cfe | 2020-11-20 19:26:52 +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> |
Akron | af145eb | 2020-11-24 16:55:47 +0100 | [diff] [blame] | 58 | <groupId>org.glassfish.jersey.containers</groupId> |
| 59 | <artifactId>jersey-container-servlet</artifactId> |
| 60 | <version>${jersey.version}</version> |
| 61 | </dependency> |
| 62 | <!-- |
| 63 | <dependency> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 64 | <groupId>org.glassfish.jersey.containers</groupId> |
| 65 | <artifactId>jersey-container-servlet-core</artifactId> |
| 66 | <version>${jersey.version}</version> |
Akron | af145eb | 2020-11-24 16:55:47 +0100 | [diff] [blame] | 67 | </dependency> |
| 68 | --> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 69 | |
| 70 | <!-- Jersey test framework --> |
| 71 | <dependency> |
| 72 | <groupId>org.glassfish.jersey.test-framework</groupId> |
| 73 | <artifactId>jersey-test-framework-core</artifactId> |
| 74 | <version>${jersey.version}</version> |
| 75 | </dependency> |
| 76 | <dependency> |
| 77 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 78 | <artifactId>jersey-test-framework-provider-grizzly2</artifactId> |
| 79 | <version>${jersey.version}</version> |
| 80 | <scope>test</scope> |
| 81 | </dependency> |
| 82 | |
| 83 | <!-- Mock server framework --> |
| 84 | <dependency> |
| 85 | <groupId>org.mock-server</groupId> |
| 86 | <artifactId>mockserver-netty</artifactId> |
Akron | 1fe2ba8 | 2020-11-12 18:11:10 +0100 | [diff] [blame] | 87 | <version>5.1.1</version> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 88 | <scope>test</scope> |
| 89 | </dependency> |
Akron | bb076c7 | 2020-09-28 14:39:15 +0200 | [diff] [blame] | 90 | |
| 91 | <!-- Template engine --> |
| 92 | <!-- I wasn't able to get this working with jersey-mvc-freemarker ... --> |
| 93 | <dependency> |
| 94 | <groupId>org.freemarker</groupId> |
| 95 | <artifactId>freemarker</artifactId> |
| 96 | <version>2.3.30</version> |
| 97 | </dependency> |
Akron | 03ea46c | 2020-11-18 14:59:30 +0100 | [diff] [blame] | 98 | |
| 99 | <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/cobertura-maven-plugin --> |
| 100 | <dependency> |
| 101 | <groupId>org.codehaus.mojo</groupId> |
| 102 | <artifactId>cobertura-maven-plugin</artifactId> |
| 103 | <version>2.7</version> |
| 104 | <scope>test</scope> |
| 105 | </dependency> |
Akron | 69cd35d | 2020-11-20 13:17:31 +0100 | [diff] [blame] | 106 | |
Akron | d0b1cfe | 2020-11-20 19:26:52 +0100 | [diff] [blame] | 107 | <!-- https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-sse --> |
| 108 | <dependency> |
| 109 | <groupId>org.glassfish.jersey.media</groupId> |
| 110 | <artifactId>jersey-media-sse</artifactId> |
| 111 | <version>${jersey.version}</version> |
| 112 | </dependency> |
| 113 | |
Akron | 3588101 | 2020-11-24 20:05:06 +0100 | [diff] [blame^] | 114 | <dependency> |
| 115 | <groupId>commons-io</groupId> |
| 116 | <artifactId>commons-io</artifactId> |
| 117 | <version>2.8.0</version> |
| 118 | </dependency> |
| 119 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 120 | </dependencies> |
| 121 | |
| 122 | <build> |
| 123 | <plugins> |
| 124 | <plugin> |
| 125 | <groupId>org.apache.maven.plugins</groupId> |
| 126 | <artifactId>maven-shade-plugin</artifactId> |
| 127 | <version>3.2.4</version> |
| 128 | <configuration> |
| 129 | <filters> |
| 130 | <filter> |
| 131 | <artifact>*:*</artifact> |
| 132 | <excludes> |
| 133 | <exclude>META-INF/*.SF</exclude> |
| 134 | <exclude>META-INF/*.DSA</exclude> |
| 135 | <exclude>META-INF/*.RSA</exclude> |
| 136 | </excludes> |
| 137 | </filter> |
| 138 | </filters> |
| 139 | </configuration> |
| 140 | <executions> |
| 141 | <execution> |
| 142 | <goals> |
| 143 | <goal>shade</goal> |
| 144 | </goals> |
| 145 | <configuration> |
| 146 | <transformers> |
| 147 | <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| 148 | <transformer |
| 149 | implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'> |
| 150 | <manifestEntries> |
| 151 | <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class> |
| 152 | </manifestEntries> |
| 153 | </transformer> |
| 154 | <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> |
| 155 | <resource>resources</resource> |
| 156 | <file>assets/test.txt</file> |
| 157 | </transformer> |
| 158 | </transformers> |
| 159 | </configuration> |
| 160 | </execution> |
| 161 | </executions> |
| 162 | </plugin> |
Akron | d0b1cfe | 2020-11-20 19:26:52 +0100 | [diff] [blame] | 163 | |
| 164 | <plugin> |
| 165 | <artifactId>maven-compiler-plugin</artifactId> |
| 166 | <version>3.8.1</version> |
| 167 | <inherited>true</inherited> |
| 168 | <configuration> |
| 169 | <showWarnings>true</showWarnings> |
| 170 | <source>${java.version}</source> |
| 171 | <target>${java.version}</target> |
| 172 | </configuration> |
| 173 | </plugin> |
| 174 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 175 | <plugin> |
| 176 | <groupId>org.apache.maven.plugins</groupId> |
| 177 | <artifactId>maven-resources-plugin</artifactId> |
| 178 | <version>3.2.0</version> |
| 179 | <configuration> |
| 180 | <encoding>UTF-8</encoding> |
| 181 | </configuration> |
| 182 | <executions> |
| 183 | <execution> |
| 184 | <goals> |
| 185 | <goal>testResources</goal> |
| 186 | </goals> |
| 187 | <configuration> |
| 188 | <resources> |
| 189 | <resource> |
| 190 | <directory>src/main/resources</directory> |
| 191 | </resource> |
| 192 | <resource> |
| 193 | <directory>src/test/resources</directory> |
| 194 | </resource> |
| 195 | </resources> |
| 196 | </configuration> |
| 197 | </execution> |
| 198 | </executions> |
| 199 | </plugin> |
Akron | 03ea46c | 2020-11-18 14:59:30 +0100 | [diff] [blame] | 200 | <plugin> |
| 201 | <groupId>org.codehaus.mojo</groupId> |
| 202 | <artifactId>cobertura-maven-plugin</artifactId> |
| 203 | <version>2.7</version> |
| 204 | <configuration> |
| 205 | <formats> |
| 206 | <format>html</format> |
| 207 | <format>xml</format> |
| 208 | </formats> |
| 209 | <check></check> |
| 210 | </configuration> |
| 211 | <executions> |
| 212 | <execution> |
| 213 | <goals> |
| 214 | <goal>clean</goal> |
| 215 | </goals> |
| 216 | </execution> |
| 217 | </executions> |
| 218 | </plugin> |
| 219 | </plugins> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 220 | </build> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 221 | </project> |
| 222 | |