[jboss-rpm] Hibernate 4 support is available in JBoss AS in Fedora Rawhide (jboss-as-7.1.1-10)

Marek Goldmann mgoldman at redhat.com
Tue Nov 20 03:55:06 EST 2012


Hi Ricardo,

New Maven resolver that has support for Java compat packages was added 
only for Rawhide for testing, since we're not sure it works the way we 
expect. At least I can see that it works indeed as advertised, so we'll 
try to port it to F18 sometime soon.

More info on compat packages:

	https://fedoraproject.org/w/index.php?title=User:Akurtakov/JavaPackagingDraftUpdate#Compatibility_packages

It seems that javapackages-tools is in the same version currently in F18 
as in Rawhide. I'll check with Stanislav what else we need and let you 
know, maybe it works already and we have green light to make H4 
available in Fedora 18.

--Marek

On 19.11.2012 17:23, Ricardo Argüello wrote:
> Hi Marek,
>
> What work is needed to backport this to Fedora 18?
> Thanks,
>
> --
> Ricardo Arguello
>
>
> On Fri, Nov 9, 2012 at 8:39 AM, Marek Goldmann <mgoldman at redhat.com
> <mailto:mgoldman at redhat.com>> wrote:
>
>     Hi All,
>
>     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:
>
>     https://bugzilla.redhat.com/show_bug.cgi?id=852330
>
>     And here is the build:
>
>     https://koji.fedoraproject.org/koji/taskinfo?taskID=4671784
>
>     ## 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.
>
>     https://fedoraproject.org/w/index.php?title=User:Akurtakov/JavaPackagingDraftUpdate#Compatibility_packages
>
>
>     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. Maven
>     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.
>
>     Enjoy!
>
>     --Marek
>
>
>
>     _______________________________________________
>     jboss-rpm mailing list
>     jboss-rpm at lists.jboss.org <mailto:jboss-rpm at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/jboss-rpm
>
>


More information about the jboss-rpm mailing list