<?xml version="1.0" encoding="UTF-8"?>

<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->

<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>org.wildfly</groupId>
        <artifactId>wildfly-parent</artifactId>
        <!--
        Maintain separation between the artifact id and the version to help prevent
        merge conflicts between commits changing the GA and those changing the V.
        -->
        <version>37.0.0.Final</version>
        <relativePath>../../pom.xml</relativePath>
    </parent>

    <artifactId>wildfly-preview-test-expansion-bom</artifactId>
    <packaging>pom</packaging>

    <name>WildFly Preview: Dependency Management (Expansion Test Dependencies)</name>

    <properties>
        <version.org.eclipse.microprofile.telemetry>2.0</version.org.eclipse.microprofile.telemetry>
    </properties>

    <dependencyManagement>
        <dependencies>
            <!-- Import the preview test BOM -->
            <dependency>
                <groupId>${ee.maven.groupId}</groupId>
                <artifactId>wildfly-preview-test-bom</artifactId>
                <version>${ee.maven.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

            <!--
                Re-expose the standard-test-expansion-bom deps.
             -->
            <dependency>
                <groupId>${ee.maven.groupId}</groupId>
                <artifactId>wildfly-standard-test-expansion-bom</artifactId>
                <version>${ee.maven.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

            <!-- Test only dependencies -->
            <dependency>
                <groupId>org.eclipse.microprofile.telemetry</groupId>
                <artifactId>microprofile-telemetry-logs-tck</artifactId>
                <version>${version.org.eclipse.microprofile.telemetry}</version>
                <scope>test</scope>
                <!-- Don't exclude all TCK dependencies, only specific ones that cause problems -->
            </dependency>
            <dependency>
                <groupId>org.eclipse.microprofile.telemetry</groupId>
                <artifactId>microprofile-telemetry-metrics-tck</artifactId>
                <version>${version.org.eclipse.microprofile.telemetry}</version>
                <scope>test</scope>
                <!-- Don't exclude all TCK dependencies, only specific ones that cause problems -->
            </dependency>
            <dependency>
                <groupId>org.eclipse.microprofile.telemetry</groupId>
                <artifactId>microprofile-telemetry-tracing-tck</artifactId>
                <version>${version.org.eclipse.microprofile.telemetry}</version>
                <scope>test</scope>
                <!-- Don't exclude all TCK dependencies, only specific ones that cause problems -->
            </dependency>
            <dependency>
                <groupId>io.vertx</groupId>
                <artifactId>vertx-core</artifactId>
                <version>${version.io.vertx.vertx}</version>
                <scope>test</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

</project>
