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> |
| 7 | <version>0.1</version> |
| 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> |
| 12 | <jetty.version>9.4.31.v20200723</jetty.version> |
| 13 | <jersey.version>2.27</jersey.version> |
| 14 | </properties> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 15 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 16 | <dependencies> |
| 17 | <dependency> |
| 18 | <groupId>junit</groupId> |
| 19 | <artifactId>junit</artifactId> |
| 20 | <version>4.13</version> |
| 21 | </dependency> |
hebasta | e049676 | 2020-03-30 00:11:01 +0200 | [diff] [blame] | 22 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 23 | <dependency> |
| 24 | <groupId>com.fasterxml.jackson.core</groupId> |
| 25 | <artifactId>jackson-databind</artifactId> |
| 26 | <version>2.9.8</version> |
| 27 | </dependency> |
| 28 | <dependency> |
| 29 | <groupId>com.tutego</groupId> |
| 30 | <artifactId>jrtf</artifactId> |
| 31 | <version>0.7</version> |
| 32 | </dependency> |
| 33 | <!-- jetty --> |
| 34 | <dependency> |
| 35 | <groupId>org.eclipse.jetty</groupId> |
| 36 | <artifactId>jetty-server</artifactId> |
| 37 | <version>${jetty.version}</version> |
| 38 | </dependency> |
| 39 | <dependency> |
| 40 | <groupId>org.eclipse.jetty</groupId> |
| 41 | <artifactId>jetty-servlet</artifactId> |
| 42 | <version>${jetty.version}</version> |
| 43 | </dependency> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 44 | |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 45 | <dependency> |
| 46 | <groupId>org.glassfish.jersey.core</groupId> |
| 47 | <artifactId>jersey-server</artifactId> |
| 48 | <version>${jersey.version}</version> |
| 49 | </dependency> |
| 50 | <dependency> |
| 51 | <groupId>org.glassfish.jersey.core</groupId> |
| 52 | <artifactId>jersey-client</artifactId> |
| 53 | <version>${jersey.version}</version> |
| 54 | </dependency> |
| 55 | <dependency> |
| 56 | <groupId>org.glassfish.jersey.inject</groupId> |
| 57 | <artifactId>jersey-hk2</artifactId> |
| 58 | <version>${jersey.version}</version> |
| 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>org.glassfish.jersey.containers</groupId> |
| 62 | <artifactId>jersey-container-servlet-core</artifactId> |
| 63 | <version>${jersey.version}</version> |
| 64 | </dependency> |
| 65 | |
| 66 | <!-- Jersey test framework --> |
| 67 | <dependency> |
| 68 | <groupId>org.glassfish.jersey.test-framework</groupId> |
| 69 | <artifactId>jersey-test-framework-core</artifactId> |
| 70 | <version>${jersey.version}</version> |
| 71 | </dependency> |
| 72 | <dependency> |
| 73 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 74 | <artifactId>jersey-test-framework-provider-grizzly2</artifactId> |
| 75 | <version>${jersey.version}</version> |
| 76 | <scope>test</scope> |
| 77 | </dependency> |
| 78 | |
| 79 | <!-- Mock server framework --> |
| 80 | <dependency> |
| 81 | <groupId>org.mock-server</groupId> |
| 82 | <artifactId>mockserver-netty</artifactId> |
Akron | 1fe2ba8 | 2020-11-12 18:11:10 +0100 | [diff] [blame^] | 83 | <version>5.1.1</version> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 84 | <scope>test</scope> |
| 85 | </dependency> |
Akron | bb076c7 | 2020-09-28 14:39:15 +0200 | [diff] [blame] | 86 | |
| 87 | <!-- Template engine --> |
| 88 | <!-- I wasn't able to get this working with jersey-mvc-freemarker ... --> |
| 89 | <dependency> |
| 90 | <groupId>org.freemarker</groupId> |
| 91 | <artifactId>freemarker</artifactId> |
| 92 | <version>2.3.30</version> |
| 93 | </dependency> |
Akron | b87af2f | 2020-09-24 14:38:02 +0200 | [diff] [blame] | 94 | </dependencies> |
| 95 | |
| 96 | <build> |
| 97 | <plugins> |
| 98 | <plugin> |
| 99 | <groupId>org.apache.maven.plugins</groupId> |
| 100 | <artifactId>maven-shade-plugin</artifactId> |
| 101 | <version>3.2.4</version> |
| 102 | <configuration> |
| 103 | <filters> |
| 104 | <filter> |
| 105 | <artifact>*:*</artifact> |
| 106 | <excludes> |
| 107 | <exclude>META-INF/*.SF</exclude> |
| 108 | <exclude>META-INF/*.DSA</exclude> |
| 109 | <exclude>META-INF/*.RSA</exclude> |
| 110 | </excludes> |
| 111 | </filter> |
| 112 | </filters> |
| 113 | </configuration> |
| 114 | <executions> |
| 115 | <execution> |
| 116 | <goals> |
| 117 | <goal>shade</goal> |
| 118 | </goals> |
| 119 | <configuration> |
| 120 | <transformers> |
| 121 | <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| 122 | <transformer |
| 123 | implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'> |
| 124 | <manifestEntries> |
| 125 | <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class> |
| 126 | </manifestEntries> |
| 127 | </transformer> |
| 128 | <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> |
| 129 | <resource>resources</resource> |
| 130 | <file>assets/test.txt</file> |
| 131 | </transformer> |
| 132 | </transformers> |
| 133 | </configuration> |
| 134 | </execution> |
| 135 | </executions> |
| 136 | </plugin> |
| 137 | <plugin> |
| 138 | <groupId>org.apache.maven.plugins</groupId> |
| 139 | <artifactId>maven-resources-plugin</artifactId> |
| 140 | <version>3.2.0</version> |
| 141 | <configuration> |
| 142 | <encoding>UTF-8</encoding> |
| 143 | </configuration> |
| 144 | <executions> |
| 145 | <execution> |
| 146 | <goals> |
| 147 | <goal>testResources</goal> |
| 148 | </goals> |
| 149 | <configuration> |
| 150 | <resources> |
| 151 | <resource> |
| 152 | <directory>src/main/resources</directory> |
| 153 | </resource> |
| 154 | <resource> |
| 155 | <directory>src/test/resources</directory> |
| 156 | </resource> |
| 157 | </resources> |
| 158 | </configuration> |
| 159 | </execution> |
| 160 | </executions> |
| 161 | </plugin> |
| 162 | </plugins> |
| 163 | </build> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 164 | </project> |
| 165 | |