From feda896d84df8b3bb4cdfce7e6f3006925817feb Mon Sep 17 00:00:00 2001
From: Marek Goldmann <mgoldman@redhat.com>
Date: Thu, 23 Aug 2012 10:31:46 +0200
Subject: [PATCH] Add org.hibernate.3 module
---
build/build.xml | 7 ++++
.../resources/modules/org/hibernate/3/module.xml | 45 ++++++++++++++++++++++
2 files changed, 52 insertions(+)
create mode 100644 build/src/main/resources/modules/org/hibernate/3/module.xml
diff --git a/build/build.xml b/build/build.xml
index fa2ebbf..5ffd678 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -659,6 +659,13 @@
</module-def>
-->
+ <module-def name="org.hibernate" slot="3">
+ <maven-resource group="org.hibernate" artifact="hibernate-core" />
+ <maven-resource group="org.hibernate.common" artifact="hibernate-commons-annotations" />
+ <maven-resource group="org.hibernate" artifact="hibernate-entitymanager" />
+ <maven-resource group="org.hibernate" artifact="hibernate-infinispan"/>
+ </module-def>
+
<module-def name="org.hibernate.validator">
<maven-resource group="org.hibernate" artifact="hibernate-validator"/>
</module-def>
diff --git a/build/src/main/resources/modules/org/hibernate/3/module.xml b/build/src/main/resources/modules/org/hibernate/3/module.xml
new file mode 100644
index 0000000..1b159a7
--- /dev/null
+++ b/build/src/main/resources/modules/org/hibernate/3/module.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, 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.
+ -->
+
+<module xmlns="urn:jboss:module:1.0" name="org.hibernate" slot="3">
+ <resources>
+ <!-- Insert resources here -->
+ </resources>
+
+ <dependencies>
+ <module name="asm.asm"/>
+ <module name="javax.api"/>
+ <module name="javax.persistence.api"/>
+ <module name="javax.transaction.api"/>
+ <module name="javax.validation.api"/>
+ <module name="org.antlr"/>
+ <module name="org.apache.commons.collections"/>
+ <module name="org.dom4j"/>
+ <module name="org.infinispan"/>
+ <module name="org.javassist"/>
+ <module name="org.jboss.as.jpa.hibernate" slot="3"/>
+ <module name="org.jboss.logging"/>
+ <module name="org.slf4j"/>
+ </dependencies>
+</module>