<!--
  ~ Copyright 2016 Red Hat, Inc. and/or its affiliates
  ~ and other contributors as indicated by the @author tags.
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<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">
    <parent>
        <artifactId>keycloak-parent</artifactId>
        <groupId>org.keycloak</groupId>
        <version>11.0.0-alfresco-001</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <name>Distribution Parent</name>
    <description/>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>keycloak-distribution-parent</artifactId>
    <packaging>pom</packaging>

    <properties>
        <keycloak.provisioning.xml>server-provisioning.xml</keycloak.provisioning.xml>
    </properties>

    <modules>
        <module>adapters</module>
        <module>saml-adapters</module>
        <module>feature-packs</module>
        <module>licenses-common</module>
        <module>maven-plugins</module>
        <module>server-dist</module>
        <module>server-overlay</module>
    </modules>

    <repositories>
        <!-- Needed for org.picketlink:picketlink-api -->
        <repository>
            <id>jboss-enterprise-maven-repository</id>
            <name>JBoss Enterprise Maven Repository</name>
            <url>https://maven.repository.redhat.com/ga/</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
        <!-- Needed for org.codehaus.jackson:jackson-mapper-asl:1.9.13-atlassian-5 -->
        <repository>
            <id>atlassian-public</id>
            <url>https://packages.atlassian.com/mvn/maven-external/</url>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>never</updatePolicy>
                <checksumPolicy>warn</checksumPolicy>
            </snapshots>
            <releases>
                <enabled>true</enabled>
                <checksumPolicy>warn</checksumPolicy>
            </releases>
        </repository>
    </repositories>

    <profiles>
        <profile>
            <id>distribution-downloads</id>
            <modules>
                <module>api-docs-dist</module>
                <module>examples-dist</module>
                <module>downloads</module>
            </modules>
        </profile>
        <profile>
            <id>quarkus</id>
            <modules>
                <module>server-x</module>
            </modules>
        </profile>
    </profiles>

</project>
