Clone this repo:
  1. dc7f085 Merge pull request #25 from jbonofre/KARAF-6389 by Jean-Baptiste Onofré · 6 weeks ago cave-4.1.x master
  2. 9a9d03a [KARAF-6389] Add configuration factory support in Cave Deployer by Jean-Baptiste Onofré · 6 weeks ago
  3. f992c03 Merge pull request #24 from coheigea/cxf by François Papon · 9 weeks ago
  4. 141673e Updating CXF + Commons IO by Colm O hEigeartaigh · 9 weeks ago
  5. b5f339d Merge pull request #22 from coheigea/manual by Jean-Baptiste Onofré · 4 months ago

Apache Karaf Cave

Apache Karaf Cave is an Apache Karaf subproject. It provides a complete repository manager and deployer for Apache Karaf.


Apache Karaf Cave supports:

  • Maven repository management
  • OSGi Repository management
  • Deployer on multiple Apache Karaf instances
  • Complete REST API and JMX MBeans

Apache Karaf Cave provides the following features:

  • Storage: Cave includes a storage backend. The default one is a simple filesystem backend. As the Cave backend is designed in a plugin way, you can implement your own backend (for instance, JDBC or LDAP backend).
  • Repository Metadata Generation: Cave creates the repository metadata for you, using the artifacts presents in the repository storage.
  • Maven support: Cave repositories act as a complete Maven repository, allowing you to use Cave directly with Maven.
  • REST API: Cave provides a REST API to manipulate the repositories.
  • Artifact Upload: Users can upload OSGi bundle in a Cave repository. It supports URLs like mvn:groupId/artifactId/version, file:, http:, etc.
  • Deployer: to deploy and manage your “farm” of Apache Karaf instances.
  • Repository proxy: Cave is able to proxy an existing repository, for instance an existing Maven repository. The artifacts are located on the “external” repository, Cave handles the repository metadata. Cave supports file: and http: URLs, it means that Cave is able to browse a remote HTTP Maven repository for instance.
  • Repository population: Cave is able to get artifacts present on an “external” repository (local file: or remote http:), looking for OSGi bundles, and copy the artifacts in the Cave repository storage.

Getting Started

For an Apache Karaf Cave source distribution, please read for instructions on building Apache Karaf Cave.

To install Apache Karaf Cave, first you have to register the Cave features descriptor:

karaf@root()> feature:repo-add mvn:org.apache.karaf.cave/apache-karaf-cave/4.0.0/xml/features

Now, you can install the Cave simply by typing:

karaf@root()> feature:install cave

More Information

The PDF manual is the right place to find any information about Karaf Cave.

Alternatively, you can also find out how to get started here:

If you need more help try talking to us on our mailing lists

If you find any issues with Apache Karaf, please submit reports with JIRA here:

We welcome contributions, and encourage you to get involved in the Karaf community. If you'd like to learn more about how you can contribute, please see:

Many thanks for using Apache Karaf Cave.

The Apache Karaf Team