Maybe some people will find it useful... :)
-------- Original Message --------
Subject: [jboss-rpm] Hibernate 4 support is available in JBoss AS in
Fedora Rawhide (jboss-as-7.1.1-10)
Date: Fri, 09 Nov 2012 14:39:33 +0100
From: Marek Goldmann <mgoldman(a)redhat.com>
To: jboss-rpm(a)lists.jboss.org <jboss-rpm(a)lists.jboss.org>
I have some great news to share with you. We managed finally to bake
Hibernate 4 support into JBoss AS in Fedora. This wouldn't be possible
without Gil Cattaneo's support. He was that guy who packaged Hibernate 4:
And here is the build:
## Where it is available?
Support for Hibernate 4 is immediately available *for Rawhide* for now.
We need spend some time on porting and testing the Maven resolver before
we can push hibernate (4) package to Fedora 17 or 18 branches.
## Things to note
"hibernate" is now the default hibernate package, hibernate3 is now a
compat package for it.
There are few important things to note.
We have now 2 Hibernate versions in Fedora: 3.6.10.Final and 4.1.7.Final.
When using mvn-rpmbuild Maven resolver will look for the version
requested in pom.xml, if we have such one, then the correct library will
be returned. But this is a very rare case.
What happens when we don't have the selected version? A default one will
be returned (4.1.7.Final in this case).
How to resolve Hibernate 3 jars then?
1. Use the correct package version (3.6.10)
2. Use the correct upstream version (3.6.10.Final)
3. Use virtual version (3)
The most "safe" thing to do is to request version "3" in your pom.
will return the latest installed library from hibernate3 package.
If you're unsure which version was resolved, add
"-Dmaven.local.debug=true" to your command.
jboss-rpm mailing list