Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | <parent> |
| 6 | <artifactId>KorAP-core-modules</artifactId> |
| 7 | <groupId>KorAP-modules</groupId> |
| 8 | <version>1.1</version> |
| 9 | </parent> |
| 10 | <modelVersion>4.0.0</modelVersion> |
| 11 | <artifactId>Kustvakt-core</artifactId> |
| 12 | <version>0.2</version> |
| 13 | <properties> |
| 14 | <maven.compiler.source>1.7</maven.compiler.source> |
| 15 | <maven.compiler.target>1.7</maven.compiler.target> |
| 16 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 17 | </properties> |
| 18 | <build> |
| 19 | <plugins> |
| 20 | <plugin> |
| 21 | <groupId>org.apache.maven.plugins</groupId> |
| 22 | <artifactId>maven-surefire-plugin</artifactId> |
| 23 | <version>2.9</version> |
| 24 | <!-- ??? --> |
| 25 | <configuration> |
| 26 | <excludes> |
| 27 | <exclude>**/*APITest.java</exclude> |
| 28 | </excludes> |
| 29 | <includes> |
| 30 | <include>**/TestSuite.java</include> |
| 31 | </includes> |
| 32 | </configuration> |
| 33 | </plugin> |
| 34 | <plugin> |
| 35 | <artifactId>maven-shade-plugin</artifactId> |
| 36 | <version>2.1</version> |
| 37 | <executions> |
| 38 | <!-- option 1 --> |
| 39 | <execution> |
| 40 | <id>light</id> |
| 41 | <phase>package</phase> |
| 42 | <goals> |
| 43 | <goal>shade</goal> |
| 44 | </goals> |
| 45 | <configuration> |
| 46 | <transformers> |
| 47 | <transformer |
| 48 | implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 49 | <mainClass> |
| 50 | de.ids_mannheim.korap.web.Kustvakt |
| 51 | </mainClass> |
| 52 | </transformer> |
| 53 | <transformer |
| 54 | implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 55 | <resource>META-INF/spring.handlers |
| 56 | </resource> |
| 57 | </transformer> |
| 58 | <transformer |
| 59 | implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 60 | <resource>META-INF/spring.schemas |
| 61 | </resource> |
| 62 | </transformer> |
| 63 | </transformers> |
| 64 | <!-- Additional configuration. --> |
| 65 | <!-- apparently there is a securityexception --> |
| 66 | <filters> |
| 67 | <filter> |
| 68 | <artifact>*:*</artifact> |
| 69 | <excludes> |
| 70 | <exclude>META-INF/*.SF</exclude> |
| 71 | <exclude>META-INF/*.DSA |
| 72 | </exclude> |
| 73 | <exclude>META-INF/*.RSA |
| 74 | </exclude> |
| 75 | </excludes> |
| 76 | </filter> |
| 77 | </filters> |
| 78 | </configuration> |
| 79 | </execution> |
| 80 | </executions> |
| 81 | </plugin> |
| 82 | </plugins> |
| 83 | </build> |
| 84 | <repositories> |
| 85 | <repository> |
| 86 | <id>codehaus-release-repo</id> |
| 87 | <name>Codehaus Release Repo</name> |
| 88 | <url>http://repository.codehaus.org</url> |
| 89 | </repository> |
| 90 | <repository> |
| 91 | <id>central</id> |
| 92 | <url>http://repo1.maven.org/maven2/</url> |
| 93 | </repository> |
| 94 | <repository> |
| 95 | <id>sonatype</id> |
| 96 | <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
| 97 | <snapshots/> |
| 98 | </repository> |
| 99 | </repositories> |
| 100 | <dependencies> |
| 101 | <dependency> |
| 102 | <groupId>com.sun.jersey</groupId> |
| 103 | <artifactId>jersey-bundle</artifactId> |
| 104 | <version>1.8</version> |
| 105 | </dependency> |
| 106 | <dependency> |
| 107 | <groupId>KorAP-graphDB</groupId> |
| 108 | <artifactId>KorAP-graphDB</artifactId> |
| 109 | <version>1.0-SNAPSHOT</version> |
| 110 | <exclusions> |
| 111 | <exclusion> |
| 112 | <groupId>org.antlr</groupId> |
| 113 | <artifactId>antlr4-runtime</artifactId> |
| 114 | </exclusion> |
| 115 | <exclusion> |
| 116 | <groupId>org.glassfish.jersey.core</groupId> |
| 117 | <artifactId>jersey-client</artifactId> |
| 118 | </exclusion> |
| 119 | <exclusion> |
| 120 | <groupId>org.glassfish.jersey.containers</groupId> |
| 121 | <artifactId>jersey-container-grizzly2-http</artifactId> |
| 122 | </exclusion> |
| 123 | <exclusion> |
| 124 | <groupId>org.glassfish.jersey.core</groupId> |
| 125 | <artifactId>jersey-common</artifactId> |
| 126 | </exclusion> |
| 127 | <exclusion> |
| 128 | <groupId>org.glassfish.jersey.core</groupId> |
| 129 | <artifactId>jersey-server</artifactId> |
| 130 | </exclusion> |
| 131 | </exclusions> |
| 132 | </dependency> |
| 133 | <dependency> |
| 134 | <groupId>KorAP-modules</groupId> |
| 135 | <artifactId>Koral</artifactId> |
| 136 | <version>0.2</version> |
| 137 | <exclusions> |
| 138 | <exclusion> |
| 139 | <groupId>org.eclipse.jetty</groupId> |
| 140 | <artifactId>jetty-servlet</artifactId> |
| 141 | </exclusion> |
| 142 | </exclusions> |
| 143 | </dependency> |
| 144 | <dependency> |
| 145 | <groupId>com.sun.jersey</groupId> |
| 146 | <artifactId>jersey-grizzly2</artifactId> |
| 147 | <version>1.8</version> |
| 148 | </dependency> |
| 149 | <dependency> |
| 150 | <groupId>com.sun.grizzly</groupId> |
| 151 | <artifactId>grizzly-servlet-webserver</artifactId> |
| 152 | <version>1.9.18-i</version> |
| 153 | </dependency> |
| 154 | <dependency> |
| 155 | <groupId>com.nimbusds</groupId> |
| 156 | <artifactId>nimbus-jose-jwt</artifactId> |
| 157 | <version>2.10.1</version> |
| 158 | </dependency> |
| 159 | |
| 160 | <dependency> |
| 161 | <groupId>de.ids_mannheim.korap</groupId> |
| 162 | <artifactId>Krill</artifactId> |
| 163 | <version>0.51</version> |
| 164 | <exclusions> |
| 165 | <exclusion> |
| 166 | <groupId>org.xerial</groupId> |
| 167 | <artifactId>sqlite-jdbc</artifactId> |
| 168 | </exclusion> |
| 169 | </exclusions> |
| 170 | </dependency> |
| 171 | <dependency> |
| 172 | <groupId>org.reflections</groupId> |
| 173 | <artifactId>reflections</artifactId> |
| 174 | <version>0.9.9-RC1</version> |
| 175 | </dependency> |
| 176 | <dependency> |
| 177 | <groupId>com.restfuse</groupId> |
| 178 | <artifactId>com.eclipsesource.restfuse</artifactId> |
| 179 | <version>1.0.0</version> |
| 180 | <scope>provided</scope> |
| 181 | </dependency> |
| 182 | <dependency> |
| 183 | <groupId>com.jayway.restassured</groupId> |
| 184 | <artifactId>rest-assured</artifactId> |
| 185 | <version>2.4.0</version> |
| 186 | <scope>provided</scope> |
| 187 | </dependency> |
| 188 | </dependencies> |
| 189 | |
| 190 | </project> |