margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [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/xsd/maven-4.0.0.xsd"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | <groupId>de.ids_mannheim.korap</groupId> |
| 5 | <artifactId>Kustvakt-core</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 6 | <version>0.59.10</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 7 | |
| 8 | <properties> |
| 9 | <java.version>1.7</java.version> |
| 10 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
margaretha | 514e141 | 2017-10-10 15:54:20 +0200 | [diff] [blame] | 11 | <spring-framework.version>4.3.11.RELEASE</spring-framework.version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 12 | <jersey.version>1.19.4</jersey.version> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 13 | <hibernate.version>5.1.11.Final</hibernate.version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 14 | </properties> |
| 15 | <build> |
| 16 | <resources> |
| 17 | <resource> |
| 18 | <directory>src/main/resources</directory> |
| 19 | <filtering>true</filtering> |
| 20 | <includes> |
| 21 | <include>**/*.info</include> |
| 22 | <include>**/*.xml</include> |
| 23 | <include>**/*.conf</include> |
| 24 | <include>**/*.kustvakt</include> |
| 25 | <include>**/*.properties</include> |
| 26 | <include>**/*.sql</include> |
| 27 | </includes> |
| 28 | </resource> |
| 29 | </resources> |
| 30 | <testResources> |
| 31 | <testResource> |
| 32 | <directory>src/test/resources</directory> |
| 33 | <filtering>true</filtering> |
| 34 | <includes> |
| 35 | <include>**/*.prop</include> |
| 36 | <include>**/*.xml</include> |
| 37 | <include>**/*.conf</include> |
| 38 | <include>**/*.info</include> |
| 39 | <include>**/*.properties</include> |
| 40 | </includes> |
| 41 | </testResource> |
| 42 | <testResource> |
| 43 | <directory>src/main/resources</directory> |
| 44 | <filtering>true</filtering> |
| 45 | <includes> |
| 46 | <include>**/*.info</include> |
| 47 | <include>**/*.properties</include> |
| 48 | </includes> |
| 49 | </testResource> |
| 50 | </testResources> |
| 51 | <plugins> |
| 52 | <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html --> |
| 53 | <plugin> |
| 54 | <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| 55 | <artifactId>maven-java-formatter-plugin</artifactId> |
| 56 | <version>0.4</version> |
| 57 | <configuration> |
| 58 | <configFile>${project.basedir}/Format.xml</configFile> |
| 59 | <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion> |
| 60 | <compilerSource>1.7</compilerSource> |
| 61 | <compilerCompliance>1.7</compilerCompliance> |
| 62 | <compilerTargetPlatform>1.7</compilerTargetPlatform> |
| 63 | </configuration> |
| 64 | <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution> |
| 65 | </executions> --> |
| 66 | </plugin> |
| 67 | <plugin> |
| 68 | <groupId>org.apache.maven.plugins</groupId> |
| 69 | <artifactId>maven-compiler-plugin</artifactId> |
| 70 | <version>3.3</version> |
| 71 | <configuration> |
| 72 | <compilerVersion>${java.version}</compilerVersion> |
| 73 | <source>${java.version}</source> |
| 74 | <target>${java.version}</target> |
| 75 | </configuration> |
| 76 | </plugin> |
| 77 | |
| 78 | <!-- build tests jar, so extensions can use fastjerseytest class to build |
| 79 | rest tests --> |
| 80 | <plugin> |
| 81 | <groupId>org.apache.maven.plugins</groupId> |
| 82 | <artifactId>maven-jar-plugin</artifactId> |
| 83 | <version>2.1</version> |
| 84 | <executions> |
| 85 | <execution> |
| 86 | <phase>package</phase> |
| 87 | <goals> |
| 88 | <goal>test-jar</goal> |
| 89 | </goals> |
| 90 | </execution> |
| 91 | </executions> |
| 92 | </plugin> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 93 | <!-- Generate source jar --> |
| 94 | <plugin> |
| 95 | <groupId>org.apache.maven.plugins</groupId> |
| 96 | <artifactId>maven-source-plugin</artifactId> |
margaretha | fc7d777 | 2018-01-16 17:48:17 +0100 | [diff] [blame] | 97 | <version>3.0.1</version> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 98 | <executions> |
| 99 | <execution> |
| 100 | <id>attach-sources</id> |
| 101 | <goals> |
| 102 | <goal>jar</goal> |
| 103 | </goals> |
| 104 | </execution> |
| 105 | </executions> |
| 106 | </plugin> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 107 | <plugin> |
| 108 | <groupId>org.apache.maven.plugins</groupId> |
| 109 | <artifactId>maven-surefire-plugin</artifactId> |
| 110 | <version>2.19.1</version> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 111 | |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 112 | <configuration> |
| 113 | <reuseForks>false</reuseForks> |
| 114 | <forkCount>2</forkCount> |
| 115 | <threadCount>10</threadCount> |
| 116 | <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine> |
| 117 | |
| 118 | <excludes> |
| 119 | <exclude>**/*APITest.java</exclude> |
| 120 | <exclude>de/ids_mannheim/korap/suites/*.java</exclude> |
| 121 | <exclude>**/KustvaktServerTest.java</exclude> |
| 122 | <exclude>**/ResourceServiceTest.java</exclude> |
| 123 | <exclude>**/ResourceInfoServiceTest.java</exclude> |
| 124 | <exclude>**/PolicyServiceTest.java</exclude> |
| 125 | </excludes> |
| 126 | <includes> |
| 127 | <include>de/ids_mannheim/korap/**/*.java</include> |
| 128 | </includes> |
| 129 | </configuration> |
| 130 | </plugin> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 131 | </plugins> |
| 132 | </build> |
| 133 | <dependencies> |
| 134 | <dependency> |
| 135 | <groupId>com.sun.jersey</groupId> |
| 136 | <artifactId>jersey-bundle</artifactId> |
| 137 | <version>${jersey.version}</version> |
| 138 | </dependency> |
| 139 | <!--EM: added --> |
| 140 | <dependency> |
| 141 | <groupId>com.sun.jersey</groupId> |
| 142 | <artifactId>jersey-server</artifactId> |
| 143 | <version>${jersey.version}</version> |
| 144 | </dependency> |
| 145 | |
| 146 | <dependency> |
| 147 | <groupId>com.sun.jersey.contribs</groupId> |
| 148 | <artifactId>jersey-spring</artifactId> |
| 149 | <version>${jersey.version}</version> |
| 150 | <exclusions> |
| 151 | <exclusion> |
| 152 | <groupId>org.springframework</groupId> |
| 153 | <artifactId>spring</artifactId> |
| 154 | </exclusion> |
| 155 | <exclusion> |
| 156 | <groupId>org.springframework</groupId> |
| 157 | <artifactId>spring-core</artifactId> |
| 158 | </exclusion> |
| 159 | <exclusion> |
| 160 | <groupId>org.springframework</groupId> |
| 161 | <artifactId>spring-web</artifactId> |
| 162 | </exclusion> |
| 163 | <exclusion> |
| 164 | <groupId>org.springframework</groupId> |
| 165 | <artifactId>spring-beans</artifactId> |
| 166 | </exclusion> |
| 167 | <exclusion> |
| 168 | <groupId>org.springframework</groupId> |
| 169 | <artifactId>spring-context</artifactId> |
| 170 | </exclusion> |
| 171 | <exclusion> |
| 172 | <groupId>org.springframework</groupId> |
| 173 | <artifactId>spring-aop</artifactId> |
| 174 | </exclusion> |
| 175 | </exclusions> |
| 176 | </dependency> |
| 177 | <!-- EM:done --> |
| 178 | <dependency> |
| 179 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 180 | <artifactId>jersey-test-framework-core</artifactId> |
| 181 | <version>${jersey.version}</version> |
| 182 | <scope>test</scope> |
| 183 | </dependency> |
| 184 | <dependency> |
| 185 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 186 | <artifactId>jersey-test-framework-grizzly</artifactId> |
| 187 | <version>${jersey.version}</version> |
| 188 | <scope>test</scope> |
| 189 | </dependency> |
| 190 | <!-- <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> |
| 191 | <version>1.7.5</version> </dependency> --> |
| 192 | <dependency> |
| 193 | <groupId>org.slf4j</groupId> |
| 194 | <artifactId>slf4j-log4j12</artifactId> |
| 195 | <version>1.7.5</version> |
| 196 | </dependency> |
| 197 | <!-- <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> |
| 198 | <version>1.2.17</version> </dependency> <dependency> <groupId>log4j</groupId> |
| 199 | <artifactId>apache-log4j-extras</artifactId> <version>1.2.17</version> </dependency> --> |
| 200 | <dependency> |
| 201 | <groupId>junit</groupId> |
| 202 | <artifactId>junit</artifactId> |
| 203 | <version>4.12</version> |
| 204 | </dependency> |
| 205 | <dependency> |
| 206 | <groupId>org.projectlombok</groupId> |
| 207 | <artifactId>lombok</artifactId> |
| 208 | <version>1.16.6</version> |
| 209 | </dependency> |
| 210 | <dependency> |
| 211 | <groupId>joda-time</groupId> |
| 212 | <artifactId>joda-time</artifactId> |
| 213 | <version>2.2</version> |
| 214 | </dependency> |
| 215 | <dependency> |
| 216 | <groupId>de.ids_mannheim.korap</groupId> |
| 217 | <artifactId>Koral</artifactId> |
margaretha | c6eafad | 2017-11-17 14:49:50 +0100 | [diff] [blame] | 218 | <version>0.28</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 219 | <exclusions> |
| 220 | <exclusion> |
| 221 | <groupId>org.eclipse.jetty</groupId> |
| 222 | <artifactId>jetty-servlet</artifactId> |
| 223 | </exclusion> |
| 224 | </exclusions> |
| 225 | </dependency> |
| 226 | |
| 227 | <dependency> |
| 228 | <groupId>org.xerial</groupId> |
| 229 | <artifactId>sqlite-jdbc</artifactId> |
margaretha | 514e141 | 2017-10-10 15:54:20 +0200 | [diff] [blame] | 230 | <version>3.20.1</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 231 | </dependency> |
| 232 | |
margaretha | 318fec3 | 2017-10-24 12:11:58 +0200 | [diff] [blame] | 233 | |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 234 | |
| 235 | <dependency> |
| 236 | <groupId>org.apache.commons</groupId> |
| 237 | <artifactId>commons-dbcp2</artifactId> |
| 238 | <version>2.1.1</version> |
| 239 | </dependency> |
| 240 | |
| 241 | <dependency> |
| 242 | <groupId>commons-validator</groupId> |
| 243 | <artifactId>commons-validator</artifactId> |
| 244 | <version>1.4.0</version> |
| 245 | </dependency> |
| 246 | |
| 247 | <dependency> |
| 248 | <groupId>org.mindrot</groupId> |
| 249 | <artifactId>jbcrypt</artifactId> |
| 250 | <version>0.3m</version> |
| 251 | </dependency> |
| 252 | |
| 253 | <dependency> |
| 254 | <groupId>com.nimbusds</groupId> |
| 255 | <artifactId>nimbus-jose-jwt</artifactId> |
| 256 | <version>2.10.1</version> |
| 257 | </dependency> |
| 258 | |
| 259 | <dependency> |
| 260 | <groupId>de.ids_mannheim.korap</groupId> |
| 261 | <artifactId>Krill</artifactId> |
| 262 | <version>0.55.9</version> |
| 263 | <exclusions> |
| 264 | <exclusion> |
| 265 | <groupId>org.xerial</groupId> |
| 266 | <artifactId>sqlite-jdbc</artifactId> |
| 267 | </exclusion> |
| 268 | </exclusions> |
| 269 | </dependency> |
| 270 | <dependency> |
| 271 | <groupId>org.reflections</groupId> |
| 272 | <artifactId>reflections</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 273 | <version>0.9.10</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 274 | </dependency> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 275 | <dependency> |
| 276 | <groupId>org.springframework</groupId> |
| 277 | <artifactId>spring-core</artifactId> |
| 278 | <version>${spring-framework.version}</version> |
| 279 | </dependency> |
| 280 | <dependency> |
| 281 | <groupId>org.springframework</groupId> |
| 282 | <artifactId>spring-web</artifactId> |
| 283 | <version>${spring-framework.version}</version> |
| 284 | </dependency> |
| 285 | <dependency> |
| 286 | <groupId>org.springframework</groupId> |
| 287 | <artifactId>spring-asm</artifactId> |
| 288 | <version>3.1.4.RELEASE</version> |
| 289 | </dependency> |
| 290 | <dependency> |
| 291 | <groupId>org.springframework</groupId> |
| 292 | <artifactId>spring-orm</artifactId> |
| 293 | <version>${spring-framework.version}</version> |
| 294 | </dependency> |
| 295 | <!-- EM: done --> |
| 296 | <dependency> |
| 297 | <groupId>org.springframework</groupId> |
| 298 | <artifactId>spring-context</artifactId> |
| 299 | <version>${spring-framework.version}</version> |
| 300 | </dependency> |
| 301 | <dependency> |
| 302 | <groupId>org.springframework</groupId> |
| 303 | <artifactId>spring-context-support</artifactId> |
| 304 | <version>${spring-framework.version}</version> |
| 305 | </dependency> |
| 306 | <dependency> |
| 307 | <groupId>org.springframework</groupId> |
| 308 | <artifactId>spring-test</artifactId> |
| 309 | <version>${spring-framework.version}</version> |
| 310 | <scope>compile</scope> |
| 311 | </dependency> |
| 312 | |
| 313 | <!-- apparently this order prevents the spring schemas from being overriden |
| 314 | in META-INF/spring.schemas, thus must stay like this --> |
| 315 | <dependency> |
| 316 | <groupId>org.springframework</groupId> |
| 317 | <artifactId>spring-aop</artifactId> |
| 318 | <version>${spring-framework.version}</version> |
| 319 | </dependency> |
| 320 | <dependency> |
| 321 | <groupId>org.springframework</groupId> |
| 322 | <artifactId>spring-aspects</artifactId> |
| 323 | <version>${spring-framework.version}</version> |
| 324 | </dependency> |
| 325 | |
| 326 | <!-- copied from extension --> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 327 | <!-- <dependency> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 328 | <groupId>org.springframework</groupId> |
| 329 | <artifactId>spring-jdbc</artifactId> |
| 330 | <version>${spring-framework.version}</version> |
| 331 | </dependency> |
| 332 | <dependency> |
| 333 | <groupId>org.springframework</groupId> |
| 334 | <artifactId>spring-tx</artifactId> |
| 335 | <version>${spring-framework.version}</version> |
| 336 | </dependency> |
| 337 | <dependency> |
| 338 | <groupId>org.flywaydb</groupId> |
| 339 | <artifactId>flyway-core</artifactId> |
| 340 | <version>4.0</version> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 341 | </dependency> --> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 342 | |
| 343 | <!-- <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache-core</artifactId> |
| 344 | <version>2.6.5</version> </dependency> --> |
| 345 | |
| 346 | <dependency> |
| 347 | <groupId>org.apache.oltu.oauth2</groupId> |
| 348 | <artifactId>org.apache.oltu.oauth2.authzserver</artifactId> |
| 349 | <version>1.0.0</version> |
| 350 | </dependency> |
| 351 | |
| 352 | <!-- end copy --> |
| 353 | |
| 354 | <dependency> |
| 355 | <groupId>commons-collections</groupId> |
| 356 | <artifactId>commons-collections</artifactId> |
| 357 | <version>3.2.1</version> |
| 358 | </dependency> |
| 359 | <dependency> |
| 360 | <groupId>org.eclipse.jetty</groupId> |
| 361 | <artifactId>jetty-server</artifactId> |
| 362 | <version>8.1.8.v20121106</version> |
| 363 | </dependency> |
| 364 | <dependency> |
| 365 | <groupId>org.eclipse.jetty</groupId> |
| 366 | <artifactId>jetty-servlet</artifactId> |
| 367 | <version>8.1.8.v20121106</version> |
| 368 | </dependency> |
| 369 | <dependency> |
| 370 | <groupId>asm</groupId> |
| 371 | <artifactId>asm</artifactId> |
| 372 | <version>3.3.1</version> |
| 373 | </dependency> |
| 374 | <dependency> |
| 375 | <groupId>com.novell.ldap</groupId> |
| 376 | <artifactId>jldap</artifactId> |
| 377 | <version>4.3</version> |
| 378 | </dependency> |
| 379 | <!-- https://mvnrepository.com/artifact/com.unboundid/unboundid-ldapsdk --> |
| 380 | <dependency> |
| 381 | <groupId>com.unboundid</groupId> |
| 382 | <artifactId>unboundid-ldapsdk</artifactId> |
| 383 | <version>3.2.1</version> |
| 384 | </dependency> |
| 385 | |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 386 | <!-- not part of public release |
| 387 | <dependency> |
| 388 | <groupId>KorAP-graphDB</groupId> |
| 389 | <artifactId>KorAP-graphDB</artifactId> |
| 390 | <version>1.0-SNAPSHOT</version> |
| 391 | <exclusions> |
| 392 | <exclusion> |
| 393 | <groupId>org.antlr</groupId> |
| 394 | <artifactId>antlr4-runtime</artifactId> |
| 395 | </exclusion> |
| 396 | <exclusion> |
| 397 | <groupId>org.glassfish.jersey.core</groupId> |
| 398 | <artifactId>jersey-client</artifactId> |
| 399 | </exclusion> |
| 400 | <exclusion> |
| 401 | <groupId>org.glassfish.jersey.containers</groupId> |
| 402 | <artifactId>jersey-container-grizzly2-http</artifactId> |
| 403 | </exclusion> |
| 404 | <exclusion> |
| 405 | <groupId>org.glassfish.jersey.core</groupId> |
| 406 | <artifactId>jersey-common</artifactId> |
| 407 | </exclusion> |
| 408 | <exclusion> |
| 409 | <groupId>org.glassfish.jersey.core</groupId> |
| 410 | <artifactId>jersey-server</artifactId> |
| 411 | </exclusion> |
| 412 | </exclusions> |
| 413 | </dependency> --> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 414 | <dependency> |
| 415 | <groupId>org.apache.httpcomponents</groupId> |
| 416 | <artifactId>httpclient</artifactId> |
| 417 | <version>4.3.3</version> |
| 418 | </dependency> |
| 419 | <dependency> |
| 420 | <groupId>commons-io</groupId> |
| 421 | <artifactId>commons-io</artifactId> |
| 422 | <version>2.4</version> |
| 423 | </dependency> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 424 | |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 425 | <dependency> |
| 426 | <groupId>org.hibernate</groupId> |
| 427 | <artifactId>hibernate-ehcache</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 428 | <version>${hibernate.version}</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 429 | </dependency> |
| 430 | </dependencies> |
| 431 | |
| 432 | |
| 433 | </project> |