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"> |
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 5 | <modelVersion>4.0.0</modelVersion> |
Michael Hanl | badd79c | 2015-06-19 07:41:03 +0200 | [diff] [blame] | 6 | <groupId>de.ids_mannheim.korap</groupId> |
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 7 | <artifactId>Kustvakt-core</artifactId> |
Michael Hanl | 9f8d90c | 2015-09-14 16:13:54 +0200 | [diff] [blame^] | 8 | <version>0.4</version> |
Michael Hanl | badd79c | 2015-06-19 07:41:03 +0200 | [diff] [blame] | 9 | <packaging>jar</packaging> |
| 10 | <name>Kustvakt core</name> |
| 11 | <description>Kustvakt core, basic rest api for testing purposes and default |
| 12 | interfaces |
| 13 | </description> |
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 14 | <properties> |
| 15 | <maven.compiler.source>1.7</maven.compiler.source> |
| 16 | <maven.compiler.target>1.7</maven.compiler.target> |
| 17 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 18 | </properties> |
| 19 | <build> |
Michael Hanl | 9f8d90c | 2015-09-14 16:13:54 +0200 | [diff] [blame^] | 20 | <resources> |
| 21 | <resource> |
| 22 | <directory>src/main/resources</directory> |
| 23 | <filtering>true</filtering> |
| 24 | <includes> |
| 25 | <include>**/*.prop</include> |
| 26 | <include>**/*.xml</include> |
| 27 | <include>**/*.conf</include> |
| 28 | <include>**/*.properties</include> |
| 29 | </includes> |
| 30 | </resource> |
| 31 | </resources> |
| 32 | <testResources> |
| 33 | <testResource> |
| 34 | <directory>src/main/resources</directory> |
| 35 | <filtering>true</filtering> |
| 36 | <includes> |
| 37 | <include>**/*.prop</include> |
| 38 | <include>**/*.xml</include> |
| 39 | <include>**/*.conf</include> |
| 40 | <include>**/*.properties</include> |
| 41 | </includes> |
| 42 | </testResource> |
| 43 | </testResources> |
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 44 | <plugins> |
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 45 | <!-- build tests jar, so extensions can use fastjerseytest class to build rest tests --> |
| 46 | <plugin> |
| 47 | <groupId>org.apache.maven.plugins</groupId> |
| 48 | <artifactId>maven-jar-plugin</artifactId> |
| 49 | <executions> |
| 50 | <execution> |
| 51 | <phase>package</phase> |
| 52 | <goals> |
| 53 | <goal>test-jar</goal> |
| 54 | </goals> |
| 55 | </execution> |
| 56 | </executions> |
| 57 | </plugin> |
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 58 | <plugin> |
| 59 | <groupId>org.apache.maven.plugins</groupId> |
| 60 | <artifactId>maven-surefire-plugin</artifactId> |
| 61 | <version>2.9</version> |
| 62 | <!-- ??? --> |
| 63 | <configuration> |
| 64 | <excludes> |
| 65 | <exclude>**/*APITest.java</exclude> |
| 66 | </excludes> |
| 67 | <includes> |
| 68 | <include>**/TestSuite.java</include> |
| 69 | </includes> |
| 70 | </configuration> |
| 71 | </plugin> |
| 72 | <plugin> |
| 73 | <artifactId>maven-shade-plugin</artifactId> |
| 74 | <version>2.1</version> |
| 75 | <executions> |
| 76 | <!-- option 1 --> |
| 77 | <execution> |
| 78 | <id>light</id> |
| 79 | <phase>package</phase> |
| 80 | <goals> |
| 81 | <goal>shade</goal> |
| 82 | </goals> |
| 83 | <configuration> |
Michael Hanl | 9f8d90c | 2015-09-14 16:13:54 +0200 | [diff] [blame^] | 84 | <finalName> |
| 85 | Kustvakt-core-${project.version}-light |
| 86 | </finalName> |
| 87 | <transformers> |
| 88 | <transformer |
| 89 | implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 90 | <mainClass> |
| 91 | de.ids_mannheim.korap.web.KustvaktLightServer |
| 92 | </mainClass> |
| 93 | </transformer> |
| 94 | <transformer |
| 95 | implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 96 | <resource>META-INF/spring.handlers |
| 97 | </resource> |
| 98 | </transformer> |
| 99 | <transformer |
| 100 | implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 101 | <resource>META-INF/spring.schemas |
| 102 | </resource> |
| 103 | </transformer> |
| 104 | </transformers> |
| 105 | <!-- Additional configuration. --> |
| 106 | <!-- apparently there is a securityexception --> |
| 107 | <filters> |
| 108 | <filter> |
| 109 | <artifact>*:*</artifact> |
| 110 | <excludes> |
| 111 | <exclude>META-INF/*.SF</exclude> |
| 112 | <exclude>META-INF/*.DSA |
| 113 | </exclude> |
| 114 | <exclude>META-INF/*.RSA |
| 115 | </exclude> |
| 116 | </excludes> |
| 117 | </filter> |
| 118 | </filters> |
| 119 | </configuration> |
| 120 | </execution> |
| 121 | <execution> |
| 122 | <id>full</id> |
| 123 | <phase>package</phase> |
| 124 | <goals> |
| 125 | <goal>shade</goal> |
| 126 | </goals> |
| 127 | <configuration> |
| 128 | <finalName> |
| 129 | Kustvakt-core-${project.version}-full |
| 130 | </finalName> |
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 131 | <transformers> |
| 132 | <transformer |
| 133 | implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 134 | <mainClass> |
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 135 | de.ids_mannheim.korap.web.KustvaktServer |
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 136 | </mainClass> |
| 137 | </transformer> |
| 138 | <transformer |
| 139 | implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 140 | <resource>META-INF/spring.handlers |
| 141 | </resource> |
| 142 | </transformer> |
| 143 | <transformer |
| 144 | implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 145 | <resource>META-INF/spring.schemas |
| 146 | </resource> |
| 147 | </transformer> |
| 148 | </transformers> |
| 149 | <!-- Additional configuration. --> |
| 150 | <!-- apparently there is a securityexception --> |
| 151 | <filters> |
| 152 | <filter> |
| 153 | <artifact>*:*</artifact> |
| 154 | <excludes> |
| 155 | <exclude>META-INF/*.SF</exclude> |
| 156 | <exclude>META-INF/*.DSA |
| 157 | </exclude> |
| 158 | <exclude>META-INF/*.RSA |
| 159 | </exclude> |
| 160 | </excludes> |
| 161 | </filter> |
| 162 | </filters> |
| 163 | </configuration> |
| 164 | </execution> |
| 165 | </executions> |
| 166 | </plugin> |
| 167 | </plugins> |
| 168 | </build> |
| 169 | <repositories> |
| 170 | <repository> |
| 171 | <id>codehaus-release-repo</id> |
| 172 | <name>Codehaus Release Repo</name> |
| 173 | <url>http://repository.codehaus.org</url> |
| 174 | </repository> |
| 175 | <repository> |
| 176 | <id>central</id> |
| 177 | <url>http://repo1.maven.org/maven2/</url> |
| 178 | </repository> |
| 179 | <repository> |
| 180 | <id>sonatype</id> |
| 181 | <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
| 182 | <snapshots/> |
| 183 | </repository> |
| 184 | </repositories> |
| 185 | <dependencies> |
| 186 | <dependency> |
| 187 | <groupId>com.sun.jersey</groupId> |
| 188 | <artifactId>jersey-bundle</artifactId> |
| 189 | <version>1.8</version> |
| 190 | </dependency> |
| 191 | <dependency> |
Michael Hanl | 1e18cb4 | 2015-08-06 20:57:35 +0200 | [diff] [blame] | 192 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 193 | <artifactId>jersey-test-framework-core</artifactId> |
| 194 | <version>1.19</version> |
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 195 | <scope>test</scope> |
Michael Hanl | 1e18cb4 | 2015-08-06 20:57:35 +0200 | [diff] [blame] | 196 | </dependency> |
| 197 | <dependency> |
| 198 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 199 | <artifactId>jersey-test-framework-grizzly</artifactId> |
| 200 | <version>1.19</version> |
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 201 | <scope>test</scope> |
Michael Hanl | 1e18cb4 | 2015-08-06 20:57:35 +0200 | [diff] [blame] | 202 | </dependency> |
| 203 | <dependency> |
Michael Hanl | badd79c | 2015-06-19 07:41:03 +0200 | [diff] [blame] | 204 | <groupId>org.slf4j</groupId> |
| 205 | <artifactId>slf4j-api</artifactId> |
| 206 | <version>1.7.5</version> |
| 207 | </dependency> |
| 208 | <dependency> |
| 209 | <groupId>org.slf4j</groupId> |
| 210 | <artifactId>slf4j-log4j12</artifactId> |
| 211 | <version>1.7.5</version> |
| 212 | </dependency> |
| 213 | <dependency> |
| 214 | <groupId>log4j</groupId> |
| 215 | <artifactId>log4j</artifactId> |
| 216 | <version>1.2.17</version> |
| 217 | </dependency> |
| 218 | <dependency> |
| 219 | <groupId>log4j</groupId> |
| 220 | <artifactId>apache-log4j-extras</artifactId> |
| 221 | <version>1.2.17</version> |
| 222 | </dependency> |
| 223 | <dependency> |
| 224 | <groupId>junit</groupId> |
| 225 | <artifactId>junit</artifactId> |
| 226 | <version>4.11</version> |
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 227 | <scope>test</scope> |
Michael Hanl | badd79c | 2015-06-19 07:41:03 +0200 | [diff] [blame] | 228 | </dependency> |
| 229 | <dependency> |
| 230 | <groupId>org.projectlombok</groupId> |
| 231 | <artifactId>lombok</artifactId> |
| 232 | <version>0.11.8</version> |
Michael Hanl | c8729b9 | 2015-09-02 12:37:36 +0200 | [diff] [blame] | 233 | <scope>provided</scope> |
Michael Hanl | badd79c | 2015-06-19 07:41:03 +0200 | [diff] [blame] | 234 | </dependency> |
| 235 | <dependency> |
| 236 | <groupId>joda-time</groupId> |
| 237 | <artifactId>joda-time</artifactId> |
| 238 | <version>2.2</version> |
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 239 | </dependency> |
| 240 | <dependency> |
Michael Hanl | cafa03e | 2015-06-26 17:01:16 +0200 | [diff] [blame] | 241 | <groupId>de.ids_mannheim.korap</groupId> |
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 242 | <artifactId>Koral</artifactId> |
Michael Hanl | 1e18cb4 | 2015-08-06 20:57:35 +0200 | [diff] [blame] | 243 | <version>0.21</version> |
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 244 | <exclusions> |
| 245 | <exclusion> |
| 246 | <groupId>org.eclipse.jetty</groupId> |
| 247 | <artifactId>jetty-servlet</artifactId> |
| 248 | </exclusion> |
| 249 | </exclusions> |
| 250 | </dependency> |
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 251 | <!-- |
| 252 | <dependency> |
| 253 | <groupId>com.sun.jersey</groupId> |
| 254 | <artifactId>jersey-grizzly2</artifactId> |
| 255 | <version>1.8</version> |
| 256 | </dependency> |
| 257 | <dependency> |
| 258 | <groupId>com.sun.grizzly</groupId> |
| 259 | <artifactId>grizzly-servlet-webserver</artifactId> |
| 260 | <version>1.9.18-i</version> |
| 261 | </dependency> |
| 262 | --> |
Michael Hanl | c8729b9 | 2015-09-02 12:37:36 +0200 | [diff] [blame] | 263 | |
| 264 | <!--<dependency>--> |
Michael Hanl | 9f8d90c | 2015-09-14 16:13:54 +0200 | [diff] [blame^] | 265 | <!--<groupId>org.xerial</groupId>--> |
| 266 | <!--<artifactId>sqlite-jdbc</artifactId>--> |
| 267 | <!--<version>3.7.2</version>--> |
Michael Hanl | c8729b9 | 2015-09-02 12:37:36 +0200 | [diff] [blame] | 268 | <!--</dependency>--> |
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 269 | <dependency> |
| 270 | <groupId>com.nimbusds</groupId> |
| 271 | <artifactId>nimbus-jose-jwt</artifactId> |
| 272 | <version>2.10.1</version> |
| 273 | </dependency> |
| 274 | |
| 275 | <dependency> |
| 276 | <groupId>de.ids_mannheim.korap</groupId> |
| 277 | <artifactId>Krill</artifactId> |
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 278 | <version>0.53</version> |
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 279 | <exclusions> |
| 280 | <exclusion> |
| 281 | <groupId>org.xerial</groupId> |
| 282 | <artifactId>sqlite-jdbc</artifactId> |
| 283 | </exclusion> |
| 284 | </exclusions> |
| 285 | </dependency> |
| 286 | <dependency> |
| 287 | <groupId>org.reflections</groupId> |
| 288 | <artifactId>reflections</artifactId> |
| 289 | <version>0.9.9-RC1</version> |
| 290 | </dependency> |
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 291 | <!-- deprecated? --> |
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 292 | <dependency> |
| 293 | <groupId>com.restfuse</groupId> |
| 294 | <artifactId>com.eclipsesource.restfuse</artifactId> |
| 295 | <version>1.0.0</version> |
| 296 | <scope>provided</scope> |
| 297 | </dependency> |
Michael Hanl | 1e18cb4 | 2015-08-06 20:57:35 +0200 | [diff] [blame] | 298 | <!-- deprecated --> |
| 299 | <!--<dependency>--> |
| 300 | <!--<groupId>com.jayway.restassured</groupId>--> |
| 301 | <!--<artifactId>rest-assured</artifactId>--> |
| 302 | <!--<version>2.4.0</version>--> |
| 303 | <!--<scope>provided</scope>--> |
| 304 | <!--</dependency>--> |
Michael Hanl | badd79c | 2015-06-19 07:41:03 +0200 | [diff] [blame] | 305 | <dependency> |
| 306 | <groupId>org.springframework</groupId> |
| 307 | <artifactId>spring-core</artifactId> |
| 308 | <version>4.0.5.RELEASE</version> |
| 309 | </dependency> |
| 310 | <dependency> |
| 311 | <groupId>org.springframework</groupId> |
| 312 | <artifactId>spring-context</artifactId> |
| 313 | <version>4.0.5.RELEASE</version> |
| 314 | </dependency> |
| 315 | <dependency> |
| 316 | <groupId>org.springframework</groupId> |
| 317 | <artifactId>spring-context-support</artifactId> |
| 318 | <version>4.0.5.RELEASE</version> |
| 319 | </dependency> |
| 320 | |
| 321 | <!-- apparently this order prevents the spring schemas from being overriden in META-INF/spring.schemas, thus must stay like this |
| 322 | --> |
| 323 | <dependency> |
| 324 | <groupId>org.springframework</groupId> |
| 325 | <artifactId>spring-aop</artifactId> |
| 326 | <version>4.0.5.RELEASE</version> |
| 327 | </dependency> |
| 328 | <dependency> |
| 329 | <groupId>org.springframework</groupId> |
| 330 | <artifactId>spring-aspects</artifactId> |
| 331 | <version>4.0.5.RELEASE</version> |
| 332 | </dependency> |
Michael Hanl | 9f8d90c | 2015-09-14 16:13:54 +0200 | [diff] [blame^] | 333 | |
| 334 | <!-- copied from extension --> |
| 335 | <dependency> |
| 336 | <groupId>org.springframework</groupId> |
| 337 | <artifactId>spring-jdbc</artifactId> |
| 338 | <version>4.1.6.RELEASE</version> |
| 339 | </dependency> |
| 340 | <dependency> |
| 341 | <groupId>org.springframework</groupId> |
| 342 | <artifactId>spring-tx</artifactId> |
| 343 | <version>4.1.6.RELEASE</version> |
| 344 | </dependency> |
| 345 | <dependency> |
| 346 | <groupId>org.flywaydb</groupId> |
| 347 | <artifactId>flyway-core</artifactId> |
| 348 | <version>3.2.1</version> |
| 349 | </dependency> |
| 350 | |
| 351 | <dependency> |
| 352 | <groupId>net.sf.ehcache</groupId> |
| 353 | <artifactId>ehcache-core</artifactId> |
| 354 | <version>2.6.5</version> |
| 355 | </dependency> |
| 356 | |
| 357 | <dependency> |
| 358 | <groupId>org.apache.oltu.oauth2</groupId> |
| 359 | <artifactId>org.apache.oltu.oauth2.authzserver</artifactId> |
| 360 | <version>1.0.0</version> |
| 361 | </dependency> |
| 362 | |
| 363 | <!-- end copy --> |
| 364 | |
Michael Hanl | badd79c | 2015-06-19 07:41:03 +0200 | [diff] [blame] | 365 | <dependency> |
| 366 | <groupId>commons-collections</groupId> |
| 367 | <artifactId>commons-collections</artifactId> |
| 368 | <version>3.2.1</version> |
| 369 | </dependency> |
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 370 | <dependency> |
| 371 | <groupId>org.eclipse.jetty</groupId> |
| 372 | <artifactId>jetty-server</artifactId> |
| 373 | <version>8.1.8.v20121106</version> |
| 374 | </dependency> |
| 375 | <dependency> |
| 376 | <groupId>org.eclipse.jetty</groupId> |
| 377 | <artifactId>jetty-servlet</artifactId> |
| 378 | <version>8.1.8.v20121106</version> |
| 379 | </dependency> |
Michael Hanl | 9f8d90c | 2015-09-14 16:13:54 +0200 | [diff] [blame^] | 380 | |
Michael Hanl | badd79c | 2015-06-19 07:41:03 +0200 | [diff] [blame] | 381 | <!-- |
| 382 | not part of public release |
| 383 | <dependency> |
| 384 | <groupId>KorAP-graphDB</groupId> |
| 385 | <artifactId>KorAP-graphDB</artifactId> |
| 386 | <version>1.0-SNAPSHOT</version> |
| 387 | <exclusions> |
| 388 | <exclusion> |
| 389 | <groupId>org.antlr</groupId> |
| 390 | <artifactId>antlr4-runtime</artifactId> |
| 391 | </exclusion> |
| 392 | <exclusion> |
| 393 | <groupId>org.glassfish.jersey.core</groupId> |
| 394 | <artifactId>jersey-client</artifactId> |
| 395 | </exclusion> |
| 396 | <exclusion> |
| 397 | <groupId>org.glassfish.jersey.containers</groupId> |
| 398 | <artifactId>jersey-container-grizzly2-http</artifactId> |
| 399 | </exclusion> |
| 400 | <exclusion> |
| 401 | <groupId>org.glassfish.jersey.core</groupId> |
| 402 | <artifactId>jersey-common</artifactId> |
| 403 | </exclusion> |
| 404 | <exclusion> |
| 405 | <groupId>org.glassfish.jersey.core</groupId> |
| 406 | <artifactId>jersey-server</artifactId> |
| 407 | </exclusion> |
| 408 | </exclusions> |
| 409 | </dependency> |
| 410 | --> |
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 411 | </dependencies> |
| 412 | |
| 413 | </project> |