<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ JBoss, Home of Professional Open Source.
  ~ Copyright 2011, Red Hat, Inc., and individual contributors
  ~ as indicated by the @author tags. See the copyright.txt file in the
  ~ distribution for a full listing of individual contributors.
  ~
  ~ This is free software; you can redistribute it and/or modify it
  ~ under the terms of the GNU Lesser General Public License as
  ~ published by the Free Software Foundation; either version 2.1 of
  ~ the License, or (at your option) any later version.
  ~
  ~ This software is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  ~ Lesser General Public License for more details.
  ~
  ~ You should have received a copy of the GNU Lesser General Public
  ~ License along with this software; if not, write to the Free
  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  -->
<!-- Represents Hibernate 5.1.x, will later become 5.3.x for WF 14  -->
<module name="org.hibernate" xmlns="urn:jboss:module:1.9">

    <resources>
        <resource-root path="hibernate-core-5.3.20.Final.jar"/>
        <resource-root path="hibernate-envers-5.3.20.Final.jar"/> 
    </resources>

    <dependencies>
        <module name="java.desktop"/>
        <module name="java.instrument"/>
        <module name="java.management"/>
        <module name="java.naming"/>
        <module name="java.sql"/>
        <module name="com.fasterxml.classmate"/>
        <!--WFLY-14219 Remove deprecated <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="com.sun.xml.bind"/>
        <module name="org.antlr"/>
        <module name="org.dom4j"/>
        <module name="org.javassist" export="true"/>
        <module name="org.jboss.as.jpa.spi"/>
        <module name="org.jboss.jandex"/>
        <module name="org.jboss.logging"/>
        <module name="org.hibernate.commons-annotations"/>
        <module name="org.hibernate.jipijapa-hibernate5-3" services="import"/>
        <module name="org.infinispan.hibernate-cache" services="import" optional="true"/>
        <module name="net.bytebuddy"/>
        <module name="java.xml"/>
	<module name="com.h2database.h2" optional="true"/>
    </dependencies>
</module>
