I found some time to work more on this. After fixing the bug in {{OsgiServiceUtil}} ([github commit|https://github.com/gogstad/hibernate-orm/commit/f77b2d2b4382a3804981ba2a320f3e3f4bdb8f34]), Hibernate starts. JBoss Fuse now crash on Aries, since Aries doesn't support JPA2.1. I see you branch at HHH-8160/https://github.com/brmeyer/aries/tree/jpa21, but I'm not able to build it.
Maven says {code:none} java.lang.NoClassDefFoundError: org/sonatype/aether/resolution/ArtifactResolutionException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2398) at java.lang.Class.getDeclaredConstructors(Class.java:1838) at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245) ... Caused by: java.lang.ClassNotFoundException: org.sonatype.aether.resolution.ArtifactResolutionException {code}
Internet point some migration problems in Maven 3 ([link|https://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound]). I get the same error with Maven 2 though.
It would be easier to start using Hibernate OSGi if we could pull the fork of ARIES from somewhere. Not build it ourself and publish it to our local Nexus. I see you already have some snapshots of aries jpa at repository.jboss.org/nexus ([link|https://repository.jboss.org/nexus/content/repositories/fs-snapshots/org/apache/aries/jpa/]). Is it possible to publish your branch there as well?
|