Installing using Karaf-features

Installing using Karaf-features

Pax Web provides a set of feature-descriptors for Apache Karaf for convenient installation. To enable these features, add them in Karaf using the following command:

features:addurl mvn:org.ops4j.pax.web/pax-web-features/2.1.0/xml/features

When you type features:list now, you will see the following features available:

State Version Name Repository Description [uninstalled] [8.1.4.v20120524] pax-jetty org.ops4j.pax.web-2.1.0 Provide Jetty engine support [uninstalled] [2.1.0 ] pax-http org.ops4j.pax.web-2.1.0 Implementation of the OSGI HTTP Service [uninstalled] [2.1.0 ] pax-http-whiteboard org.ops4j.pax.web-2.1.0 Provide HTTP Whiteboard pattern support [uninstalled] [2.1.0 ] pax-war org.ops4j.pax.web-2.1.0 Provide support of a full WebContainer

You can now install each of these features using features:install.