<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.sonatype.oss</groupId>
        <artifactId>oss-parent</artifactId>
        <version>7</version>
    </parent>

    <groupId>com.github.ansell.pellet</groupId>
    <artifactId>pellet-parent</artifactId>
    <version>2.3.6-ansell</version>
    <packaging>pom</packaging>
    <name>Pellet :: Parent POM</name>
    <description>The Clark and Parsia Pellet OWL Reasoner</description>
    <url>https://github.com/ansell/pellet</url>
    <licenses>
        <license>
            <name>GNU Affero General Public License 3.0</name>
            <url>http://www.fsf.org/licensing/licenses/agpl-3.0.html</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <modules>
        <module>pellet-common</module>
        <module>pellet-core</module>
        <module>pellet-datatypes</module>
        <module>pellet-el</module>
        <module>pellet-rules</module>
        <module>pellet-jena</module>
        <module>pellet-query</module>
        <module>pellet-owlapiv3</module>
        <module>pellet-explanation</module>
        <module>pellet-modularity</module>
        <module>pellet-pellint</module>
        <module>pellet-cli</module>
        <module>pellet-examples</module>
        <!-- <module>pellet-test</module> This will not actually run tests 
            until Clark & Parsia provide the test data to run the tests against. In addition, 
            many tests rely on OWLAPI-2 which has been removed. -->
    </modules>

    <properties>
        <junit.version>4.11</junit.version>
        <slf4j.version>1.7.5</slf4j.version>
        <owlapi2.version>2.2.0</owlapi2.version>
        <owlapi3.version>3.4.9.2-ansell</owlapi3.version>
        <sesame.version>2.7.8</sesame.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    </properties>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.hp.hpl.jena</groupId>
                <artifactId>jena</artifactId>
                <version>2.6.4</version>
            </dependency>
            <dependency>
                <groupId>com.hp.hpl.jena</groupId>
                <artifactId>arq</artifactId>
                <version>2.8.7</version>
            </dependency>
            <dependency>
                <groupId>com.github.ansell.owlapi</groupId>
                <artifactId>owlapi-api</artifactId>
                <version>${owlapi3.version}</version>
            </dependency>
            <dependency>
                <groupId>com.github.ansell.owlapi</groupId>
                <artifactId>owlapi-impl</artifactId>
                <version>${owlapi3.version}</version>
            </dependency>
            <dependency>
                <groupId>com.github.ansell.owlapi</groupId>
                <artifactId>owlapi-parsers</artifactId>
                <version>${owlapi3.version}</version>
            </dependency>
            <dependency>
                <groupId>com.github.ansell.owlapi</groupId>
                <artifactId>owlapi-tools</artifactId>
                <version>${owlapi3.version}</version>
            </dependency>
            <dependency>
                <groupId>net.sf.owlapi</groupId>
                <artifactId>owlapi2</artifactId>
                <version>${owlapi2.version}</version>
            </dependency>
            <dependency>
                <groupId>com.github.ansell.aterms</groupId>
                <artifactId>aterm-java</artifactId>
                <version>1.8.2-p1</version>
            </dependency>
            <dependency>
                <groupId>org.jgrapht</groupId>
                <artifactId>jgrapht-jdk1.5</artifactId>
                <version>0.7.3</version>
            </dependency>
            <dependency>
                <groupId>msv</groupId>
                <artifactId>xsdlib</artifactId>
                <version>20030225</version>
            </dependency>
            <dependency>
                <groupId>msv</groupId>
                <artifactId>relaxngDatatype</artifactId>
                <version>20030225</version>
            </dependency>
            <dependency>
                <groupId>xerces</groupId>
                <artifactId>xercesImpl</artifactId>
                <version>2.10.0</version>
            </dependency>
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>${junit.version}</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>${slf4j.version}</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-log4j12</artifactId>
                <version>${slf4j.version}</version>
            </dependency>
            <dependency>
                <groupId>log4j</groupId>
                <artifactId>log4j</artifactId>
                <version>1.2.17</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <build>
        <pluginManagement>
            <plugins>

                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.0</version>
                    <configuration>
                        <source>1.7</source>
                        <target>1.7</target>
                        <encoding>UTF-8</encoding>
                    </configuration>
                </plugin>

                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>2.4</version>
                    <configuration>
                        <archive>
                            <manifest>
                                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                            </manifest>
                            <manifestEntries>
                                <Bundle-Description>${project.description}</Bundle-Description>
                                <Implementation-Version>${project.version}</Implementation-Version>
                            </manifestEntries>
                        </archive>
                    </configuration>
                    <executions>
                        <execution>
                            <goals>
                                <goal>test-jar</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-source-plugin</artifactId>
                    <version>2.2</version>
                    <executions>
                        <execution>
                            <id>attach-source</id>
                            <goals>
                                <goal>jar</goal>
                            </goals>
                        </execution>
                        <execution>
                            <id>attach-test-sources</id>
                            <goals>
                                <goal>test-jar</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>

                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-javadoc-plugin</artifactId>
                    <version>2.8.1</version>
                    <executions>
                        <execution>
                            <id>attach-javadocs</id>
                            <goals>
                                <goal>jar</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <version>2.5.1</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.12.4</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-failsafe-plugin</artifactId>
                    <version>2.12.4</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-assembly-plugin</artifactId>
                    <version>2.3</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-clean-plugin</artifactId>
                    <version>2.5</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-install-plugin</artifactId>
                    <version>2.4</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-resources-plugin</artifactId>
                    <version>2.6</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-deploy-plugin</artifactId>
                    <version>2.7</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-release-plugin</artifactId>
                    <version>2.3.2</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-site-plugin</artifactId>
                    <version>3.1</version>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
    <profiles>
        <profile>
            <id>metadatanet-deploy</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <distributionManagement>
                <repository>
                    <id>maenad-releases</id>
                    <name>maenad-releases</name>
                    <url>http://maven.metadata.net/artifactory/libs-releases-local</url>
                </repository>
                <snapshotRepository>
                    <id>maenad-snapshots</id>
                    <name>maenad-snapshots</name>
                    <url>http://maven.metadata.net/artifactory/libs-snapshots-local</url>
                </snapshotRepository>
            </distributionManagement>
        </profile>
    </profiles>
</project>
