<!--
  ~ 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="direct-memory-0.2" xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">

  <feature name='directmemory' description='Apache DirectMemory' version='0.2' resolver='(obr)'>
    <bundle dependency='true'>
      mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.guava/09_1
    </bundle>
    <bundle dependency='true'>
      mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ant/1.7.0_1
    </bundle>
    <bundle dependency='true'>
      mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.oro/2.0.8_5
    </bundle>
    <bundle dependency='true'>
      mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aspectj/1.6.8_2
    </bundle>
    <bundle dependency='true'>mvn:com.dyuproject.protostuff/protostuff-uberjar/1.0.7</bundle>
    <bundle>mvn:org.apache.directmemory/directmemory-cache/0.2</bundle>
  </feature>

  <feature name='directmemory-ehcache' description='Apache DirectMemory - EhCache' version='0.2'
           resolver='(obr)'>
    <feature version="0.2">directmemory</feature>
    <bundle dependency='true'>
      mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache/2.6.6_1
    </bundle>
    <bundle>mvn:org.apache.directmemory/directmemory-ehcache/0.2</bundle>
  </feature>

  <feature name='directmemory-solr' description='Apache DirectMemory - Solr' version='0.2'
           resolver='(obr)'>
    <feature version="0.2">directmemory</feature>
    <bundle dependency='true'>mvn:org.apache.httpcomponents/httpcore-osgi/4.1.2</bundle>
    <bundle dependency='true'>mvn:org.apache.httpcomponents/httpclient-osgi/4.1.2</bundle>
    <bundle dependency='true'>mvn:commons-codec/commons-codec/1.4</bundle>
    <bundle dependency='true'>
      mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient/3.1_7
    </bundle>
    <bundle dependency='true'>
      wrap:mvn:org.apache.solr/solr-core/3.6.2
    </bundle>
    <bundle dependency='true'>
      mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.solr-solrj/3.6.2_2
    </bundle>
    <bundle>mvn:org.apache.directmemory/directmemory-solr/0.2</bundle>
  </feature>

</features>

