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> |
| 22 | |
| 23 | <!-- jetty --> |
| 24 | <dependency> |
| 25 | <groupId>org.eclipse.jetty</groupId> |
| 26 | <artifactId>jetty-server</artifactId> |
| 27 | <version>${jetty.version}</version> |
| 28 | </dependency> |
| 29 | <dependency> |
| 30 | <groupId>org.eclipse.jetty</groupId> |
| 31 | <artifactId>jetty-servlet</artifactId> |
| 32 | <version>${jetty.version}</version> |
| 33 | </dependency> |
| 34 | |
| 35 | <dependency> |
| 36 | <groupId>org.glassfish.jersey.core</groupId> |
| 37 | <artifactId>jersey-server</artifactId> |
| 38 | <version>${jersey.version}</version> |
| 39 | </dependency> |
| 40 | <dependency> |
| 41 | <groupId>org.glassfish.jersey.core</groupId> |
| 42 | <artifactId>jersey-client</artifactId> |
| 43 | <version>${jersey.version}</version> |
| 44 | </dependency> |
| 45 | <dependency> |
| 46 | <groupId>org.glassfish.jersey.inject</groupId> |
| 47 | <artifactId>jersey-hk2</artifactId> |
| 48 | <version>${jersey.version}</version> |
| 49 | </dependency> |
| 50 | <dependency> |
| 51 | <groupId>org.glassfish.jersey.containers</groupId> |
| 52 | <artifactId>jersey-container-servlet-core</artifactId> |
| 53 | <version>${jersey.version}</version> |
| 54 | </dependency> |
| 55 | |
| 56 | <!-- Jersey test framework --> |
| 57 | <dependency> |
| 58 | <groupId>org.glassfish.jersey.test-framework</groupId> |
| 59 | <artifactId>jersey-test-framework-core</artifactId> |
| 60 | <version>${jersey.version}</version> |
| 61 | </dependency> |
| 62 | <dependency> |
| 63 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 64 | <artifactId>jersey-test-framework-provider-grizzly2</artifactId> |
| 65 | <version>${jersey.version}</version> |
| 66 | <scope>test</scope> |
| 67 | </dependency> |
| 68 | </dependencies> |
| 69 | |
| 70 | <build> |
| 71 | <plugins> |
| 72 | <plugin> |
| 73 | <groupId>org.apache.maven.plugins</groupId> |
| 74 | <artifactId>maven-shade-plugin</artifactId> |
| 75 | <version>1.6</version> |
| 76 | <configuration> |
| 77 | <filters> |
| 78 | <filter> |
| 79 | <artifact>*:*</artifact> |
| 80 | <excludes> |
| 81 | <exclude>META-INF/*.SF</exclude> |
| 82 | <exclude>META-INF/*.DSA</exclude> |
| 83 | <exclude>META-INF/*.RSA</exclude> |
| 84 | </excludes> |
| 85 | </filter> |
| 86 | </filters> |
| 87 | </configuration> |
| 88 | <executions> |
| 89 | <execution> |
| 90 | <phase>package</phase> |
| 91 | <goals> |
| 92 | <goal>shade</goal> |
| 93 | </goals> |
| 94 | <configuration> |
| 95 | <transformers> |
| 96 | <transformer |
| 97 | implementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'> |
| 98 | <manifestEntries> |
| 99 | <Main-Class>de.ids_mannheim.korap.plkexport.PluginServer</Main-Class> |
| 100 | </manifestEntries> |
| 101 | </transformer> |
| 102 | </transformers> |
| 103 | </configuration> |
| 104 | </execution> |
| 105 | </executions> |
| 106 | </plugin> |
| 107 | </plugins> |
| 108 | </build> |
| 109 | </project> |
| 110 | |