<?xml version="1.0" encoding="UTF-8"?>
<!--
 ~ Hibernate Search, full-text search for your domain model
 ~
 ~ License: GNU Lesser General Public License (LGPL), version 2.1 or later
 ~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
  -->
<module name="org.hibernate.search.elasticsearch" slot="5.10.1.Final" xmlns="urn:jboss:module:1.3">
    <resources>
        <artifact name="org.hibernate:hibernate-search-elasticsearch:5.10.1.Final"/>
    </resources>
    <dependencies>
        <module name="org.hibernate.search.engine" slot="5.10.1.Final"/>
        <module name="org.elasticsearch.client.elasticsearch-rest-client" slot="5.6"/>
        <module name="com.google.code.gson" slot="2.8"/>
        <module name="org.elasticsearch.client.elasticsearch-rest-client-sniffer" slot="5.6"/>
        <module name="javax.xml.bind.api"/>
        <module name="org.hibernate.commons-annotations"/>
        <module name="org.jboss.logging"/>
        <module name="org.apache.httpcomponents"/>

        <!-- AWS authentication support -->
        <!-- Note: we must export the services (hence the classes), because services are loaded using the -engine classloader -->
        <module name="org.hibernate.search.elasticsearch-aws" export="true" services="export" optional="true" slot="5.10.1.Final"/>
    </dependencies>
</module>
