<?xml version="1.0" encoding="UTF-8"?>
<!--

      Licensed to the Apache Software Foundation (ASF) under one or more
      contributor license agreements.  See the NOTICE file distributed with
      this work for additional information regarding copyright ownership.
      The ASF licenses this file to You under the Apache License, Version 2.0
      (the "License"); you may not use this file except in compliance with
      the License.  You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0

      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.
-->
<features name="karaf-2.3.0.redhat-610312" xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">

    <repository>mvn:org.ops4j.pax.web/pax-web-features/3.0.5/xml/features</repository>

    <feature name="karaf-framework" description="Karaf core feature" version="2.3.0.redhat-610312" resolver="(obr)">
        <bundle start-level="5">mvn:org.ops4j.pax.url/pax-url-mvn/1.3.7</bundle>
        <bundle start-level="5">mvn:org.ops4j.pax.url/pax-url-wrap/1.3.7</bundle>
        <bundle start-level="8">mvn:org.ops4j.pax.logging/pax-logging-api/1.7.1</bundle>
        <bundle start-level="8">mvn:org.ops4j.pax.logging/pax-logging-service/1.7.1</bundle>
        <bundle start-level="10">mvn:org.apache.felix/org.apache.felix.configadmin/1.4.0.redhat-610312</bundle>
        <bundle start-level="11">mvn:org.apache.felix/org.apache.felix.fileinstall/3.3.11.redhat-610312</bundle>
        <bundle start-level="20">mvn:org.ow2.asm/asm-all/4.1</bundle>
        <bundle start-level="20">mvn:org.apache.aries/org.apache.aries.util/1.0.1.redhat-610312</bundle>
        <bundle start-level="20">mvn:org.apache.aries.proxy/org.apache.aries.proxy.api/1.0.1.redhat-610312</bundle>
        <bundle start-level="20">mvn:org.apache.aries.proxy/org.apache.aries.proxy.impl/1.0.1.redhat-610312</bundle>
        <bundle dependency="true" start-level="20">mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.api/1.0.1.redhat-610312</bundle>
        <bundle dependency="true" start-level="20">mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/1.0.1.redhat-610312</bundle>
        <bundle dependency="true" start-level="20">mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.cm/1.0.1.redhat-610312</bundle>

        <bundle start-level="30">mvn:org.apache.felix/org.apache.felix.gogo.runtime/0.11.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.shell/org.apache.karaf.shell.console/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.shell/org.apache.karaf.shell.osgi/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.shell/org.apache.karaf.shell.log/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.shell/org.apache.karaf.shell.packages/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.shell/org.apache.karaf.shell.commands/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.shell/org.apache.karaf.shell.dev/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.config/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.modules/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.command/2.3.0.redhat-610312</bundle>
        <bundle start-level="25">mvn:org.apache.karaf.features/org.apache.karaf.features.core/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.features/org.apache.karaf.features.command/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.features/org.apache.karaf.features.management/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.management/org.apache.karaf.management.server/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.aries.jmx/org.apache.aries.jmx.api/1.0.1.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.aries.jmx/org.apache.aries.jmx.core/1.0.1.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.api/1.0.1.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.core/1.0.1.redhat-610312</bundle>
    </feature>

    <feature name="wrapper" description="Provide OS integration" version="2.3.0.redhat-610312">
        <bundle>mvn:org.apache.karaf.shell/org.apache.karaf.shell.wrapper/2.3.0.redhat-610312</bundle>
    </feature>
    <feature name="service-wrapper" description="Provide OS integration (alias to wrapper feature)" version="2.3.0.redhat-610312">
        <feature version="2.3.0.redhat-610312">wrapper</feature>
    </feature>

    <feature name="obr" description="Provide OSGi Bundle Repository (OBR) support" version="2.3.0.redhat-610312">
        <bundle start-level="30">mvn:org.apache.felix/org.osgi.service.obr/1.0.2</bundle>
        <bundle start-level="30">mvn:org.apache.felix/org.apache.felix.bundlerepository/1.6.6</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.shell/org.apache.karaf.shell.obr/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.features/org.apache.karaf.features.obr/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.management.mbeans/org.apache.karaf.management.mbeans.obr/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.ops4j.pax.url/pax-url-obr/1.3.7</bundle>
    </feature>

    <feature name="config" description="Provide OSGi ConfigAdmin support" version="2.3.0.redhat-610312">
        <bundle start-level="30">mvn:org.apache.karaf.shell/org.apache.karaf.shell.config/2.3.0.redhat-610312</bundle>
    </feature>

    <feature name="jetty" description="Provide Jetty engine support" version="8.1.14.v20131031" resolver="(obr)">
        <feature version="8.1.14.v20131031">pax-jetty</feature>
    </feature>

    <feature name="http" version="2.3.0.redhat-610312" resolver="(obr)" description="Implementation of the OSGI HTTP Service">
        <feature version="3.0.5">pax-http</feature>
    </feature>

    <feature name="http-whiteboard" description="Provide HTTP Whiteboard pattern support" version="2.3.0.redhat-610312" resolver="(obr)">
        <feature version="3.0.5">pax-http-whiteboard</feature>
    </feature>

    <feature name="war" description="Turn Karaf as a full WebContainer" version="2.3.0.redhat-610312" resolver="(obr)">
        <feature version="3.0.5">pax-war</feature>
    </feature>

    <feature name="kar" description="Provide KAR (KARaf archive) support" version="2.3.0.redhat-610312">
        <bundle start-level="30">mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.kar/2.3.0.redhat-610312</bundle>
    </feature>

    <feature name="webconsole-base" description="Base support of the Karaf WebConsole" version="2.3.0.redhat-610312">
        <config name="org.apache.karaf.webconsole">
            realm=karaf
            role=${karaf.admin.role}
        </config>
        <feature version="[2,3)">http</feature>
        <bundle start-level="30">mvn:org.apache.felix/org.apache.felix.metatype/1.0.8</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.branding/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.console/2.3.0.redhat-610312</bundle>
    </feature>

    <feature name="webconsole" description="Karaf WebConsole for administration and monitoring" version="2.3.0.redhat-610312">
        <feature version="2.3.0.redhat-610312">webconsole-base</feature>
        <bundle start-level="30">mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.admin/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.features/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.gogo/2.3.0.redhat-610312</bundle>
		<bundle start-level="30">mvn:org.apache.felix/org.apache.felix.webconsole.plugins.event/1.0.3.redhat-001</bundle>
    </feature>

    <feature name="ssh" description="Provide a SSHd server on Karaf" version="2.3.0.redhat-610312">
        <config name="org.apache.karaf.shell">
            sshPort=8101
            sshHost=0.0.0.0
            sshRealm=karaf
            hostKey=${karaf.etc}/host.key
        </config>
        <bundle start-level="30" dependency='true'>mvn:org.apache.mina/mina-core/2.0.7</bundle>
        <bundle start-level="30" dependency='true'>mvn:org.apache.sshd/sshd-core/0.9.0</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.shell/org.apache.karaf.shell.ssh/2.3.0.redhat-610312</bundle>
    </feature>

    <feature name="management" description="Provide a JMX MBeanServer and a set of MBeans in Karaf" version="2.3.0.redhat-610312">
        <bundle start-level="30">mvn:org.apache.karaf.management/org.apache.karaf.management.server/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.aries.jmx/org.apache.aries.jmx.api/1.0.1.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.aries.jmx/org.apache.aries.jmx.core/1.0.1.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.api/1.0.1.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.core/1.0.1.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.management.mbeans/org.apache.karaf.management.mbeans.system/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.management.mbeans/org.apache.karaf.management.mbeans.bundles/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.management.mbeans/org.apache.karaf.management.mbeans.services/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.management.mbeans/org.apache.karaf.management.mbeans.config/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.management.mbeans/org.apache.karaf.management.mbeans.log/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.management.mbeans/org.apache.karaf.management.mbeans.packages/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.management.mbeans/org.apache.karaf.management.mbeans.dev/2.3.0.redhat-610312</bundle>
    </feature>

    <feature name="eventadmin" description="OSGi Event Admin service specification for event-based communication" version="2.3.0.redhat-610312">
		<bundle start-level='30'>mvn:org.apache.felix/org.apache.felix.eventadmin/1.3.0.redhat-610312</bundle>
    </feature>

    <feature name="jasypt-encryption" description="Advanced encryption support for Karaf security" version="2.3.0.redhat-610312" resolver="(obr)">
        <bundle dependency="true" start-level="30">mvn:commons-codec/commons-codec/1.6</bundle>
        <bundle dependency='true' start-level="30">mvn:commons-lang/commons-lang/2.6</bundle>
        <bundle dependency='true' start-level="30">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jasypt/1.9.1_1</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.jasypt/2.3.0.redhat-610312</bundle>
    </feature>

    <feature name="scr" description="Declarative Service support" version="2.3.0.redhat-610312" resolver="(obr)">
        <feature>eventadmin</feature>
        <bundle start-level="30">mvn:org.apache.felix/org.apache.felix.scr/1.8.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.felix/org.apache.felix.metatype/1.0.8</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.shell/org.apache.karaf.shell.scr/2.3.0.redhat-610312</bundle>
        <bundle start-level="30">mvn:org.apache.karaf.management.mbeans/org.apache.karaf.management.mbeans.scr/2.3.0.redhat-610312</bundle>
    </feature>
</features>
