<?xml version="1.0" ?>
<!--
  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.
-->

<bundles>
  <!-- ********************************************************************* 
    start level 10 TO 19 reserved for required libraries (internal and external) 
    ********************************************************************* -->

  <!-- Apache Tika -->
  <!-- Note: that Tika only inits the Parser correctly if the start level of
       tika-core is lower than tika-bundle
   -->  
  <startLevel level="16">
    <bundle> <!-- Apache Tika core (required by the LangId and TikaEngine) -->
        <groupId>org.apache.tika</groupId>
        <artifactId>tika-core</artifactId>
        <version>1.0</version>
    </bundle>
  </startLevel>
  <startLevel level="17">
    <bundle> <!-- Apache Tika bundle (required by the TikaEngine) -->
        <groupId>org.apache.tika</groupId>
        <artifactId>tika-bundle</artifactId>
        <version>1.0</version>
    </bundle>
  </startLevel>
  <!-- Stanbol Enhancer infrastructure and required libraries -->
  <startLevel level="20">
    <bundle>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.servicesapi</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
    <bundle>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.chainmanager</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
    <bundle>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.enginemanager</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
  </startLevel>
  <!-- EnhancementJobManager implementations -->
  <startLevel level="20">
    <bundle>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.eventjobmanager</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
    <bundle>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.weightedjobmanager</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
  </startLevel>
  <!-- Enhancement Chain implementations -->
  <startLevel level="20">
    <bundle>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.chain.allactive</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
    <bundle>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.chain.graph</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
    <bundle>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.chain.weighted</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
    <bundle>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.chain.list</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
  </startLevel>
  <!-- Web Fragment -->
  <startLevel level="21">
    <bundle>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.jersey</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
  </startLevel>

  <!-- Benchmarks for the Stanbol Enhancer -->
  <startLevel level="21">
    <bundle>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.benchmark</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
  </startLevel>

  <!-- Stanbol Enhancer plug-ins (the Enhancement Engines) -->
  <startLevel level="25">

    <!-- language identification -->

    <bundle> 
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.engines.langid</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>

    <!-- Content conversion (2 engines)-->

    <!-- Metaxa deactivated - STANBOL-510
    <bundle>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.engines.metaxa</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
    -->
    
    <bundle><!-- Apache Tika Engine -->
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.engines.tika</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>

    <!-- Named Entity Recoqunition (NER)-->

    <bundle> <!-- Open NLP based NER -->
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.engines.opennlp.ner</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
    <!-- Entity Extraction/Linking -->
    <bundle><!-- NER linking (depends on the Entityhub) -->
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.engine.entitytagging</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
    <bundle><!-- Keyword Extraction from Text (depends on the Entityhub) -->
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.engine.keywordextraction</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>

    <!-- Refactor Enhancement Engine -->

    <bundle>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.engines.refactor</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>

    <!-- External Service Integration -->

    <bundle> <!-- http://www.opencalais.com/ -->
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.engines.opencalais</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
    <bundle> <!-- http://www.zemanta.com/ -->
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.engines.zemanta</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
    <bundle> <!-- http://www.geonames.org/ -->
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.engines.geonames</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
  </startLevel>
  
  <!-- Default Configuration for the Stanbol Enhancer -->
  
  <startLevel level="26">
    <bundle>
      <groupId>org.apache.stanbol</groupId>
      <artifactId>org.apache.stanbol.enhancer.defaults</artifactId>
      <version>0.9.0-incubating</version>
    </bundle>
  </startLevel>
</bundles>
