<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Hibernate, Relational Persistence for Idiomatic Java
  ~
  ~ 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 xmlns="urn:jboss:module:1.3" name="org.hibernate.orm" slot="${slot}">
    <resources>
        <artifact name="${org.hibernate:hibernate-core}"/>
    </resources>

    <dependencies>
        <module name="org.hibernate.envers" slot="${slot}" services="import" optional="true"/>
        <module name="com.fasterxml.classmate"/>
        <module name="javax.api"/>
        <module name="javax.annotation.api"/>
        <module name="javax.enterprise.api"/>
        <module name="javax.persistence.api"/>
        <module name="javax.transaction.api"/>
        <module name="javax.validation.api"/>
        <module name="javax.xml.bind.api"/>
        <module name="org.antlr"/>
        <module name="org.dom4j"/>
        <module name="org.jboss.as.jpa.spi"/>
        <module name="org.jboss.jandex"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.vfs"/>
        <module name="org.javassist" export="true"/>
        <module name="org.hibernate.commons-annotations"/>
        <module name="org.hibernate.orm.jipijapa-hibernate5" services="import" slot="${slot}"/>
        <module name="net.bytebuddy" slot="${bytebuddySlot}" />
        <module name="org.infinispan.hibernate-cache" services="import" optional="true" slot="${infinispan2lcSlot}"/>
    </dependencies>
</module>