<!-- See LICENSE.txt file in the root directory of this repository for the copyright/license information. -->
<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>net.shibboleth</groupId>
        <artifactId>parent</artifactId>
        <version>17.0.1</version>
    </parent>
    <groupId>net.shibboleth.idp.plugin.oidc</groupId>
    <artifactId>idp-plugin-oidc-op-parent</artifactId>
    <version>4.0.0</version>
    <name>Shibboleth IdP :: Plugins :: OpenID Connect Provider</name>
    <packaging>pom</packaging>
    <properties>
        <shib-shared.groupId>net.shibboleth</shib-shared.groupId>
        <oidc-common.groupId>net.shibboleth.oidc</oidc-common.groupId>
        <idp.groupId>net.shibboleth.idp</idp.groupId>
        <idp.version>5.0.0</idp.version>
        <opensaml.groupId>org.opensaml</opensaml.groupId>
        <opensaml.version>5.0.0</opensaml.version>
        <java-shib-shared.version>9.0.0</java-shib-shared.version>
        <nimbus-jose-jwt.version>9.29</nimbus-jose-jwt.version>
        <oauth2-oidc-sdk.version>10.5.1</oauth2-oidc-sdk.version>
        <json.smart.version>2.4.8</json.smart.version>
        <accessors.smart.version>1.2</accessors.smart.version>
        <nimbus.lang.tag.version>1.7</nimbus.lang.tag.version>
        <nimbus.content.type.version>2.2</nimbus.content.type.version>
        <oidc.common.version>3.0.0</oidc.common.version>
        <oidc.config.version>2.0.0</oidc.config.version>
        <commons.io.version>2.6</commons.io.version>
        <checkstyle.configLocation>${project.basedir}/resources/checkstyle.xml</checkstyle.configLocation>
    </properties>
    
    <description>
        OpenID Connect Provider plugin for the Shibboleth IdP.
    </description>
    
    <distributionManagement>
        <site>
            <id>site</id>
            <url>scp:${shibboleth.site.deploy.url}java-idp-oidc/${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>
    <modules>
        <module>idp-oidc-extension-api</module>
        <module>idp-oidc-extension-impl</module>
        <module>idp-oidc-extension-distribution</module>
    </modules>
    <dependencies>
        <!-- Project wide test Dependencies -->
        <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>${slf4j.groupId}</groupId>
            <artifactId>slf4j-api</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <dependencyManagement>
        <dependencies>
            <!-- IdP BOM when importing IdP 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-cli</artifactId>
                <version>${idp.version}</version>
            </dependency>
            <!-- OIDC Common BOM when importing OIDC dependencies -->
             <dependency>
                <groupId>${oidc-common.groupId}</groupId>
                <artifactId>oidc-common-bom</artifactId>
                <version>${oidc.common.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <dependency>
                <groupId>net.shibboleth.idp.plugin.config.oidc</groupId>
                <artifactId>idp-plugin-oidc-config-impl</artifactId>
                <version>${oidc.config.version}</version>
            </dependency>
            <!-- Compile Dependencies -->
            <dependency>
                <groupId>net.shibboleth.idp.plugin.oidc</groupId>
                <version>${project.version}</version>
                <artifactId>idp-plugin-oidc-op-api</artifactId>
            </dependency>
            <!-- Test bom dependencies -->
            <dependency>
                <groupId>${shib-shared.groupId}</groupId>
                <artifactId>shib-testing</artifactId>
                <version>9.0.0</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
             <!-- Other Test Dependencies -->
            <dependency>
                <groupId>commons-io</groupId>
                <artifactId>commons-io</artifactId>
                <version>${commons.io.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>net.shibboleth.idp.plugin.oidc</groupId>
                <version>${project.version}</version>
                <artifactId>idp-plugin-oidc-op-api</artifactId>
                <type>test-jar</type>
                <scope>test</scope>
            </dependency>            
        </dependencies>
    </dependencyManagement>
    
    <scm>
        <connection>scm:git:https://git.shibboleth.net/git/java-idp-oidc</connection>
        <developerConnection>scm:git:git@git.shibboleth.net:java-idp-oidc</developerConnection>
        <url>https://git.shibboleth.net/view/?p=java-idp-oidc.git</url>
    </scm>

</project>
