<?xml version="1.0"?>
  <!--
    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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.apache.stanbol</groupId>
    <artifactId>apache-stanbol-entityhub</artifactId>
    <version>1.0.0</version>
    <relativePath>..</relativePath>
  </parent>

  <artifactId>org.apache.stanbol.entityhub.ldpath</artifactId>
  <packaging>bundle</packaging>

  <name>Apache Stanbol Entityhub LDPath Support</name>
  <description>Implementation of the LDPath (http://code.google.com/p/ldpath/) API for the Entityhub</description>

  <licenses>
    <license>
      <name>Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
      <comments>A business-friendly OSS license</comments>
    </license>
  </licenses>
  
  <scm>
    <connection>
      scm:svn:http://svn.apache.org/repos/asf/stanbol/tags/apache-stanbol-1.0.0/entityhub/ldpath
    </connection>
    <developerConnection>
      scm:svn:https://svn.apache.org/repos/asf/stanbol/tags/apache-stanbol-1.0.0/entityhub/ldpath
    </developerConnection>
    <url>scm:svn:https://svn.apache.org/repos/asf/stanbol/tags/apache-stanbol-1.0.0//stanbol.apache.org</url>
  </scm>

  <build>
    <!-- make it an OSGi bundle -->
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Import-Package>
              org.apache.marmotta.ldpath; provide:=true; version="[3.2.0,3.4.0)",
              org.apache.marmotta.ldpath.api.backend; provide:=true; version="[3.2.0,3.4.0)",
              org.apache.marmotta.ldpath.api.transformers; provide:=true; version="[3.2.0,3.4.0)",
              org.apache.stanbol.entityhub.servicesapi.query; provide:=true; version="[0.11,1.1)",
              org.apache.stanbol.entityhub.ldpath,
              org.apache.stanbol.entityhub.ldpath.backend,
              org.apache.stanbol.entityhub.ldpath.query,
              org.apache.stanbol.entityhub.ldpath.transformer,
              *
            </Import-Package>
            <Export-Package>
              org.apache.stanbol.entityhub.ldpath;version=${project.version},
              org.apache.stanbol.entityhub.ldpath.backend;version=${project.version},
              org.apache.stanbol.entityhub.ldpath.query;version=${project.version},
              org.apache.stanbol.entityhub.ldpath.transformer;version=${project.version}
            </Export-Package>
            <Private-Package>
              org.apache.stanbol.entityhub.ldpath.impl;version=${project.version}
            </Private-Package>
          </instructions>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-scr-plugin</artifactId>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <!-- dependencies on other Entityhub modules -->
    <dependency>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.entityhub.servicesapi</artifactId>
      <!-- NOTE: 0.11.0 would be fine, but 1.0.0-SNAPSHOT is required for unit tests -->
      <version>1.0.0</version>
    </dependency>
    <dependency>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.entityhub.core</artifactId>
      <version>1.0.0</version>
    </dependency>

    <!-- LD Path -->
    <dependency>
      <groupId>org.apache.marmotta</groupId>
      <artifactId>ldpath-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.marmotta</groupId>
      <artifactId>ldpath-core</artifactId>
    </dependency>
    
    <!-- generic tax -->
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
    </dependency>

    <!-- OSGi tax -->
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.core</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.compendium</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.apache.felix.scr.annotations</artifactId>
    </dependency>

    <!-- for tests -->
    <!-- the SolrYard with the dbpedia default dataset is used for testing -->
    <dependency>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.entityhub.yard.solr</artifactId>
      <version>1.0.0</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.data.sites.dbpedia</artifactId>
      <version>1.2.0</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-simple</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>

  </dependencies>

</project>
