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