<?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="org.ops4j.pax.cdi-1.0.0.RC1-redhat-001" xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">

    <feature name="pax-cdi" description="Provide CDI support" version="1.0.0.RC1-redhat-001"
        resolver="(obr)">
        <feature>scr</feature>
        <bundle dependency="true">mvn:javax.interceptor/javax.interceptor-api/1.2</bundle>
        <bundle dependency="true">mvn:javax.annotation/javax.annotation-api/1.2</bundle>
        <bundle dependency="true">mvn:javax.enterprise/cdi-api/1.2</bundle>
        <bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec/1.0</bundle>
        <bundle dependency="true">mvn:javax.el/javax.el-api/2.2.5</bundle>
        <bundle dependency="true">mvn:org.ops4j.pax.swissbox/pax-swissbox-tracker/1.8.2</bundle>
        <bundle dependency="true">mvn:org.ops4j.pax.swissbox/pax-swissbox-lifecycle/1.8.2</bundle>
        <bundle dependency="true">mvn:org.ops4j.pax.swissbox/pax-swissbox-extender/1.8.2</bundle>
        <bundle dependency="true">mvn:org.ops4j.pax.swissbox/pax-swissbox-core/1.8.2</bundle>
        <bundle dependency="true">mvn:org.ops4j.base/ops4j-base/1.5.0</bundle>
        <bundle dependency="true">mvn:org.apache.xbean/xbean-bundleutils/3.18</bundle>
        <!-- ENTESB-7007: artificial bundle providing required capability -->
        <bundle>mvn:org.apache.karaf.assemblies.features/pax-cdi-features/2.4.0.redhat-630343-10</bundle>
        <bundle>mvn:org.ops4j.pax.cdi/pax-cdi-api/1.0.0.RC1</bundle>
        <bundle>mvn:org.ops4j.pax.cdi/pax-cdi-spi/1.0.0.RC1</bundle>
        <bundle>mvn:org.ops4j.pax.cdi/pax-cdi-extension/1.0.0.RC1</bundle>
        <bundle>mvn:org.ops4j.pax.cdi/pax-cdi-extender/1.0.0.RC1</bundle>
    </feature>

    <feature name="pax-cdi-weld" description="Weld CDI 1.2 support" version="1.0.0.RC1-redhat-001"
        resolver="(obr)">
        <feature version="1.0.0.RC1-redhat-001">pax-cdi</feature>
        <bundle>mvn:org.jboss.weld/weld-osgi-bundle/2.3.2.Final</bundle>
        <bundle dependency="true">mvn:org.jboss.classfilewriter/jboss-classfilewriter/1.1.2.Final</bundle>
        <bundle dependency="true">mvn:org.jboss.logging/jboss-logging/3.3.0.Final-redhat-1</bundle>
        <bundle>mvn:com.google.guava/guava/18.0.0.redhat-1</bundle>
        <bundle>mvn:org.ops4j.pax.cdi/pax-cdi-weld/1.0.0.RC1</bundle>
    </feature>

    <feature name="pax-cdi-web" description="Web CDI support" version="1.0.0.RC1-redhat-001"
        resolver="(obr)">
        <feature version="1.0.0.RC1-redhat-001">pax-cdi</feature>
        <feature>war</feature>
        <bundle dependency="true">mvn:javax.servlet/javax.servlet-api/3.1.0.redhat-1</bundle>
        <bundle>mvn:org.ops4j.pax.cdi/pax-cdi-web/1.0.0.RC1</bundle>
    </feature>

    <feature name="pax-cdi-web-weld" description="Weld Web CDI support" version="1.0.0.RC1-redhat-001"
        resolver="(obr)">
        <feature version="1.0.0.RC1-redhat-001">pax-cdi-web</feature>
        <feature version="1.0.0.RC1-redhat-001">pax-cdi-weld</feature>
        <bundle>mvn:org.ops4j.pax.cdi/pax-cdi-web-weld/1.0.0.RC1</bundle>
    </feature>

    <feature name="deltaspike-core" description="Apache Deltaspike core support" version="1.5.1"
        resolver="(obr)">
        <feature version="1.0.0.RC1-redhat-001">pax-cdi</feature>
        <bundle>mvn:org.apache.deltaspike.core/deltaspike-core-api/1.5.1</bundle>
        <bundle>mvn:org.apache.deltaspike.core/deltaspike-core-impl/1.5.1</bundle>
    </feature>

    <feature name="deltaspike-jpa" description="Apache Deltaspike jpa support" version="1.5.1"
        resolver="(obr)">
        <feature version="1.5.1">deltaspike-core</feature>
        <bundle dependency="true">mvn:org.ops4j.base/ops4j-base/1.5.0</bundle>
        <bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
        <bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec/1.1</bundle>
        <bundle dependency="true">mvn:org.osgi/org.osgi.enterprise/4.2.0</bundle>
        <bundle dependency="true">mvn:org.ops4j.pax.jpa/pax-jpa/0.3.0</bundle>
        <bundle dependency="true">mvn:org.ops4j.pax.jdbc/pax-jdbc/0.3.0</bundle>
        <bundle>mvn:org.apache.deltaspike.modules/deltaspike-jpa-module-api/1.5.1</bundle>
        <bundle>mvn:org.apache.deltaspike.modules/deltaspike-jpa-module-impl/1.5.1</bundle>
        <!-- PAXCDI-136 -->
        <!--<bundle>mvn:org.ops4j.pax.cdi.fragment/pax-cdi-fragment-ds-jpa/1.0.0.RC1</bundle>-->
    </feature>

    <feature name="deltaspike-partial-bean" description="Apache Deltaspike partial bean support" version="1.5.1"
             resolver="(obr)">
        <feature version="1.5.1">deltaspike-core</feature>
        <bundle>mvn:org.apache.deltaspike.modules/deltaspike-partial-bean-module-api/1.5.1</bundle>
        <bundle>mvn:org.apache.deltaspike.modules/deltaspike-partial-bean-module-impl/1.5.1</bundle>
        <bundle>mvn:org.apache.deltaspike.modules/deltaspike-proxy-module-api/1.5.1</bundle>
    </feature>

    <feature name="deltaspike-data" description="Apache Deltaspike data support" version="1.5.1"
             resolver="(obr)">
        <feature version="1.5.1">deltaspike-jpa</feature>
        <feature version="1.5.1">deltaspike-partial-bean</feature>
        <bundle>mvn:org.apache.deltaspike.modules/deltaspike-data-module-api/1.5.1</bundle>
        <bundle>mvn:org.apache.deltaspike.modules/deltaspike-data-module-impl/1.5.1</bundle>
    </feature>

</features>
