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" |
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 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 | |
| 11 | <properties> |
| 12 | <jetty.version>9.2.3.v20140905</jetty.version> |
| 13 | <jersey.version>2.27</jersey.version> |
| 14 | </properties> |
| 15 | |
| 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 | |
| 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> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 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> |
| 44 | |
| 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 | </dependencies> |
| 79 | |
| 80 | <build> |
| 81 | <plugins> |
| 82 | <plugin> |
| 83 | <groupId>org.apache.maven.plugins</groupId> |
| 84 | <artifactId>maven-shade-plugin</artifactId> |
| 85 | <version>1.6</version> |
| 86 | <configuration> |
| 87 | <filters> |
| 88 | <filter> |
| 89 | <artifact>*:*</artifact> |
| 90 | <excludes> |
| 91 | <exclude>META-INF/*.SF</exclude> |
| 92 | <exclude>META-INF/*.DSA</exclude> |
| 93 | <exclude>META-INF/*.RSA</exclude> |
| 94 | </excludes> |
| 95 | </filter> |
| 96 | </filters> |
| 97 | </configuration> |
| 98 | <executions> |
| 99 | <execution> |
| 100 | <phase>package</phase> |
| 101 | <goals> |
| 102 | <goal>shade</goal> |
| 103 | </goals> |
| 104 | <configuration> |
| 105 | <transformers> |
hebasta | dc60631 | 2020-04-29 15:37:28 +0200 | [diff] [blame] | 106 | <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
hebasta | e2bd6e4 | 2020-03-03 19:07:20 +0100 | [diff] [blame] | 107 | <transformer |
| 108 | implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'> |
| 109 | <manifestEntries> |
| 110 | <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class> |
| 111 | </manifestEntries> |
| 112 | </transformer> |
| 113 | </transformers> |
| 114 | </configuration> |
| 115 | </execution> |
| 116 | </executions> |
| 117 | </plugin> |
| 118 | </plugins> |
| 119 | </build> |
| 120 | </project> |
| 121 | |