<?xml version="1.0" encoding="UTF-8"?>
<features name="karaf-features-core-droolsjbpm-7.0.0.Beta1"
          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">

  <feature name="drools-common" version="7.0.0.Beta1" description="Drools Commons">
    <bundle>mvn:com.google.protobuf/protobuf-java/2.6.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.7_1</bundle>
    <bundle start-level='10'>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.2/2.2.0</bundle>
    <bundle start-level='10'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-xjc/2.2.11_1</bundle>
    <bundle start-level='10'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.11_1</bundle>
    <bundle>mvn:org.mvel/mvel2/2.3.0.Final</bundle>
    <bundle>wrap:mvn:org.eclipse.jdt.core.compiler/ecj/4.4.2$Bundle-SymbolicName=Eclipse-JDT-Compiler&amp;Bundle-Version=4.4.2</bundle>
    <bundle>wrap:mvn:org.codehaus.janino/janino/2.5.16$Bundle-SymbolicName=Codehaus-Janino&amp;Bundle-Version=2.5.16</bundle>
    <bundle>mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec/1.0</bundle>
    <bundle>wrap:mvn:javax.enterprise/cdi-api/1.2</bundle>
    <bundle>mvn:org.jboss.spec.javax.el/jboss-el-api_3.0_spec/1.0.6.Final</bundle>
    <bundle>mvn:org.jboss.spec.javax.interceptor/jboss-interceptors-api_1.2_spec/1.0.0.Final</bundle>
    <bundle>mvn:commons-codec/commons-codec/1.9</bundle>
  </feature>

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

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

  <feature name="drools-decisiontable" description="Drools Decision Tables" version="7.0.0.Beta1">
    <feature version="7.0.0.Beta1">drools-module</feature>
    <feature version="7.0.0.Beta1">drools-templates</feature>
    <bundle>mvn:commons-codec/commons-codec/1.9</bundle>
    <bundle>mvn:org.drools/drools-decisiontables/7.0.0.Beta1</bundle>
    <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi/3.13_2</bundle>
    <bundle>mvn:org.apache.santuario/xmlsec/2.0.6</bundle>
    <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xmlresolver/1.2_5</bundle>
  </feature>

  <feature name="drools-wb-guided-decisiontables" description="Drools Workbench Guided Decision Tables" version="7.0.0.Beta1">
     <feature version="7.0.0.Beta1">drools-module</feature>
     <bundle>mvn:org.drools/drools-workbench-models-datamodel-api/7.0.0.Beta1</bundle>
     <bundle>mvn:org.drools/drools-workbench-models-commons/7.0.0.Beta1</bundle>
     <bundle>mvn:org.apache.commons/commons-lang3/3.1</bundle>
     <bundle>mvn:org.drools/drools-workbench-models-guided-dtable/7.0.0.Beta1</bundle>
   </feature>

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

  <feature name="kie" version="7.0.0.Beta1" description="KIE API">
    <bundle>mvn:org.kie/kie-api/7.0.0.Beta1</bundle>
    <bundle>mvn:org.kie/kie-internal/7.0.0.Beta1</bundle>
  </feature>

  <feature name="kie-ci" version="7.0.0.Beta1" description="KIE CI">
    <bundle>mvn:org.kie/kie-ci-osgi/7.0.0.Beta1</bundle>
  </feature>

  <feature name="kie-spring" version="7.0.0.Beta1" description="KIE Spring">
    <feature version="7.0.0.Beta1">kie</feature>
    <feature version="7.0.0.Beta1">drools-jpa</feature>
    <feature version="7.0.0.Beta1">jbpm</feature>
    <feature version="7.0.0.Beta1">jbpm-human-task</feature>
    <feature version="[3.1,4.0)">spring</feature>
    <bundle>mvn:org.springframework.osgi/spring-osgi-extender/1.2.1</bundle>
    <bundle>mvn:org.springframework.osgi/spring-osgi-core/1.2.1</bundle>
    <bundle>mvn:org.springframework.osgi/spring-osgi-io/1.2.1</bundle>
    <bundle>mvn:org.kie/kie-spring/7.0.0.Beta1</bundle>
  </feature>

  <feature name="kie-aries-blueprint" version="7.0.0.Beta1" description="KIE Aries Blueprint">
    <feature version="7.0.0.Beta1">kie</feature>
    <feature version="7.0.0.Beta1">drools-jpa</feature>
    <feature version="7.0.0.Beta1">jbpm</feature>
    <feature version="7.0.0.Beta1">jbpm-human-task</feature>
    <bundle>mvn:org.kie/kie-aries-blueprint/7.0.0.Beta1</bundle>
  </feature>

  <feature name="jbpm-commons" version="7.0.0.Beta1" description="jBPM Commons">
    <!-- This feature is Fuse version specific, so it is defined differently in the features.xml and features-fuse-6_3.xml files -->
    <feature version="7.0.0.Beta1">servlet-api-drools</feature>
    <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/2.7</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-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="7.0.0.Beta1" description="jBPM Human Task">
    <bundle>mvn:org.codehaus.jackson/jackson-core-asl/1.9.13</bundle>
    <bundle>mvn:org.jbpm/jbpm-human-task-core/7.0.0.Beta1</bundle>
    <bundle>mvn:org.jbpm/jbpm-human-task-workitems/7.0.0.Beta1</bundle>
    <bundle>mvn:org.jbpm/jbpm-human-task-jpa/7.0.0.Beta1</bundle>
    <bundle>mvn:org.jbpm/jbpm-human-task-audit/7.0.0.Beta1</bundle>
  </feature>

  <feature name="jbpm" version="7.0.0.Beta1" description="jBPM Engine">
    <feature version="7.0.0.Beta1">drools-module</feature>
    <feature version="7.0.0.Beta1">drools-jpa</feature>
    <feature version="7.0.0.Beta1">jbpm-commons</feature>
    <feature version="7.0.0.Beta1">jbpm-human-task</feature>
    <bundle>mvn:org.jbpm/jbpm-flow-builder/7.0.0.Beta1</bundle>
    <bundle>mvn:org.jbpm/jbpm-flow/7.0.0.Beta1</bundle>
    <bundle>mvn:org.jbpm/jbpm-bpmn2/7.0.0.Beta1</bundle>
    <bundle>mvn:org.jbpm/jbpm-audit/7.0.0.Beta1</bundle>
    <bundle>mvn:org.jbpm/jbpm-query-jpa/7.0.0.Beta1</bundle>
    <bundle>mvn:org.jbpm/jbpm-runtime-manager/7.0.0.Beta1</bundle>
    <bundle>mvn:org.jbpm/jbpm-persistence-jpa/7.0.0.Beta1</bundle>
    <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax.mail/1.4.1_5</bundle>
  </feature>

  <feature name="jbpm-workitems" version="7.0.0.Beta1" description="jBPM Work Items">
    <feature version="7.0.0.Beta1">jbpm</feature>
    <bundle>wrap:mvn:org.jbpm/jbpm-workitems/7.0.0.Beta1</bundle>
  </feature>

  <feature name="jbpm-executor" version="7.0.0.Beta1" description="jBPM Executor">
    <feature version="7.0.0.Beta1">jbpm-workitems</feature>
    <bundle>wrap:mvn:org.jbpm/jbpm-executor/7.0.0.Beta1$DynamicImport-Package=org.hibernate.*,javassist.*</bundle>
  </feature>

  <feature name="optaplanner-engine" version="7.0.0.Beta1" description="OptaPlanner Engine">
    <feature version="7.0.0.Beta1">drools-module</feature>
    <bundle>mvn:org.optaplanner/optaplanner-core/7.0.0.Beta1</bundle>
    <bundle>mvn:org.optaplanner/optaplanner-persistence-common/7.0.0.Beta1</bundle>
    <bundle>mvn:org.optaplanner/optaplanner-persistence-xstream/7.0.0.Beta1</bundle>
    <bundle>mvn:org.optaplanner/optaplanner-persistence-jaxb/7.0.0.Beta1</bundle>
    <bundle>mvn:org.apache.commons/commons-lang3/3.1</bundle>
    <bundle>mvn:org.apache.commons/commons-math3/3.4.1</bundle>
    <bundle>mvn:commons-io/commons-io/2.4</bundle>
    <bundle>mvn:com.google.guava/guava/19.0.0.jbossorg-2</bundle>
    <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.reflections/0.9.10_2</bundle>
  </feature>

  <feature name="droolsjbpm-hibernate" version="4.2.21.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 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.2-GA</bundle>
    <bundle dependency="true">mvn:org.jboss.spec.javax.security.jacc/jboss-jacc-api_1.5_spec/1.0.0.Final</bundle>
    <bundle dependency="true">wrap:mvn:org.jboss/jandex/1.1.0.Final</bundle>
    <bundle dependency="true">mvn:javax.validation/validation-api/1.1.0.Final</bundle>
    <bundle dependency="true">mvn:org.jboss.logging/jboss-logging/3.2.1.Final</bundle>
    <bundle dependency="true">mvn:org.hibernate.common/hibernate-commons-annotations/4.0.2.Final</bundle>
    <bundle start-level="100">wrap:mvn:org.hibernate/hibernate-core/4.2.21.Final$overwrite=merge&amp;Import-Package=org.jbpm.services.task*,*</bundle>
    <bundle start-level="100">wrap:mvn:org.hibernate/hibernate-entitymanager/4.2.21.Final$overwrite=merge&amp;DynamicImport-Package=*</bundle>
    <bundle start-level="100">mvn:org.hibernate/hibernate-osgi/4.2.21.Final</bundle>
    <bundle start-level="100">mvn:org.apache.logging.log4j/log4j-api/2.5</bundle>
  </feature>

  <feature name="hibernate-validator" version="4.3.2.Final" description="Hibernate Validator">
    <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.2.1.Final</bundle>
    <bundle>mvn:org.hibernate/hibernate-validator/4.3.2.Final</bundle>
    <bundle>mvn:org.apache.logging.log4j/log4j-api/2.5</bundle>
  </feature>

  <feature name="jbpm-spring-persistent" version="7.0.0.Beta1" description="jBPM Spring Persistence support">
    <feature version="7.0.0.Beta1">jbpm</feature>
    <feature>spring-dm</feature>
    <feature version="7.0.0.Beta1">kie-spring</feature>
    <feature>droolsjbpm-hibernate</feature>
    <feature version="1.4.178">h2</feature>
  </feature>

  <feature name="h2" version="1.4.178" description="H2 database">
    <bundle>mvn:com.h2database/h2/1.4.178</bundle>
    <bundle start-level="100">mvn:commons-dbcp/commons-dbcp/1.4</bundle>
    <bundle start-level="100">mvn:commons-pool/commons-pool/1.6</bundle>
  </feature>

  <feature name="kie-server-client" version="7.0.0.Beta1" description="KIE Server Client">
    <feature version="7.0.0.Beta1">drools-module</feature>
    <feature version="7.0.0.Beta1">optaplanner-engine</feature>
    <bundle>mvn:org.kie.server/kie-server-api/7.0.0.Beta1</bundle>
    <bundle>mvn:org.kie.remote/kie-remote-common/7.0.0.Beta1</bundle>
    <bundle>mvn:org.kie.server/kie-server-client/7.0.0.Beta1</bundle>
    <bundle>wrap:mvn:org.jboss.spec.javax.ws.rs/jboss-jaxrs-api_2.0_spec/1.0.0.Final</bundle>
    <bundle>mvn:org.apache.commons/commons-lang3/3.1</bundle>
    <bundle>mvn:org.codehaus.jackson/jackson-core-asl/1.9.13</bundle>
    <bundle>mvn:org.codehaus.jackson/jackson-xc/1.9.13</bundle>
    <bundle>mvn:org.codehaus.jackson/jackson-mapper-asl/1.9.13</bundle>
    <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
    <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
    <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xpp3/1.1.4c_7</bundle>
  </feature>

  <feature name="kie-remote-client" version="7.0.0.Beta1" description="KIE Remote Client">
    <feature version="7.0.0.Beta1">drools-module</feature>
    <feature version="7.0.0.Beta1">optaplanner-engine</feature>
    <bundle>mvn:org.kie.remote/kie-remote-client/7.0.0.Beta1</bundle>
    <bundle>mvn:org.kie.remote/kie-remote-common/7.0.0.Beta1</bundle>
    <bundle>wrap:mvn:org.kie.remote.ws/kie-remote-ws-common/7.0.0.Beta1</bundle>
    <bundle>wrap:mvn:org.kie.remote/kie-remote-jaxb/7.0.0.Beta1</bundle>
    <bundle>wrap:mvn:org.jboss.spec.javax.ws.rs/jboss-jaxrs-api_2.0_spec/1.0.0.Final</bundle>
    <bundle>wrap:mvn:org.jsoup/jsoup/1.8.3</bundle>
    <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
    <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
  </feature>

</features>
