| I just tried to install the hibernate 5.0.6.Final feature file together with my tasklist-ds example on karaf 4.0.4. I got some problems with the API bundles hibernate installs. One problem is that hibernate installs jta 1.1 while karaf installs jta 1.2. This causes the TransactionManager service to bind ot the 1.1 namespace. So the service is unavailable to Aries jpa blueprint and Aries JPA support which both require the 1.2 version of jta. The other problem is that hibernate installs a different bundle for jpa 2.1. Not sure if this causes additional problems but it is not good anyway. The solution is to use dependency="true" for all others then the top level bundles of a feature. This gives karaf the freedom to choose a different bundle in the resolving phase that also satisfies the requirements of the feature. I have attached a working feature file. |