Blob Blame History Raw
From 5f592736da6d21e16e660a4d00eb0df0d0bea72a Mon Sep 17 00:00:00 2001
From: Marek Goldmann <mgoldman@redhat.com>
Date: Thu, 23 Aug 2012 10:31:46 +0200
Subject: [PATCH] [fedora] Add org.hibernate.3 module

---
 build/build.xml                                    |  8 ++++
 .../resources/modules/org/hibernate/3/module.xml   | 45 ++++++++++++++++++++++
 jpa/hibernate3/pom.xml                             |  6 +--
 3 files changed, 56 insertions(+), 3 deletions(-)
 create mode 100644 build/src/main/resources/modules/org/hibernate/3/module.xml

diff --git a/build/build.xml b/build/build.xml
index 1719d0e..23b49c9 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -645,9 +645,17 @@
             <maven-resource group="org.hibernate" artifact="hibernate-infinispan"/>
         </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.envers">
             <maven-resource group="org.hibernate" artifact="hibernate-envers"/>
         </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>
diff --git a/jpa/hibernate3/pom.xml b/jpa/hibernate3/pom.xml
index 86564ec..45d4aaa 100644
--- a/jpa/hibernate3/pom.xml
+++ b/jpa/hibernate3/pom.xml
@@ -44,19 +44,19 @@
         <dependency>
             <groupId>org.hibernate</groupId>
             <artifactId>hibernate-core</artifactId>
-            <version>3.6.6.Final</version>
+            <version>3</version>
         </dependency>
 
         <dependency>
             <groupId>org.hibernate</groupId>
             <artifactId>hibernate-entitymanager</artifactId>
-            <version>3.6.6.Final</version>
+            <version>3</version>
         </dependency>
 
         <dependency>
             <groupId>org.hibernate</groupId>
             <artifactId>hibernate-infinispan</artifactId>
-            <version>3.6.6.Final</version>
+            <version>3</version>
         </dependency>
 
         <!-- Internal -->
-- 
1.8.3.1