| <?xml version="1.0" encoding="UTF-8"?> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>de.ids_mannheim.korap</groupId> |
| <artifactId>Kustvakt-core</artifactId> |
| <version>0.59.7</version> |
| <packaging>jar</packaging> |
| <name>Kustvakt core</name> |
| <description>Kustvakt core, basic rest api for testing purposes and default |
| interfaces |
| </description> |
| <properties> |
| <maven.compiler.source>1.7</maven.compiler.source> |
| <maven.compiler.target>1.7</maven.compiler.target> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| <profiles> |
| <!-- mvn -Plight builds additionally the light server version with reduced functionality! --> |
| <profile> |
| <id>light</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>2.1</version> |
| <executions> |
| <!-- option 1 --> |
| <execution> |
| <id>light</id> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <finalName> |
| Kustvakt-core-${project.version}-light |
| </finalName> |
| <transformers> |
| <transformer |
| implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| <mainClass> |
| de.ids_mannheim.korap.web.KustvaktBaseServer |
| </mainClass> |
| </transformer> |
| <transformer |
| implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| <resource>META-INF/spring.handlers |
| </resource> |
| </transformer> |
| <transformer |
| implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| <resource>META-INF/spring.schemas |
| </resource> |
| </transformer> |
| </transformers> |
| <!-- Additional configuration. --> |
| <!-- apparently there is a securityexception --> |
| <filters> |
| <filter> |
| <artifact>*:*</artifact> |
| <excludes> |
| <exclude>META-INF/*.SF</exclude> |
| <exclude>META-INF/*.DSA |
| </exclude> |
| <exclude>META-INF/*.RSA |
| </exclude> |
| </excludes> |
| </filter> |
| </filters> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| <includes> |
| <include>**/*.info</include> |
| <include>**/*.xml</include> |
| <include>**/*.conf</include> |
| <include>**/*.kustvakt</include> |
| <include>**/*.properties</include> |
| <include>**/*.sql</include> |
| </includes> |
| </resource> |
| </resources> |
| <testResources> |
| <testResource> |
| <directory>src/test/resources</directory> |
| <filtering>true</filtering> |
| <includes> |
| <include>**/*.prop</include> |
| <include>**/*.xml</include> |
| <include>**/*.conf</include> |
| <include>**/*.info</include> |
| <include>**/*.properties</include> |
| </includes> |
| </testResource> |
| <testResource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| <includes> |
| <include>**/*.info</include> |
| <include>**/*.properties</include> |
| </includes> |
| </testResource> |
| </testResources> |
| <plugins> |
| <!-- |
| Formatter plugin for Eclipse based coding conventions |
| http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html |
| --> |
| <plugin> |
| <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| <artifactId>maven-java-formatter-plugin</artifactId> |
| <version>0.4</version> |
| <configuration> |
| <configFile>${project.basedir}/Format.xml</configFile> |
| <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion> |
| <compilerSource>1.7</compilerSource> |
| <compilerCompliance>1.7</compilerCompliance> |
| <compilerTargetPlatform>1.7</compilerTargetPlatform> |
| </configuration> |
| <!-- |
| <executions> |
| <execution> |
| <goals> |
| <goal>format</goal> |
| </goals> |
| </execution> |
| </executions> |
| --> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.3</version> |
| <configuration> |
| <compilerVersion>1.7</compilerVersion> |
| <source>1.7</source> |
| <target>1.7</target> |
| </configuration> |
| </plugin> |
| |
| <!-- build tests jar, so extensions can use fastjerseytest class to build rest tests --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.1</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.19.1</version> |
| <configuration> |
| <reuseForks>false</reuseForks> |
| <forkCount>2</forkCount> |
| <threadCount>10</threadCount> |
| |
| <excludes> |
| <exclude>**/*APITest.java</exclude> |
| <exclude>de/ids_mannheim/korap/suites/*.java</exclude> |
| <exclude>**/ResouceServiceServerTest.java</exclude> |
| </excludes> |
| <includes> |
| <include>de/ids_mannheim/korap/**/*.java</include> |
| </includes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>2.1</version> |
| <executions> |
| <!-- option 1 --> |
| <execution> |
| <id>full</id> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <transformers> |
| <transformer |
| implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| <mainClass> |
| de.ids_mannheim.korap.web.KustvaktServer |
| </mainClass> |
| </transformer> |
| <transformer |
| implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| <resource>META-INF/spring.handlers |
| </resource> |
| </transformer> |
| <transformer |
| implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| <resource>META-INF/spring.schemas |
| </resource> |
| </transformer> |
| </transformers> |
| <!-- Additional configuration. --> |
| <!-- apparently there is a securityException --> |
| <filters> |
| <filter> |
| <artifact>*:*</artifact> |
| <excludes> |
| <exclude>META-INF/*.SF</exclude> |
| <exclude>META-INF/*.DSA |
| </exclude> |
| <exclude>META-INF/*.RSA |
| </exclude> |
| </excludes> |
| </filter> |
| </filters> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <dependencies> |
| <dependency> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-bundle</artifactId> |
| <version>1.8</version> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| <artifactId>jersey-test-framework-core</artifactId> |
| <version>1.19</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| <artifactId>jersey-test-framework-grizzly</artifactId> |
| <version>1.19</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.7.5</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>1.7.5</version> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>1.2.17</version> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>apache-log4j-extras</artifactId> |
| <version>1.2.17</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| <version>1.16.6</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>joda-time</groupId> |
| <artifactId>joda-time</artifactId> |
| <version>2.2</version> |
| </dependency> |
| <dependency> |
| <groupId>de.ids_mannheim.korap</groupId> |
| <artifactId>Koral</artifactId> |
| <version>0.23</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-servlet</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <!-- |
| <dependency> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-grizzly2</artifactId> |
| <version>1.8</version> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.grizzly</groupId> |
| <artifactId>grizzly-servlet-webserver</artifactId> |
| <version>1.9.18-i</version> |
| </dependency> |
| --> |
| |
| <dependency> |
| <groupId>org.xerial</groupId> |
| <artifactId>sqlite-jdbc</artifactId> |
| <version>3.8.10.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>mysql</groupId> |
| <artifactId>mysql-connector-java</artifactId> |
| <version>5.1.6</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-dbcp2</artifactId> |
| <version>2.1.1</version> |
| </dependency> |
| <!-- |
| <dependency> |
| <groupId>org.owasp.esapi</groupId> |
| <artifactId>esapi</artifactId> |
| <version>2.1.0</version> |
| </dependency> |
| --> |
| <dependency> |
| <groupId>commons-validator</groupId> |
| <artifactId>commons-validator</artifactId> |
| <version>1.4.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mindrot</groupId> |
| <artifactId>jbcrypt</artifactId> |
| <version>0.3m</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.nimbusds</groupId> |
| <artifactId>nimbus-jose-jwt</artifactId> |
| <version>2.10.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>de.ids_mannheim.korap</groupId> |
| <artifactId>Krill</artifactId> |
| <version>0.55.7</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.xerial</groupId> |
| <artifactId>sqlite-jdbc</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.reflections</groupId> |
| <artifactId>reflections</artifactId> |
| <version>0.9.9-RC1</version> |
| </dependency> |
| <!-- deprecated? --> |
| <!--<dependency>--> |
| <!--<groupId>com.restfuse</groupId>--> |
| <!--<artifactId>com.eclipsesource.restfuse</artifactId>--> |
| <!--<version>1.0.0</version>--> |
| <!--<scope>provided</scope>--> |
| <!--</dependency>--> |
| <!-- deprecated --> |
| <!--<dependency>--> |
| <!--<groupId>com.jayway.restassured</groupId>--> |
| <!--<artifactId>rest-assured</artifactId>--> |
| <!--<version>2.4.0</version>--> |
| <!--<scope>provided</scope>--> |
| <!--</dependency>--> |
| <!--<dependency>--> |
| <!--<groupId>org.springframework</groupId>--> |
| <!--<artifactId>spring-core</artifactId>--> |
| <!--<version>4.0.5.RELEASE</version>--> |
| <!--</dependency>--> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| <version>4.0.5.RELEASE</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context-support</artifactId> |
| <version>4.1.6.RELEASE</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-test</artifactId> |
| <version>4.1.6.RELEASE</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <!-- apparently this order prevents the spring schemas from being overriden in META-INF/spring.schemas, thus must stay like this |
| --> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-aop</artifactId> |
| <version>4.1.6.RELEASE</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-aspects</artifactId> |
| <version>4.1.6.RELEASE</version> |
| </dependency> |
| |
| <!-- copied from extension --> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-jdbc</artifactId> |
| <version>4.1.6.RELEASE</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-tx</artifactId> |
| <version>4.1.6.RELEASE</version> |
| </dependency> |
| <dependency> |
| <groupId>org.flywaydb</groupId> |
| <artifactId>flyway-core</artifactId> |
| <version>3.2.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>net.sf.ehcache</groupId> |
| <artifactId>ehcache-core</artifactId> |
| <version>2.6.5</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.oltu.oauth2</groupId> |
| <artifactId>org.apache.oltu.oauth2.authzserver</artifactId> |
| <version>1.0.0</version> |
| </dependency> |
| |
| <!-- end copy --> |
| |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| <version>3.2.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| <version>8.1.8.v20121106</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-servlet</artifactId> |
| <version>8.1.8.v20121106</version> |
| </dependency> |
| <dependency> |
| <groupId>asm</groupId> |
| <artifactId>asm</artifactId> |
| <version>3.3.1</version> |
| </dependency> |
| |
| <!-- |
| not part of public release |
| <dependency> |
| <groupId>KorAP-graphDB</groupId> |
| <artifactId>KorAP-graphDB</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.antlr</groupId> |
| <artifactId>antlr4-runtime</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.glassfish.jersey.core</groupId> |
| <artifactId>jersey-client</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.glassfish.jersey.containers</groupId> |
| <artifactId>jersey-container-grizzly2-http</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.glassfish.jersey.core</groupId> |
| <artifactId>jersey-common</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.glassfish.jersey.core</groupId> |
| <artifactId>jersey-server</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| --> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>4.3.3</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.4</version> |
| </dependency> |
| </dependencies> |
| |
| </project> |