blob: 94c87fab13343f7db77d04b8a8aa2f5e3db0ef9f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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>
<parent>
<groupId>org.apache.marmotta</groupId>
<artifactId>marmotta-parent</artifactId>
<version>3.3.0-SNAPSHOT</version>
<relativePath>../../../parent</relativePath>
</parent>
<artifactId>ldcache-backend-kiwi</artifactId>
<name>LDCache Backend: KiWi</name>
<description>
Linked Data Caching Backend based on the JDBC database used by the KiWi triple store. Caches resources and
caching information in the database and triples in the central triple store (using a dedicated context graph).
</description>
<build>
<pluginManagement>
<plugins>
<plugin> <!-- generate JRebel Configuration -->
<groupId>org.zeroturnaround</groupId>
<artifactId>jrebel-maven-plugin</artifactId>
<executions>
<execution>
<id>generate-rebel-xml</id>
<phase>process-resources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<relativePath>../../../</relativePath>
<rootPath>$${rebel.root}</rootPath>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<h2.url>jdbc:h2:mem:test;MVCC=true;DB_CLOSE_ON_EXIT=TRUE</h2.url>
<h2.user>sa</h2.user>
<h2.pass />
<!-- enable or pass on command line for testing local PostgreSQL -->
<!--
<postgresql.url>jdbc:postgresql://localhost:5433/kiwitest?prepareThreshold=3</postgresql.url>
<postgresql.user>lmf</postgresql.user>
<postgresql.pass>lmf</postgresql.pass>
-->
<!-- enable or pass on command line for testing local MySQL -->
<!--
<mysql.url>jdbc:mysql://localhost:3306/kiwitest</mysql.url>
<mysql.user>lmf</mysql.user>
<mysql.pass>lmf</mysql.pass>
-->
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.marmotta</groupId>
<artifactId>ldcache-api</artifactId>
</dependency>
<!-- Use KiWi Triple Store for caching -->
<dependency>
<groupId>org.apache.marmotta</groupId>
<artifactId>kiwi-triplestore</artifactId>
</dependency>
<dependency>
<groupId>org.apache.marmotta</groupId>
<artifactId>marmotta-sail-contextaware</artifactId>
</dependency>
<!-- Logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
</dependency>
<!-- Sesame dependencies -->
<dependency>
<groupId>org.openrdf.sesame</groupId>
<artifactId>sesame-model</artifactId>
</dependency>
<dependency>
<groupId>org.openrdf.sesame</groupId>
<artifactId>sesame-repository-api</artifactId>
</dependency>
<dependency>
<groupId>org.openrdf.sesame</groupId>
<artifactId>sesame-repository-sail</artifactId>
</dependency>
<dependency>
<groupId>org.openrdf.sesame</groupId>
<artifactId>sesame-sail-api</artifactId>
</dependency>
<!-- Testing -->
<dependency>
<artifactId>junit</artifactId>
<groupId>junit</groupId>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>hamcrest-core</artifactId>
<groupId>org.hamcrest</groupId>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>hamcrest-library</artifactId>
<groupId>org.hamcrest</groupId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>test</scope>
<optional>true</optional> <!-- GPL licensed, no dependency -->
</dependency>
<dependency>
<groupId>org.apache.marmotta</groupId>
<artifactId>ldcache-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.marmotta</groupId>
<artifactId>ldcache-core</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openrdf.sesame</groupId>
<artifactId>sesame-rio-turtle</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.marmotta</groupId>
<artifactId>ldclient-provider-rdf</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.marmotta</groupId>
<artifactId>ldclient-provider-facebook</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>