我试图在 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