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

<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->
<module xmlns="urn:jboss:module:1.9" name="org.jboss.resteasy.resteasy-client-microprofile">

    <properties>
        <property name="jboss.api" value="private"/>
    </properties>
    <resources>
        <artifact name="${org.jboss.resteasy.microprofile:microprofile-rest-client}" />
        <artifact name="${org.jboss.resteasy.microprofile:microprofile-rest-client-base}" />
    </resources>

    <dependencies>
        <module name="jakarta.annotation.api"/>
        <module name="jakarta.enterprise.api"/>
        <module name="jakarta.ws.rs.api"/>
        <module name="org.eclipse.microprofile.restclient"/>
        <module name="org.eclipse.microprofile.config.api"/>
        <module name="org.jboss.logging"/>
        <!--This will add additional configuration lookups if available, however it's not required -->
        <module name="org.jboss.resteasy.microprofile.config" services="import" optional="true"/>
        <module name="org.jboss.resteasy.resteasy-cdi" services="import"/>
        <module name="org.jboss.resteasy.resteasy-client-api"/>
        <module name="org.jboss.resteasy.resteasy-client" services="import"/>
        <module name="org.jboss.resteasy.resteasy-core" services="import"/>
        <module name="org.jboss.resteasy.resteasy-core-spi"/>
        <!-- The org.jboss.resteasy.microprofile.client.CdiPropertyInjector uses Weld via reflection and requires these
        dependencies. -->
        <module name="org.jboss.weld.api"/>
        <module name="org.jboss.weld.core"/>
        <module name="org.jboss.weld.spi"/>
        <module name="org.reactivestreams"/>
    </dependencies>
</module>