<?xml version="1.0" encoding="UTF-8"?>
<features name="camel-drools-example-6.2.0.Beta3"
          xmlns="http://karaf.apache.org/xmlns/features/v1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.0.0 http://karaf.apache.org/xmlns/features/v1.0.0">

    <repository>mvn:org.apache.camel.karaf/apache-camel/2.12.2/xml/features</repository>
    <repository>mvn:org.apache.cxf.karaf/apache-cxf/2.6.6/xml/features</repository>

    <feature name="drools-common" version="6.2.0.Beta3" description="Drools Commons">
        <feature version="[2.6,3.0)">cxf-specs</feature>
        <bundle>mvn:com.google.protobuf/protobuf-java/2.5.0</bundle>
        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.antlr/3.5_1</bundle>
        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream/1.4.3_1</bundle>
        <bundle start-level='10'>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.2/1.9.0</bundle>
        <bundle start-level='10'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-xjc/2.2.1.1_2</bundle>
        <bundle start-level='10'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.1.1_2</bundle>
        <bundle>mvn:org.mvel/mvel2/2.2.1.Final</bundle>
        <bundle>wrap:mvn:org.eclipse.jdt.core.compiler/ecj/4.2.1$Bundle-SymbolicName=Eclipse-JDT-Compiler&amp;Bundle-Version=4.2.1</bundle>
        <bundle>wrap:mvn:org.codehaus.janino/janino/2.6.1$Bundle-SymbolicName=Codehaus-Janino&amp;Bundle-Version=2.6.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec/1.0</bundle>
        <bundle>wrap:mvn:javax.enterprise/cdi-api/1.0-SP4</bundle>
    </feature>

    <feature name="drools-module" version="6.2.0.Beta3" description="Drools core">
        <feature version="6.2.0.Beta3">drools-common</feature>
        <feature version="6.2.0.Beta3">kie</feature>
        <bundle>mvn:org.drools/drools-core/6.2.0.Beta3</bundle>
        <bundle>mvn:org.drools/drools-compiler/6.2.0.Beta3</bundle>
        <bundle>mvn:org.drools/drools-osgi-integration/6.2.0.Beta3</bundle>
    </feature>

    <feature name="drools-templates" version="6.2.0.Beta3" description="Drools Templates">
        <bundle>mvn:org.drools/drools-templates/6.2.0.Beta3</bundle>
    </feature>

    <feature name="drools5-spring" version="6.2.0.Beta3" description="Drools5 Spring">
        <feature version="[3.0,4.0)">spring</feature>
        <bundle>mvn:org.drools/drools-spring-legacy5/6.2.0.Beta3</bundle>
    </feature>

    <feature name="drools5-camel" version="6.2.0.Beta3" description="Drools5 Camel">
        <feature version="6.2.0.Beta3">drools-module</feature>
        <feature version="6.2.0.Beta3">drools5-spring</feature>
        <feature version="2.12.2">camel</feature>
        <feature version="2.12.2">camel-cxf</feature>
        <feature version="[2.6,3.0)">cxf-specs</feature>
        <feature version="[2.6,3.0)">cxf-core</feature>
        <feature version="[2.6,3.0)">cxf-jaxrs</feature>
        <bundle>mvn:org.drools/drools-camel-legacy5/6.2.0.Beta3</bundle>
    </feature>

    <feature name="drools-decisiontable" description="Drools Decision Tables" version="6.2.0.Beta3">
        <feature version="6.2.0.Beta3">drools-module</feature>
        <feature version="6.2.0.Beta3">drools-templates</feature>
        <bundle>mvn:commons-codec/commons-codec/1.7</bundle>
        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi/3.9_2</bundle>
        <bundle>mvn:org.drools/drools-decisiontables/6.2.0.Beta3</bundle>
    </feature>

    <feature name="drools-jpa" version="6.2.0.Beta3" description="Drools JPA">
        <feature version="6.2.0.Beta3">drools-module</feature>
        <feature version="[3.0,4.0)">spring-orm</feature>
        <feature version="[1.0.1,2.0)">jpa</feature>
        <bundle>mvn:org.drools/drools-persistence-jpa/6.2.0.Beta3</bundle>
    </feature>

    <feature name="kie" version="6.2.0.Beta3">
        <bundle>mvn:org.kie/kie-api/6.2.0.Beta3</bundle>
        <bundle>mvn:org.kie/kie-internal/6.2.0.Beta3</bundle>
    </feature>

    <feature name="kie-ci" version="6.2.0.Beta3">
        <bundle>mvn:org.kie/kie-ci-osgi/6.2.0.Beta3</bundle>
    </feature>

    <feature name="kie-spring" version="6.2.0.Beta3">
        <feature version="6.2.0.Beta3">kie</feature>
        <feature version="6.2.0.Beta3">drools-jpa</feature>
        <feature version="6.2.0.Beta3">jbpm</feature>
        <feature version="6.2.0.Beta3">jbpm-human-task</feature>
        <bundle>mvn:org.kie/kie-spring/6.2.0.Beta3</bundle>
    </feature>

    <feature name="kie-aries-blueprint" version="6.2.0.Beta3">
        <feature version="6.2.0.Beta3">kie</feature>
        <feature version="6.2.0.Beta3">drools-jpa</feature>
        <feature version="6.2.0.Beta3">jbpm</feature>
        <feature version="6.2.0.Beta3">jbpm-human-task</feature>
        <bundle>mvn:org.kie/kie-aries-blueprint/6.2.0.Beta3</bundle>
    </feature>

    <feature name="kie-camel" version="6.2.0.Beta3">
        <feature version="6.2.0.Beta3">kie</feature>
        <feature version="6.2.0.Beta3">kie-spring</feature>
        <feature version="6.2.0.Beta3">jbpm</feature>
        <feature version="2.12.2">camel</feature>
        <feature version="2.12.2">camel-cxf</feature>
        <feature version="[2.6,3.0)">cxf-specs</feature>
        <feature version="[2.6,3.0)">cxf-core</feature>
        <feature version="[2.6,3.0)">cxf-jaxrs</feature>
        <bundle>mvn:org.kie/kie-camel/6.2.0.Beta3</bundle>
    </feature>

    <feature name="jbpm-commons" version="6.2.0.Beta3" description="jBPM Commons">
        <bundle>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.scripting-api-1.0/2.4.0</bundle>
        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.quartz/1.8.5_2</bundle>
        <bundle>mvn:org.jboss.spec.javax.security.jacc/jboss-jacc-api_1.5_spec/1.0.0.Final</bundle>
        <bundle>mvn:joda-time/joda-time/1.6.2</bundle>
        <bundle>mvn:org.jboss.spec.javax.interceptor/jboss-interceptors-api_1.2_spec/1.0.0.Final</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-servlet_3.0_spec/1.0</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec/1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
    </feature>

    <feature name="jbpm-human-task" version="6.2.0.Beta3" description="jBPM engine">
        <bundle>mvn:org.codehaus.jackson/jackson-core-asl/1.9.9</bundle>
        <bundle>mvn:org.jbpm/jbpm-human-task-core/6.2.0.Beta3</bundle>
        <bundle>mvn:org.jbpm/jbpm-human-task-workitems/6.2.0.Beta3</bundle>
        <bundle>mvn:org.jbpm/jbpm-human-task-jpa/6.2.0.Beta3</bundle>
        <bundle>mvn:org.jbpm/jbpm-human-task-audit/6.2.0.Beta3</bundle>
    </feature>

    <feature name="jbpm" version="6.2.0.Beta3" description="jBPM engine">
        <feature version="6.2.0.Beta3">drools-module</feature>
        <feature version="6.2.0.Beta3">drools-jpa</feature>
        <feature version="6.2.0.Beta3">jbpm-commons</feature>
        <feature version="6.2.0.Beta3">jbpm-human-task</feature>
        <bundle>mvn:org.jbpm/jbpm-flow-builder/6.2.0.Beta3</bundle>
        <bundle>mvn:org.jbpm/jbpm-flow/6.2.0.Beta3</bundle>
        <bundle>mvn:org.jbpm/jbpm-bpmn2/6.2.0.Beta3</bundle>
        <bundle>mvn:org.jbpm/jbpm-audit/6.2.0.Beta3</bundle>
        <bundle>mvn:org.jbpm/jbpm-runtime-manager/6.2.0.Beta3</bundle>
        <bundle>mvn:org.jbpm/jbpm-persistence-jpa/6.2.0.Beta3</bundle>
    </feature>

    <!--
             <bundle>wrap:mvn:org.apache.geronimo.specs/geronimo-jacc_1.1_spec/1.0</bundle>
            <bundle>wrap:mvn:org.jboss.weld/weld-core/1.1.13.Final</bundle>
            <bundle>wrap:mvn:org.jboss.solder/solder-api/3.2.0.Final</bundle>
            <bundle>wrap:mvn:org.apache.helix/helix-core/0.6.1-incubating</bundle>
            <bundle>wrap:mvn:javax.security/jacc/1.0</bundle>
            <bundle>mvn:org.jbpm/jbpm-audit/6.2.0.Beta3</bundle>
            <bundle>mvn:org.jbpm/jbpm-shared-services/6.2.0.Beta3</bundle>
            <bundle>mvn:org.jbpm/jbpm-runtime-manager/6.2.0.Beta3</bundle>

        <feature name="jbpm-human-task" version="6.2.0.Beta3" description="jBPM Human Task">
            <feature version="6.2.0.Beta3">jbpm</feature>
            <bundle>mvn:org.jbpm/jbpm-human-task-core/6.2.0.Beta3</bundle>
            <bundle>mvn:org.jbpm/jbpm-human-task-workitems/6.2.0.Beta3</bundle>
            <bundle>mvn:org.jbpm/jbpm-human-task-audit/6.2.0.Beta3</bundle>
            <bundle>mvn:org.jbpm/jbpm-human-task-jpa/6.2.0.Beta3</bundle>
            <bundle>mvn:org.jbpm/jbpm-persistence-jpa/6.2.0.Beta3</bundle>
        </feature>-->

    <feature name="drools5-camel-example" version="6.2.0.Beta3" description="Drools5 Spring Camel Example">
        <feature version="6.2.0.Beta3">drools-module</feature>
        <feature version="6.2.0.Beta3">drools-decisiontable</feature>
        <feature version="6.2.0.Beta3">drools5-spring</feature>
        <feature version="6.2.0.Beta3">drools5-camel</feature>
        <bundle>mvn:org.drools/drools-camel-example/6.2.0.Beta3</bundle>
    </feature>

    <feature name="drools-decision-table-kie-spring-camel-example" version="6.2.0.Beta3" description="Drools Decision Table Kie Spring Camel Example">
        <feature version="6.2.0.Beta3">drools-module</feature>
        <feature version="6.2.0.Beta3">drools-decisiontable</feature>
        <feature version="6.2.0.Beta3">kie-spring</feature>
        <feature version="6.2.0.Beta3">kie-camel</feature>
        <bundle start-level="100">mvn:org.drools/spring-camel-drools-decision-table-example/6.2.0.Beta3</bundle>
    </feature>

    <feature name="drools-decision-kie-blueprint-camel-example" version="6.2.0.Beta3"
             description="Drools Decision Table Kie Blueprint Camel Example">
        <feature version="6.2.0.Beta3">drools-module</feature>
        <feature version="6.2.0.Beta3">drools-decisiontable</feature>
        <feature version="6.2.0.Beta3">kie-aries-blueprint</feature>
        <feature version="6.2.0.Beta3">kie-camel</feature>
        <bundle>mvn:org.drools/blueprint-camel-drools-decision-table-example/6.2.0.Beta3</bundle>
    </feature>

    <feature name="jbpm-example" version="6.2.0.Beta3" description="jBPM Spring Example">
        <feature version="6.2.0.Beta3">jbpm</feature>
        <bundle>mvn:org.drools/spring-jbpm-osgi-example/6.2.0.Beta3</bundle>
    </feature>

    <!-- This bundle should be removed with next release of Drools 6.1.Beta4 -->
    <feature name="lib" version="6.2.0.Beta3">
        <bundle>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.scripting-api-1.0/2.4.0</bundle>
    </feature>

    <!-- Spring jBPM Persistent OSGI -->
    <feature name="jbpm-spring-persistent" version="6.2.0.Beta3" description="jBPM Spring OSGI Example">
        <feature version="6.2.0.Beta3">jbpm</feature>
        <feature version="6.2.0.Beta3">lib</feature>
        <feature>spring-dm</feature>
        <feature version="6.2.0.Beta3">kie-spring</feature>
        <feature>hibernate</feature>
        <feature version="1.4.178">h2</feature>
    </feature>

    <feature name="hibernate" version="4.2.12.Final" description="Hibernate 4.2.x JPA persistence engine support">
        <details>Enable Hibernate 4.2.x as persistence engine.</details>
        <feature>transaction</feature>
        <feature>jpa</feature>
        <!--<bundle start-level="30" dependency="true">mvn:org.hibernate.javax.persistence/hibernate-jpa-2.1-api/1.0.0.Final</bundle>-->
        <bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.antlr/2.7.7_5</bundle>
        <bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ant/1.8.2_2</bundle>
        <bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j/1.6.1_5</bundle>
        <bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.serp/1.14.1_1</bundle>
        <bundle dependency="true">mvn:com.fasterxml/classmate/0.9.0</bundle>
        <bundle dependency="true">mvn:org.javassist/javassist/3.18.1-GA</bundle>
        <bundle dependency="true">mvn:org.jboss.spec.javax.security.jacc/jboss-jacc-api_1.4_spec/1.0.2.Final</bundle>
        <bundle dependency="true">wrap:mvn:org.jboss/jandex/1.1.0.Final</bundle>
        <bundle dependency="true">mvn:org.jboss.logging/jboss-logging/3.1.4.GA</bundle>
        <bundle dependency="true">mvn:org.hibernate.common/hibernate-commons-annotations/4.0.2.Final</bundle>
        <!-- for some reason hibernate 4.3.1 requires the DynamicImport-Package on core instead of on entitymanager -->
        <bundle start-level="100">mvn:org.hibernate/hibernate-core/4.2.12.Final</bundle>
        <bundle start-level="100">wrap:mvn:org.hibernate/hibernate-entitymanager/4.2.12.Final$overwrite=merge&amp;DynamicImport-Package=*</bundle>
        <bundle start-level="100">mvn:org.hibernate/hibernate-osgi/4.2.12.Final</bundle>
    </feature>
  
    <feature name="hibernate-validator" version="4.3.1.Final">
        <bundle>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jsr303-api-1.1.0/2.4.0</bundle>
        <bundle>mvn:org.jboss.logging/jboss-logging/3.1.4.GA</bundle>
        <bundle>mvn:org.hibernate/hibernate-validator/4.3.1.Final</bundle>
    </feature>

    <feature name="h2" version="1.4.178" description="h2 database">
        <bundle>mvn:com.h2database/h2/1.4.178</bundle>
    </feature>

</features>
