简体   繁体   中英

How to change URL of karaf features:install

JBossFuse:karaf@root> features:install wrapper
    Error executing command: URL [mvn:org.apache.camel.karaf/apache-camel/2.14-SNAPSHOT/xml/features] could not be resolved.

I get this message for features:install {ANYTHING}.

To be fair, I'm running jboss-fuse-full-6.1.0.redhat-379.zip on Windows. So I should expect things to go wrong. But for my edification, why is this happening? Why is it going for the latest snapshot?

If the bundle is not in the system directory and not in your local repository you should check etc/org.ops4j.pax.url.mvn.cfg for the org.ops4j.pax.url.mvn.repositories entry and make sure that the artifact can be resolved from there. You probably need to add the Apache snapshots repository since the artifact is deployed there .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM