【问题标题】:Is there a Maven build for eclipselink that makes the OSGi bundles run in Felix and others?是否有用于 eclipselink 的 Maven 构建,使 OSGi 包在 Felix 和其他人中运行?
【发布时间】:2010-12-09 12:15:04
【问题描述】:

Eclipselink OSGi 包似乎无法在某些 OSGi 容器中工作,尤其是 Felix,因为它们无法导入它们实际需要的包(并且由系统导出)。一个示例是当前 1.1.3 版本的 core 捆绑包中缺少 javax.xml.namespace 的导入。

eclipselink 团队在 1.2 和 2.0 版本的构建过程中使用了 BND 工具来解决此类问题,因此一旦这些问题出来,我们可以预期这个问题会消失。

与此同时,是否有人从 eclipselink 源中设置并发布了一个 Maven 构建,该构建正确进行了捆绑?

【问题讨论】:

    标签: maven-2 osgi eclipselink


    【解决方案1】:

    您检查过SpringSource Enterprise Bundle Repository 中的版本吗?看起来他们的Eclipselink bundles 无论如何都在导入javax.xml.namespace

    【讨论】:

      【解决方案2】:

      Here's the pom.xml file 我们使用创建一个包含 EclipseLink 并公开 JPA 的包。这个包只有 EclipseLink,所以你应该可以直接使用它。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2012-06-12
        • 2012-03-08
        • 2012-05-07
        • 2013-03-04
        • 2021-12-15
        • 1970-01-01
        • 2014-08-16
        相关资源
        最近更新 更多