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