0

http://fuse.fusesource.org/bundle/faq.html#How_do_I_enable_FAB_support_in_my_OSGi_container_,我们被指示做:

features:addUrl mvn:org.fusesource.fuse/fuse-fuse/7.0.1.fuse-084/xml/features
features:install fuse-bundle

在 karafe 启用 FAB。这导致:

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.

谁能告诉我们我们应该使用什么 URL 以及在哪里可以找到这些信息?此外,更一般地说,在哪里是查找此类文档的官方位置。我没有发现 RedHat 的管理在这方面有很大帮助。

谢谢

4

1 回答 1

1

You need to add the maven repository to your Apache Karaf configuration file. See the etc directory, there is a file org.ops4j.pax.url.mvn.cfg where you add the fusesource repo where the FAB distribution is.

Notice that its much easier to use JBoss Fuse or Fuse ESB Enterprise, as they have FAB enabled out of the box.

The repo url is: http://repo.fusesource.com/nexus/content/repositories/releases

So in etc/org.ops4j.pax.url.mvn.cfg file you add this line to the repos in the bottom of the file:

http://repo.fusesource.com/nexus/content/repositories/releases@id=fusesource.release.repo, \
于 2013-04-20T07:46:39.917 回答