Is there a Maven build for eclipselink that makes the OSGi bundles run in Felix and others?

StackOverflow https://stackoverflow.com/questions/1614215

  •  06-07-2019
  •  | 
  •  

Question

The Eclipselink OSGi bundles seem have trouble working in some OSGi containers, notably Felix, because they fail to import packages (and that are exported by the system) that they actually require. One example is the missing import of javax.xml.namespace in the core bundle of the current 1.1.3 release.

The eclipselink team has targeted this type of issues by using the BND tool for the build process in versions 1.2 and 2.0, so once these are out, we can expect this problem to be gone.

In the meantime, has anybody set up and published a Maven build from the eclipselink sources that does the bundling right?

Was it helpful?

Solution

Have you checked the version in the SpringSource Enterprise Bundle Repository? It looks like their Eclipselink bundles are importing javax.xml.namespace anyway.

OTHER TIPS

Here's the pom.xml file we use create a bundle that has EclipseLink and exposes JPA. This bundle only has EclipseLink so you should be able to use it directly.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top