<?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>de.muenchen.oss.wahllokalsystem.wls-common</groupId>
        <artifactId>parent</artifactId>
        <version>1.6.2</version>
    </parent>

    <artifactId>swagger</artifactId>
    <version>1.6.2</version>
    <description>Uebergreifende Swagger Config</description>
    <url>${wls.github.url}</url>

    <scm>
        <url>${wls.github.url}</url>
        <connection>${wls.github.scm.connection}</connection>
        <developerConnection>${wls.github.scm.connection}</developerConnection>
        <tag>wls-common/1.6.2</tag>
  </scm>
    <properties>
        <wls.common.version>1.6.2</wls.common.version>
        <com.tngtech.archunit.version>1.4.0</com.tngtech.archunit.version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>de.muenchen.oss.wahllokalsystem.wls-common</groupId>
            <artifactId>exception</artifactId>
            <version>${wls.common.version}</version>
            <scope>compile</scope>
        </dependency>

        <dependency>
            <groupId>org.springdoc</groupId>
            <artifactId>springdoc-openapi-starter-common</artifactId>
            <version>2.8.5</version>
            <scope>compile</scope>
        </dependency>
        <!-- Tests -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>de.muenchen.oss.wahllokalsystem.wls-common</groupId>
            <artifactId>testing</artifactId>
            <version>${wls.common.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.tngtech.archunit</groupId>
            <artifactId>archunit-junit5</artifactId>
            <version>${com.tngtech.archunit.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-api</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>com.diffplug.spotless</groupId>
                <artifactId>spotless-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-checkstyle-plugin</artifactId>
            </plugin>
        </plugins>
    </build>
</project>
