<?xml version="1.0" encoding="UTF-8"?>
<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.wisdom-framework</groupId>
        <artifactId>wisdom-framework</artifactId>
        <version>0.9.1</version>
    </parent>

    <groupId>org.wisdom-framework.jcr</groupId>
    <artifactId>wisdom-jcr</artifactId>
    <version>0.3.0</version>

    <packaging>pom</packaging>

    <name>wisdom-jcr</name>

    <description>JCR support for Wisdom-Framework</description>

    <modules>
        <module>wisdom-jcr-providers</module>
        <module>wisdom-jcr-core</module>
        <module>wisdom-modeshape</module>
        <module>wisdom-modeshape-web-jcr-rest</module>
        <module>wisdom-jcr-web-explorer</module>
        <module>wisdom-jcr-script</module>
        <module>wisdom-modeshape-backup</module>
        <module>modeshape-sample</module>
        <module>wisdom-jcr-query</module>
        <module>jcr-test</module>
        <module>wisdom-modeshape-monitoring</module>

    </modules>

    <licenses>
        <license>
            <name>Apache License 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
        </license>
    </licenses>

    <scm>
        <url>https://github.com/wisdom-framework/wisdom-jcr</url>
        <connection>scm:git:git@github.com:wisdom-framework/wisdom-jcr.git</connection>
        <developerConnection>scm:git:git@github.com:wisdom-framework/wisdom-jcr.git</developerConnection>
    </scm>

    <properties>
        <wisdom.version>0.9.1</wisdom.version>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <modeshape.version>4.5.0.Final</modeshape.version>
        <jcrom.version>2.1.0</jcrom.version>
        <jettison.version>1.3.1</jettison.version>
        <tika.version>1.9</tika.version>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.wisdom-framework</groupId>
                <artifactId>wisdom-test</artifactId>
                <version>${wisdom.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>org.wisdom-framework</groupId>
                <artifactId>wisdom-api</artifactId>
                <version>${wisdom.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.wisdom-framework</groupId>
                <artifactId>wisdom-monitor</artifactId>
                <version>${wisdom.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.codehaus.jettison</groupId>
                <artifactId>jettison</artifactId>
                <version>${jettison.version}</version>
                <exclusions>
                    <!-- This results in duplicate stax-api jars. This is the older one.
                         A newer is brought in by com.sun.xml.bind:jaxb-impl
                    -->
                    <exclusion>
                        <groupId>stax</groupId>
                        <artifactId>stax-api</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>org.apache.tika</groupId>
                <artifactId>tika-core</artifactId>
                <version>${tika.version}</version>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>${maven.compiler.source}</source>
                    <target>${maven.compiler.target}</target>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>
