<?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/maven-v4_0_0.xsd">

  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.apache.stanbol</groupId>
    <artifactId>org.apache.stanbol.entityhub.indexing.parent</artifactId>
    <version>0.10.0-incubating</version>
    <relativePath>../parent</relativePath>
  </parent>

  <groupId>org.apache.stanbol</groupId>
  <artifactId>org.apache.stanbol.entityhub.indexing.dbpedia</artifactId>
  <version>0.10.0-incubating</version>
  <packaging>jar</packaging>

  <name>Apache Stanbol Entityhub Indexing for DBpedia.org</name>
  <description>This uses the RDF dump of dbpedia.org to create a Full Yard for dbpedia.org</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/incubator/stanbol/tags/apache-stanbol-entityhub-0.10.0-incubating/indexing/dbpedia
    </connection>
    <developerConnection>
      scm:svn:https://svn.apache.org/repos/asf/incubator/stanbol/tags/apache-stanbol-entityhub-0.10.0-incubating/indexing/dbpedia
    </developerConnection>
    <url>scm:svn:https://svn.apache.org/repos/asf/incubator/stanbol/tags/apache-stanbol-entityhub-0.10.0-incubating/incubator.apache.org/stanbol</url>
  </scm>

  <build>
    <plugins>
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <version>2.2</version>
        <configuration>
          <descriptors>
            <descriptor>src/main/assembly/assembly.xml</descriptor>
          </descriptors>
          <archive>
            <manifest>
              <mainClass>org.apache.stanbol.entityhub.indexing.Main</mainClass>
            </manifest>
          </archive>
        </configuration>
        <executions>
          <execution>
            <id>make-assembly</id> <!-- this is used for inheritance merges -->
            <phase>package</phase> <!-- bind to the packaging phase -->
            <goals>
              <!-- goal>single</goal -->
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.rat</groupId>
        <artifactId>apache-rat-plugin</artifactId>
        <configuration>
          <excludes>
            <!-- AL20 licensed -->
            <exclude>src/license/THIRD-PARTY.properties</exclude>

            <!-- AL20 licensed files. See src/main/resources/README -->
            <exclude>src/main/resources/indexing/config/dbpedia/conf/spellings.txt</exclude>

            <!-- AL20 licensed files. See src/test/resources/README -->
            <exclude>src/test/resources/indexing/resources/incoming_links.txt</exclude>
          </excludes>
        </configuration>
      </plugin>
    </plugins>
  </build>  

  <dependencies>
    <!-- indexing dependencies -->
    <dependency>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.entityhub.indexing.core</artifactId>
      <version>0.9.0-incubating</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.entityhub.servicesapi</artifactId>
      <version>0.9.0-incubating</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.entityhub.core</artifactId>
      <version>0.9.0-incubating</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.commons.stanboltools.datafileprovider</artifactId>
      <version>0.9.0-incubating</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.entityhub.indexing.source.jenatdb</artifactId>
      <version>0.9.0-incubating</version>
      <scope>runtime</scope>
    </dependency>
    <!-- dependencies of the solr yard destination -->
    <dependency>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.entityhub.indexing.destination.solryard</artifactId>
      <version>0.9.0-incubating</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.entityhub.yard.solr</artifactId>
      <version>0.9.0-incubating</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.commons.solr.core</artifactId>
      <version>0.9.0-incubating</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.commons.solr.managed</artifactId>
      <version>0.9.0-incubating</version>
      <scope>runtime</scope>
    </dependency>

    <dependency> <!-- for the Main (command line utility) -->
      <groupId>commons-cli</groupId>
      <artifactId>commons-cli</artifactId>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-compress</artifactId>
      <scope>runtime</scope>
    </dependency>

    <!-- for logging -->
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <scope>runtime</scope>
    </dependency>
    <dependency> <!-- we use log4j 1.2 -->
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-log4j12</artifactId>
      <scope>runtime</scope>
    </dependency>
    <dependency> <!-- see also the log4j.properties in src/main/resources -->
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <scope>runtime</scope>
    </dependency>

    <!-- for testing -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>

</project>
