<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ JBoss, Home of Professional Open Source
  ~ Copyright 2018, Red Hat, Inc., and individual contributors as indicated
  ~ by the @authors tag.
  ~
  ~ 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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.wildfly.bom</groupId>
        <artifactId>wildfly-client</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>33.0.0.Final</version>
    </parent>

    <artifactId>wildfly-jms-client-bom-builder</artifactId>

    <packaging>pom</packaging>

    <name>WildFly BOMs: JMS Client Builder</name>

    <description>
        This artifact builds a bill of materials (BOM) for JMS client usage.
    </description>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.wildfly</groupId>
                <artifactId>wildfly-standard-ee-bom</artifactId>
                <version>${ee.maven.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <dependencies>
        <dependency>
            <groupId>org.wildfly</groupId>
            <artifactId>wildfly-ee-galleon-pack</artifactId>
            <version>${ee.maven.version}</version>
            <type>pom</type>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.wildfly.plugins</groupId>
                <artifactId>wildfly-bom-builder-plugin</artifactId>
                <executions>
                    <execution>
                        <id>build-bom</id>
                        <goals>
                            <goal>build-bom</goal>
                        </goals>
                        <configuration>
                            <parent>
                                <groupId>org.jboss</groupId>
                                <artifactId>jboss-parent</artifactId>
                                <relativePath/>
                            </parent>
                            <bomGroupId>org.wildfly</bomGroupId>
                            <bomArtifactId>wildfly-jms-client-bom</bomArtifactId>
                            <bomVersion>${project.version}</bomVersion>
                            <bomName>WildFly BOMs: JMS Client</bomName>
                            <bomDescription>This artifact provides a bill of materials (BOM) for JMS client usage.</bomDescription>
                            <bomWithDependencies>true</bomWithDependencies>
                            <licenses>true</licenses>
                            <inheritExclusions>UNMANAGED</inheritExclusions>
                            <includeDependencies>
                                <!-- artemis jakarta jms client, the main artifact -->
                                <!-- replaces org.apache.activemq:artemis-jms-client -->
                                <dependency>
                                    <groupId>org.apache.activemq</groupId>
                                    <artifactId>artemis-jakarta-client</artifactId>
                                </dependency>
                                <!-- required to allow Artemis client to connect to HornetQ servers -->
                                <dependency>
                                    <groupId>org.apache.activemq</groupId>
                                    <artifactId>artemis-hqclient-protocol</artifactId>
                                </dependency>
                                <!-- Required by the artemis-core-client, replaces geronimo's json spec artifact -->
                                <dependency>
                                    <groupId>org.glassfish</groupId>
                                    <artifactId>jakarta.json</artifactId>
                                </dependency>
                                <!-- Required by jakarta.json -->                                
                                <dependency>
                                    <groupId>jakarta.json</groupId>
                                    <artifactId>jakarta.json-api</artifactId>
                                </dependency>                                
                                <!-- Required by the artemis-jms-client -->
                                <!-- replaces org.jboss.spec.javax.jms:jboss-jms-api_2.0_spec  -->
                                <dependency>
                                    <groupId>jakarta.jms</groupId>
                                    <artifactId>jakarta.jms-api</artifactId>
                                </dependency>
                                <!-- TODO review -->
                                <dependency>
                                    <groupId>org.slf4j</groupId>
                                    <artifactId>jcl-over-slf4j</artifactId>
                                </dependency>
                                <!-- client for usage through jndi -->
                                <dependency>
                                    <groupId>org.wildfly</groupId>
                                    <artifactId>wildfly-naming-client</artifactId>
                                </dependency>
                                <!-- provides the jms client properties -->
                                <dependency>
                                    <groupId>org.wildfly</groupId>
                                    <artifactId>wildfly-client-properties</artifactId>
                                </dependency>
                            </includeDependencies>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
