<?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.infinispan.hibernate-cache">

    <properties>
        <property name="jboss.api" value="private"/>
    </properties>


    <resources>
        <artifact name="${org.infinispan:infinispan-hibernate-cache-spi}"/>
        <artifact name="${org.infinispan:infinispan-hibernate-cache-commons}"/>
        <artifact name="${org.infinispan:infinispan-hibernate-cache-v62}"/>
    </resources>

    <dependencies>
        <module name="java.naming"/>
        <module name="java.sql"/>
        <module name="jakarta.transaction.api"/>

        <module name="org.hibernate"/>
        <module name="org.hibernate.jipijapa-hibernate" services="import"/>
        <module name="org.infinispan.commons"/>
        <module name="org.infinispan.core" services="import"/>
        <module name="org.jboss.as.jpa.spi"/>
        <module name="org.jboss.logging"/>
        <module name="org.wildfly.clustering.cache.infinispan.embedded" services="import"/>
    </dependencies>
</module>
