我尝试在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功能的功能: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
答案 0 :(得分:0)
您无法在ServiceMix中安装FAB。
FAB是JBoss Fuse的一部分,您应该将JBoss Fuse与FAB一起使用。
请注意,在JBoss Fuse 6.2之后,FAB已被弃用(fabric8 1.1以后)。参见
FAB正在被OSGi解析器取代