<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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>11.3.5</version>
    </parent>

    <groupId>net.shibboleth.idp.plugin.config.oidc</groupId>
    <artifactId>idp-plugin-oidc-config-parent</artifactId>
    <version>1.0.0</version>
    <name>Shibboleth IdP :: Plugins :: OIDC/OAuth Shared Configuration</name>
    <packaging>pom</packaging>
    <description>Parent project for the Shibboleth Identity Provider OIDC/OAuth Shared Configuration</description>

    <properties>
        <idp.groupId>net.shibboleth.idp</idp.groupId>
        <idp.version>4.3.0</idp.version>
        <checkstyle.configLocation>${project.basedir}/checkstyle.xml</checkstyle.configLocation>
    </properties>

    <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>${shibboleth.scm.connection}java-idp-plugin-oidc-config</connection>
        <developerConnection>${shibboleth.scm.developerConnection}java-idp-plugin-oidc-config</developerConnection>
        <url>${shibboleth.scm.url}java-idp-plugin-oidc-config.git</url>
    </scm>
    
    <distributionManagement>
        <site>
            <id>site</id>
            <url>scp:${shibboleth.site.deploy.url}java-idp-plugin-oidc-config/${project.version}/</url>
        </site>
    </distributionManagement>
    <dependencyManagement>
        <dependencies>
            <!-- Shibboleth IdP BOM for importing IdP dependencies -->
            <dependency>
                <groupId>net.shibboleth.idp</groupId>
                <artifactId>idp-bom</artifactId>
                <version>${idp.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <modules>
        <module>oidc-config-impl</module>
        <module>oidc-config-dist</module>
    </modules>
    
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <index>true</index>
                        <manifestEntries>
                            <Automatic-Module-Name>${automatic.module.name}</Automatic-Module-Name>
                            <Sealed>true</Sealed>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>
