0

我试图在 servicemix 4.5.2 中安装 FAB。当我尝试添加以下功能时

mvn:org.fusesource.fuse/fuse-fuse/7.0.1.fuse-084/xml/features,我得到了以下异常

Could not add Feature Repository:
java.lang.RuntimeException: URL [mvn:org.fusesource.fuse/fuse-fuse/7.0.1.fuse-084/xml/features] could not be resolved.
Please verify that the feature repository URL is correct and that your network connection works fine.

然后按照建议,我在 etc/org.ops4j.pax.url.mvn.cfg 中添加了 repo repo.fusesource.com/nexus/content/groups/public。但是没有好事发生。

我从 Fabric8 features:addUrl mvn:io.fabric8/fabric8-karaf/1.1.0.CR5/xml/features 添加了该功能,并且添加成功。但是当我安装织物功能时,它会抛出异常

karaf@root> features:install fabric-bundle
Error executing command: Can not resolve feature:
Unsatisfied requirement(s):
     ---------------------------
   package:(&(package=jline)(version>=2.11.0)(!(version>=3.0.0)))
      Fabric8 :: FAB (deprecated) :: OSGi
   package:(&(package=org.apache.karaf.shell.console)(version>=2.3.0)(!(version>=3.0.0)))
      Fabric8 :: FAB (deprecated) :: OSGi
   package:(&(package=org.apache.felix.fileinstall)(version>=3.3.0)(!(version>=4.0.0)))
      Fabric8 :: FAB (deprecated) :: OSGi
4

1 回答 1

0

您不能在 ServiceMix 中安装 FAB。

FAB 是 JBoss Fuse 的一部分,您应该将 JBoss Fuse 与 FAB 一起使用。

请注意 FAB 在 JBoss Fuse 6.2 及更高版本(fabric8 1.1 及更高版本)中已被弃用。看

FAB 正在被 OSGi 解析器替换

于 2014-08-04T09:53:51.030 回答