<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright 2022 Red Hat, Inc.
  ~
  ~ 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.
  -->
<module name="org.infinispan.hibernate-cache" xmlns="urn:jboss:module:1.9">

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


    <resources>
        <artifact name="org.infinispan:infinispan-hibernate-cache-spi:14.0.8.Final"/>
        <artifact name="org.infinispan:infinispan-hibernate-cache-commons:14.0.8.Final"/>
        <artifact name="org.infinispan:infinispan-hibernate-cache-v62:14.0.8.Final"/>
    </resources>

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

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