The following commands can be used to manage the list of descriptors known by Karaf. They use URLs pointing to features descriptors. These URLs can use any protocol known to Apache Karaf, the most common ones being http, file and mvn.
feature:repo-add: Add a list of repository URLs to the features service
feature:repo-remove: Remove a list of repository URLs from the features service
feature:repo-list: Display the repository URLs currently associated with the features service.
feature:repo-refresh: Reload the repositories to obtain a fresh list of features
Karaf maintains a persistent list of these repositories so that if you add one URL and restart Karaf,
the features will still be available. The
repo-refresh command is mostly used when
developing features descriptors: when changing the descriptor, it can be handy to reload it in the Kernel
without having to restart it or to remove then add again this URL.