<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.raml.jaxrs</groupId>
        <artifactId>raml-for-jaxrs</artifactId>
        <version>3.0.3</version>
    </parent>
    <packaging>pom</packaging>
    <artifactId>raml-to-jaxrs</artifactId>
    <profiles>
        <profile>
            <id>with-examples</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <modules>
                <module>jaxrs-code-generator</module>
                <module>raml-to-jaxrs-maven-plugin</module>
                <module>raml-to-jaxrs-cli</module>
<!--
                <module>raml-to-jaxrs-gradle-plugin</module>
-->
                <module>examples</module>
            </modules>
        </profile>
    </profiles>
    <modules>
        <module>jaxrs-code-generator</module>
        <module>raml-to-jaxrs-maven-plugin</module>
        <module>raml-to-jaxrs-cli</module>
<!--
        <module>raml-to-jaxrs-gradle-plugin</module>
-->
    </modules>
    <properties>
        <licensePath>LICENSE_HEADER.txt</licensePath>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>com.mycila.maven-license-plugin</groupId>
                <artifactId>maven-license-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>net.revelc.code</groupId>
                <artifactId>formatter-maven-plugin</artifactId>
            </plugin>
        </plugins>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.1</version>
                    <configuration>
                        <source>1.7</source>
                        <target>1.7</target>
                        <encoding>UTF-8</encoding>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.fasterxml.jackson.module</groupId>
                <artifactId>jackson-module-jsonSchema</artifactId>
                <version>2.8.3</version>
            </dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-databind</artifactId>
                <version>2.8.3</version>
            </dependency>
<!--
            <dependency>
                <groupId>org.jsonschema2pojo</groupId>
                <artifactId>jsonschema2pojo-core</artifactId>
                <version>0.4.27</version>
            </dependency>
            <dependency>
                <groupId>org.raml.jaxrs</groupId>
                <artifactId>jaxrs-code-generator</artifactId>
                <version>2.2.0-SNAPSHOT</version>
            </dependency>
-->
        </dependencies>
    </dependencyManagement>
    <repositories>
        <repository>
            <id>mulesoft-releases</id>
            <name>MuleSoft Releases Repository</name>
            <url>https://repository-master.mulesoft.org/releases/</url>
        </repository>
        <repository>
            <id>mulesoft-snapshots</id>
            <name>MuleSoft Snapshots Repository</name>
            <url>https://repository-master.mulesoft.org/snapshots/</url>
        </repository>
    </repositories>
</project>
