<?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>ch.codeblock.qrinvoice</groupId>
        <artifactId>qrinvoice-root</artifactId>
        <version>1.13</version>
    </parent>

    <groupId>ch.codeblock.qrinvoice.rest</groupId>
    <artifactId>qrinvoice-rest</artifactId>
    <packaging>pom</packaging>

    <name>QR Invoice REST API</name>

    <licenses>
        <license>
            <name>GNU Affero General Public License v3</name>
            <url>http://www.fsf.org/licensing/licenses/agpl-3.0.html</url>
        </license>
    </licenses>

    <modules>
        <module>qrinvoice-rest-tools-generator</module>
        <module>qrinvoice-rest-model</module>
        <module>qrinvoice-rest-webgui</module>
        <module>qrinvoice-rest-standalone</module>
    </modules>

    <properties>
        <!-- validation api version corresponds to spring-boots version -->
        <validation-api.version>2.0.1.Final</validation-api.version>
        <swagger-annotations.version>2.1.12</swagger-annotations.version>
        <javax-annotations.version>1.3.2</javax-annotations.version>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>javax.validation</groupId>
                <artifactId>validation-api</artifactId>
                <version>${validation-api.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>io.swagger.core.v3</groupId>
                <artifactId>swagger-annotations</artifactId>
                <version>${swagger-annotations.version}</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
</project>