<?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>stanbol-parent</artifactId>
    <version>1-incubating</version>
    <relativePath>../../parent</relativePath>
  </parent>

  <groupId>org.apache.stanbol</groupId>
  <artifactId>org.apache.stanbol.data.parent</artifactId>
  <version>0.10.0-incubating</version>
  <packaging>pom</packaging>

  <name>Apache Stanbol Data Parent</name>
  <description>
    Parent POM for the Apache Stanbol Data modules
  </description>

  <inceptionYear>2010</inceptionYear>
  <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/org.apache.stanbol.data.parent-0.10.0-incubating
    </connection>
    <developerConnection>
      scm:svn:https://svn.apache.org/repos/asf/incubator/stanbol/tags/org.apache.stanbol.data.parent-0.10.0-incubating
    </developerConnection>
    <url>scm:svn:https://svn.apache.org/repos/asf/incubator/stanbol/tags/org.apache.stanbol.data.parent-0.10.0-incubating</url>
  </scm>

  <properties>
    <downloadWarning>
*                  
* WARNING - this build downloads some OpenNLP files that are *not*
* licensed under the Apache License, and have more restrictive usage
* terms than the Apache Stanbol code. See STANBOL-545 for more
* information: https://issues.apache.org/jira/browse/STANBOL-545
*
    </downloadWarning>
  </properties>  

  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.felix</groupId>
          <artifactId>maven-bundle-plugin</artifactId>
          <inherited>true</inherited>
          <extensions>true</extensions>
          <configuration>
            <instructions>
              <Bundle-Category>Stanbol Data</Bundle-Category>
            </instructions>
          </configuration>
        </plugin>
        <plugin>
          <!-- 
            Ant is used to download the datafiles over the
            web
            -->
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-antrun-plugin</artifactId>
          <version>1.6</version>
        </plugin>
      </plugins>
    </pluginManagement>

    <plugins>
      <!-- Warn for OpenNLP models -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>validate</phase>
            <goals>
              <goal>run</goal>
            </goals>
            <configuration>
              <target>
                <echo>${downloadWarning}</echo>
              </target>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

</project>
