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

Ricardo Argüello ricardo at fedoraproject.org
Mon Nov 19 11:23:27 EST 2012


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> 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
> https://lists.jboss.org/mailman/listinfo/jboss-rpm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-rpm/attachments/20121119/d035fc28/attachment.html 


More information about the jboss-rpm mailing list