<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->
<module name="org.apache.lucene" xmlns="urn:jboss:module:1.9">

    <properties>
        <!-- Native Lucene access is allowed in WildFly,
             though it may not be supported by product vendors
             (because its APIs could change without prior notice). -->
        <property name="jboss.api" value="public"/>
    </properties>

    <resources>
        <resource-root path="lucene-analysis-common-9.9.2.jar"/>
        <resource-root path="lucene-core-9.9.2.jar"/>
        <resource-root path="lucene-facet-9.9.2.jar"/>
        <resource-root path="lucene-queries-9.9.2.jar"/>
        <resource-root path="lucene-queryparser-9.9.2.jar"/>
        <resource-root path="lucene-join-9.9.2.jar"/>
    </resources>

    <dependencies>
        <module name="java.logging"/>
        <module name="java.xml"/>
        <module name="jdk.management"/>
        <module name="jdk.unsupported"/>
        <module name="com.carrotsearch.hppc"/>
    </dependencies>
</module>
