<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</groupId>
        <artifactId>raml-for-jaxrs</artifactId>
        <version>2.0.0-RC1</version>
    </parent>
    <packaging>pom</packaging>
    <artifactId>raml-to-jaxrs</artifactId>
    <modules>
        <module>jaxrs-code-generator</module>
        <module>examples</module>
        <module>raml-to-jaxrs-maven-plugin</module>

        <!--
                <module>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>
                            <version>1.9.0</version>
                            <configuration>
                                <header>${licensePath}</header>
                                <skip>false</skip>
                                <excludes>
                                    <exclude>target/**</exclude>
                                    <exclude>**/.gitignore</exclude>
                                    <exclude>.idea/**</exclude>
                                    <exclude>**/*.yaml</exclude>
                                    <exclude>**/*.raml</exclude>
                                    <exclude>**/*.txt</exclude>
                                    <exclude>**/*.json</exclude>
                                    <exclude>**/*.xml</exclude>
                                    <exclude>**/*.xsd</exclude>
                                    <exclude>**/*.properties</exclude>
                                    <exclude>**/*.md</exclude>
                                    <exclude>**/*.template</exclude>
                                    <exclude>**/*.buildpath</exclude>
                                    <exclude>**/example-output/**</exclude>
                                </excludes>
                                <mapping>
                                    <java>SLASHSTAR_STYLE</java>
                                </mapping>
                                <strictCheck>true</strictCheck>
                                <properties>
                                    <licenseYear>2013-2015</licenseYear>
                                </properties>
                            </configuration>
                            <executions>
                                <execution>
                                    <goals>
                                        <goal>check</goal>
                                    </goals>
                                </execution>
                            </executions>
                        </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>
        </dependencies>
    </dependencyManagement>
</project>
