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