|
|
|
|
|
|
Just noticed that the Currently hibernate- jpa-aries feature is missing several dependency bundles. Ignore the bit about my fork and instead upgrade Aries JPA. My PR was merged and * osgi generates a Karaf features file with multiple features defined that really should * work be collapsed into one .
Specifically { code {hibernate-base } <bundle start }, {{hibernate - level="30">mvn:org. native}}, {{ hibernate .javax.persistence/hibernate -jpa -2.1-api/1.0.0.Final</bundle> <!-- No container currently supports JPA 2.1. Clone }} and build Aries from the following fork (upgrades to JPA 2.1). Aries should be upgrading as soon as the spec is out. https://github.com/brmeyer/aries/tree/jpa21 {{hibernate - -> <bundle start-level="30">mvn:org.apache.aries/org.apache.aries.util/1.1.1-SNAPSHOT</bundle> <bundle start-level="30">mvn:org.apache.aries. jpa /org.apache.aries.jpa.api/1.0.1 - SNAPSHOT</bundle> <bundle start-level="30">mvn:org.apache. aries .jpa/org.apache.aries.jpa.blueprint.aries/1.0.2-SNAPSHOT</bundle> <bundle start-level="30">mvn:org.apache.aries.jpa/org.apache.aries.jpa.container/1.0.1-SNAPSHOT</bundle> <bundle start-level="30">mvn:org.apache.aries.jpa/org.apache.aries.jpa.container.context/1.0.2-SNAPSHOT</bundle>
<!-- JNDI --> <bundle start-level="30">mvn:org.apache.aries/org.apache.aries.util/1.0.0</bundle> <bundle start-level="30">mvn:org.apache.aries.jndi/org.apache.aries.jndi.api/1.0.0</bundle> <bundle start-level="30">mvn:org.apache.aries.jndi/org.apache.aries.jndi.core/1.0.0</bundle> <bundle start-level="30">mvn:org.apache.aries.jndi/org.apache.aries.jndi.rmi/1.0.0</bundle> <bundle start-level="30">mvn:org.apache.aries.jndi/org.apache.aries.jndi.url/1.0.0</bundle> <bundle start-level="30">mvn:org.apache.aries.jndi/org.apache.aries.jndi.legacy.support/1.0.0</bundle> {code }
If I remember correctly, the following was also needed. These may } should all be needed by the other 2 features as well:
collapsed into one feature named { code} <!-- Taken from Karaf-Tutorial --> <bundle>mvn:commons-collections/commons-collections/3.2.1</bundle> <bundle>mvn:commons-pool/commons-pool/1.5.4</bundle> <bundle>mvn:commons-dbcp/commons-dbcp/1.4</bundle> <bundle>mvn:commons-lang/commons-lang/2.6</bundle> <bundle>wrap:mvn:net.sourceforge.serp/serp/1.13.1</bundle> { code hibernate-orm }
com } . fasterxml/classmate is also missing, but I can't remember why that was there...
|
|
|
|
|
|