<?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/maven-v4_0_0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>net.shibboleth</groupId>
        <artifactId>parent</artifactId>
        <version>11.2.0</version>
    </parent>

    <name>Shibboleth IdP :: Plugins :: TOTP Login Flow</name>
    <description>An IdP plugin providing TOTP login support.</description>
    <groupId>net.shibboleth.idp.plugin.authn</groupId>
    <artifactId>idp-plugin-totp</artifactId>
    <version>1.0.0</version>
    <packaging>pom</packaging>

    <properties>
        <idp.groupId>net.shibboleth.idp</idp.groupId>
        <idp.version>4.1.0</idp.version>
        <opensaml.groupId>org.opensaml</opensaml.groupId>
        <opensaml.version>4.1.0</opensaml.version>
        <java-support.version>8.2.0</java-support.version>
        <spring-extensions.version>6.1.0</spring-extensions.version>
        <checkstyle.configLocation>${project.basedir}/checkstyle.xml</checkstyle.configLocation>
    </properties>
    
    <distributionManagement>
        <site>
            <id>site</id>
            <url>dav:${shibboleth.site.url}java-idp-plugin-totp/${project.version}/</url>
        </site>
    </distributionManagement>

    <repositories>
        <repository>
            <id>shib-release</id>
            <url>https://build.shibboleth.net/nexus/content/groups/public</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
        <repository>
            <id>shib-snapshot</id>
            <url>https://build.shibboleth.net/nexus/content/repositories/snapshots</url>
            <releases>
                <enabled>false</enabled>
            </releases>
        </repository>
    </repositories>

    <scm>
        <connection>scm:git:https://git.shibboleth.net/git/java-${project.artifactId}</connection>
        <developerConnection>scm:git:git@git.shibboleth.net:java-${project.artifactId}</developerConnection>
        <url>https://git.shibboleth.net/view/?p=java-${project.artifactId}.git</url>
    </scm>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>${idp.groupId}</groupId>
                <artifactId>idp-bom</artifactId>
                <version>${idp.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <dependency>
                <groupId>${idp.groupId}</groupId>
                <artifactId>idp-tests-bom</artifactId>
                <version>${idp.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <dependency>
                <groupId>${opensaml.groupId}</groupId>
                <artifactId>opensaml-bom</artifactId>
                <version>${opensaml.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <modules>
        <module>totp-impl</module>
        <module>totp-dist</module>
    </modules>

</project>
