Author: rwesten
Date: Mon Jun 27 09:40:18 2011
New Revision: 1140079

URL: http://svn.apache.org/viewvc?rev=1140079&view=rev
Log:
### Full/Stateless Launchers

I tried to sort the bundle list.xml for the launchers.

Startlevels

* 0-9 are now reserved for the framwork (OSGI and Sling)
* 10-19 are for utilities, jersey, clerezza, stanbol common ...
* 20-24 are used by the stanbol components (enhancer, entityhub, contenthub, 
factstore ...
* 25-29 for plugins provided with the launcher (e.g. Enhancement Engines)

I also updated the Felix and Sling bundles to the newest versions

The stateless launchers now includes all the Stanbol Commons Bundles

Added the Zemanta Engine to the full launcher (STANBOL-239)

### OpenNLP

renamed all "build**" methods to "get**" to make more clear that the model is 
only build once and than the same instance is returned for any later call.

Modified:
    
incubator/stanbol/trunk/commons/opennlp/src/main/java/org/apache/stanbol/commons/opennlp/OpenNLP.java
    
incubator/stanbol/trunk/enhancer/engines/opennlp-ner/src/main/java/org/apache/stanbol/enhancer/engines/opennlp/impl/NEREngineCore.java
    incubator/stanbol/trunk/launchers/full/src/main/bundles/list.xml
    incubator/stanbol/trunk/launchers/stateless/src/main/bundles/list.xml

Modified: 
incubator/stanbol/trunk/commons/opennlp/src/main/java/org/apache/stanbol/commons/opennlp/OpenNLP.java
URL: 
http://svn.apache.org/viewvc/incubator/stanbol/trunk/commons/opennlp/src/main/java/org/apache/stanbol/commons/opennlp/OpenNLP.java?rev=1140079&r1=1140078&r2=1140079&view=diff
==============================================================================
--- 
incubator/stanbol/trunk/commons/opennlp/src/main/java/org/apache/stanbol/commons/opennlp/OpenNLP.java
 (original)
+++ 
incubator/stanbol/trunk/commons/opennlp/src/main/java/org/apache/stanbol/commons/opennlp/OpenNLP.java
 Mon Jun 27 09:40:18 2011
@@ -48,6 +48,10 @@ import org.slf4j.LoggerFactory;
 @Component(immediate=true)
 @Service(value=OpenNLP.class)
 public class OpenNLP {
+    /**
+     * added as link to the download location for requested model files
+     * Will show up in the DataFilePorivder tab in the Apache Felix Web Console
+     */
     private static final String DOWNLOAD_ROOT = 
"http://opennlp.sourceforge.net/models-1.5/";;
 
     /**
@@ -62,18 +66,6 @@ public class OpenNLP {
      * TODO: change to use a WeakReferenceMap
      */
     protected Map<String,Object> models = new HashMap<String,Object>();
-//    /**
-//     * Holds a map of {@link #registerModelLocation(BundleContext, 
String...) registered}
-//     * model location. The bundle symbolic name is used as key to avoid a 
hard 
-//     * reference to the parsed {@link BundleContext}.
-//     */
-//    protected Map<String,ModelLocation> modelLocations = new 
HashMap<String,ModelLocation>();
-
-//    private static class ModelLocation {
-//        BundleContext bundleContext;
-//        String[] paths;
-//        BundleResourceProvider provider;
-//    }
     
     /**
      * Default constructor
@@ -91,43 +83,49 @@ public class OpenNLP {
         this.dataFileProvider = dataFileProvider;
     }
     /**
-     * Builds a a model for the tokenizing sentenced in a text with the given
-     * language 
+     * Getter for the sentence detection model of the parsed language. 
+     * If the model is not yet available a new one is built. The required data
+     * are loaded by using the {@link DataFileProvider} service.  
      * @param language the language
      * @return the model or <code>null</code> if no model data are found
      * @throws InvalidFormatException in case the found model data are in the 
wrong format
      * @throws IOException on any error while reading the model data
      */
-    public SentenceModel buildSentenceModel(String language) throws 
InvalidFormatException, IOException {
+    public SentenceModel getSentenceModel(String language) throws 
InvalidFormatException, IOException {
         return initModel(String.format("%s-sent.bin", language),
             SentenceModel.class);
     }
     /**
-     * Build a named entity finder model for the parsed entity type and 
language
+     * Getter for the named entity finder model for the parsed entity type and 
language.
+     * If the model is not yet available a new one is built. The required data
+     * are loaded by using the {@link DataFileProvider} service.  
      * @param type the type of the named entities to find (person, 
organization)
      * @param language the language
      * @return the model or <code>null</code> if no model data are found
      * @throws InvalidFormatException in case the found model data are in the 
wrong format
      * @throws IOException on any error while reading the model data
      */
-    public TokenNameFinderModel buildNameModel(String type, String language) 
throws InvalidFormatException, IOException {
+    public TokenNameFinderModel getNameModel(String type, String language) 
throws InvalidFormatException, IOException {
         return initModel(String.format("%s-ner-%s.bin", language, type),
             TokenNameFinderModel.class);
     }
     /**
-     * Builds a tokenizer model for the parsed language
+     * Getter for the tokenizer model for the parsed language.
+     * If the model is not yet available a new one is built. The required data
+     * are loaded by using the {@link DataFileProvider} service.  
      * @param language the language
      * @return the model or <code>null</code> if no model data are found
      * @throws InvalidFormatException in case the found model data are in the 
wrong format
      * @throws IOException on any error while reading the model data
      */
-    public TokenizerModel buildTokenizerModel(String language) throws 
InvalidFormatException, IOException {
+    public TokenizerModel getTokenizerModel(String language) throws 
InvalidFormatException, IOException {
         return initModel(String.format("%s-token.bin", 
language),TokenizerModel.class);
     }
     /**
-     * Tries to built a {@link TokenizerModel} for the parsed language. If this
-     * succeeds a {@link TokenizerME} instance is returned. If no model can be
-     * loaded the {@link SimpleTokenizer} instance is returned.
+     * Getter for the Tokenizer of a given language. This first tries to
+     * create an {@link TokenizerME} instance if the required 
+     * {@link TokenizerModel} for the parsed language is available. if such a
+     * model is not available it returns the {@link SimpleTokenizer} instance.
      * @param language the language or <code>null</code> to build a 
      * {@link SimpleTokenizer}
      * @return the {@link Tokenizer} for the parsed language.
@@ -136,7 +134,7 @@ public class OpenNLP {
         Tokenizer tokenizer = null;
         if(language != null){
             try {
-                tokenizer = new TokenizerME(buildTokenizerModel(language));
+                tokenizer = new TokenizerME(getTokenizerModel(language));
             } catch (InvalidFormatException e) {
                 log.warn("Unable to load Tokenizer Model for "+language+": " +
                                "Will use Simple Tokenizer instead",e);
@@ -154,13 +152,15 @@ public class OpenNLP {
         return tokenizer;
     }
     /**
-     * Builds a "part-of-speach" model for the parsed language
+     * Getter for the "part-of-speach" model for the parsed language.
+     * If the model is not yet available a new one is built. The required data
+     * are loaded by using the {@link DataFileProvider} service.  
      * @param language the language
      * @return the model or <code>null</code> if no model data are found
      * @throws InvalidFormatException in case the found model data are in the 
wrong format
      * @throws IOException on any error while reading the model data
      */
-    public POSModel builtPartOfSpeachModel(String language) throws 
IOException, InvalidFormatException {
+    public POSModel getPartOfSpeachModel(String language) throws IOException, 
InvalidFormatException {
         //typically there are two versions
         //we prefer the perceptron variant but if not available try to build 
the other
         IOException first = null;
@@ -188,13 +188,15 @@ public class OpenNLP {
         return model;
     }
     /**
-     * builds a chunker model for the parsed model
+     * Getter for the chunker model for the parsed language.
+     * If the model is not yet available a new one is built. The required data
+     * are loaded by using the {@link DataFileProvider} service.  
      * @param language the language
      * @return the model or <code>null</code> if no model data are present
      * @throws InvalidFormatException in case the found model data are in the 
wrong format
      * @throws IOException on any error while reading the model data
      */
-    public ChunkerModel builtChunkerModel(String language) throws 
InvalidFormatException, IOException {
+    public ChunkerModel getChunkerModel(String language) throws 
InvalidFormatException, IOException {
         return initModel(String.format("%s-chunker.bin", language), 
ChunkerModel.class);
     }
     

Modified: 
incubator/stanbol/trunk/enhancer/engines/opennlp-ner/src/main/java/org/apache/stanbol/enhancer/engines/opennlp/impl/NEREngineCore.java
URL: 
http://svn.apache.org/viewvc/incubator/stanbol/trunk/enhancer/engines/opennlp-ner/src/main/java/org/apache/stanbol/enhancer/engines/opennlp/impl/NEREngineCore.java?rev=1140079&r1=1140078&r2=1140079&view=diff
==============================================================================
--- 
incubator/stanbol/trunk/enhancer/engines/opennlp-ner/src/main/java/org/apache/stanbol/enhancer/engines/opennlp/impl/NEREngineCore.java
 (original)
+++ 
incubator/stanbol/trunk/enhancer/engines/opennlp-ner/src/main/java/org/apache/stanbol/enhancer/engines/opennlp/impl/NEREngineCore.java
 Mon Jun 27 09:40:18 2011
@@ -105,7 +105,7 @@ public class NEREngineCore implements En
 
     protected TokenNameFinderModel buildNameModel(String name, UriRef typeUri) 
throws IOException {
         //String modelRelativePath = String.format("en-ner-%s.bin", name);
-        TokenNameFinderModel model = openNLP.buildNameModel(name, "en");
+        TokenNameFinderModel model = openNLP.getNameModel(name, "en");
         // register the name finder instances for matching owl class
 //        entityTypes.put(name, new Object[] {typeUri, model});
         return model;
@@ -113,7 +113,7 @@ public class NEREngineCore implements En
 
     public void computeEnhancements(ContentItem ci) throws EngineException {
         String mimeType = ci.getMimeType().split(";", 2)[0];
-        String text = "";
+        String text;
         if (TEXT_PLAIN_MIMETYPE.equals(mimeType)) {
             try {
                 text = IOUtils.toString(ci.getStream(),"UTF-8");
@@ -121,10 +121,14 @@ public class NEREngineCore implements En
                 throw new InvalidContentException(this, ci, e);
             }
         } else {
+            //TODO: change that as soon the Adapter Pattern is used for 
multiple
+            // mimetype support.
+            StringBuilder textBuilder = new StringBuilder();
             Iterator<Triple> it = ci.getMetadata().filter(new 
UriRef(ci.getId()), NIE_PLAINTEXTCONTENT, null);
             while (it.hasNext()) {
-                text += it.next().getObject();
+                textBuilder.append(it.next().getObject());
             }
+            text = textBuilder.toString();
         }
         if (text.trim().length() == 0) {
             // TODO: make the length of the data a field of the ContentItem
@@ -139,7 +143,7 @@ public class NEREngineCore implements En
             for (Map.Entry<String,UriRef> type : entityTypes.entrySet()) {
                 String typeLabel = type.getKey();
                 UriRef typeUri = type.getValue();
-                TokenNameFinderModel nameFinderModel = 
openNLP.buildNameModel(typeLabel, "en");
+                TokenNameFinderModel nameFinderModel = 
openNLP.getNameModel(typeLabel, "en");
                 findNamedEntities(ci, text, typeUri, typeLabel, 
nameFinderModel);
             }
         } catch (Exception e) {
@@ -257,7 +261,7 @@ public class NEREngineCore implements En
      */
     private TokenNameFinderModel getNameModel(String type,String language) {
         try {
-            TokenNameFinderModel model = openNLP.buildNameModel(type, 
language);
+            TokenNameFinderModel model = openNLP.getNameModel(type, language);
             if(model != null){
                 return model;
             } else {
@@ -278,7 +282,7 @@ public class NEREngineCore implements En
     }
     private SentenceModel getSentenceModel(String language) {
         try {
-            SentenceModel model = openNLP.buildSentenceModel(language);
+            SentenceModel model = openNLP.getSentenceModel(language);
             if(model != null){
                 return model;
             } else {

Modified: incubator/stanbol/trunk/launchers/full/src/main/bundles/list.xml
URL: 
http://svn.apache.org/viewvc/incubator/stanbol/trunk/launchers/full/src/main/bundles/list.xml?rev=1140079&r1=1140078&r2=1140079&view=diff
==============================================================================
--- incubator/stanbol/trunk/launchers/full/src/main/bundles/list.xml (original)
+++ incubator/stanbol/trunk/launchers/full/src/main/bundles/list.xml Mon Jun 27 
09:40:18 2011
@@ -3,7 +3,10 @@
                List of initial bundles for the Stanbol Sling-based standalone 
launcher.
        -->
 <bundles>
-
+  
+  <!-- *********************************************************************
+          start level < 10 reserved for OSGI and Sling Infrastructure
+       ********************************************************************* 
-->
   <!-- OSGi infrastructure -->
   <startLevel level="5">
     <bundle>
@@ -19,7 +22,7 @@
     <bundle>
       <groupId>org.apache.felix</groupId>
       <artifactId>org.osgi.core</artifactId>
-      <version>1.2.0</version>
+      <version>1.4.0</version>
     </bundle>
     <bundle>
       <groupId>org.apache.felix</groupId>
@@ -29,7 +32,7 @@
     <bundle>
       <groupId>org.apache.felix</groupId>
       <artifactId>org.apache.felix.configadmin</artifactId>
-      <version>1.2.4</version>
+      <version>1.2.8</version>
     </bundle>
     <bundle>
       <groupId>org.apache.felix</groupId>
@@ -43,30 +46,17 @@
     <bundle>
       <groupId>org.apache.felix</groupId>
       <artifactId>org.apache.felix.http.whiteboard</artifactId>
-      <version>2.0.4</version>
+      <version>2.2.0</version>
     </bundle>
     <bundle>
-      <groupId>org.osgi</groupId>
+      <groupId>org.apache.felix</groupId>
       <artifactId>org.osgi.compendium</artifactId>
-      <version>4.1.0</version>
+      <version>1.4.0</version>
     </bundle>
   </startLevel>
   
-  <!-- JAX-RS -->
-  <startLevel level="5">
-    <!--
-      WARNING: jersey-core bug, must start before jersey-server to avoid 
jersey spi class not found errors.
-      Restart jersey-server manually if getting those.
-    -->
-    <bundle>
-      <groupId>com.sun.jersey</groupId>
-      <artifactId>jersey-core</artifactId>
-      <version>1.7</version>
-    </bundle>
-  </startLevel>  
-  
   <!-- Sling installer and Stanbol extensions -->
-  <startLevel level="9">
+  <startLevel level="8">
     <bundle>
       <groupId>org.apache.sling</groupId>
       <artifactId>org.apache.sling.installer.core</artifactId>
@@ -87,22 +77,21 @@
   </startLevel>
 
   <!-- Felix web console and plugins -->
-  <startLevel level="10">
+  <startLevel level="9">
     <bundle>
       <groupId>org.apache.felix</groupId>
       <artifactId>org.apache.felix.webconsole</artifactId>
-      <version>3.1.2</version>
+      <version>3.1.8</version>
     </bundle>
     <bundle>
       <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.webconsole.plugins.memoryusage
-                       </artifactId>
+      <artifactId>org.apache.felix.webconsole.plugins.memoryusage</artifactId>
       <version>1.0.2</version>
     </bundle>
   </startLevel>
 
   <!-- Sling launchpad -->
-  <startLevel level="10">
+  <startLevel level="9">
     <bundle>
       <groupId>org.apache.sling</groupId>
       <artifactId>org.apache.sling.launchpad.installer</artifactId>
@@ -115,6 +104,10 @@
     </bundle>
   </startLevel>
 
+  <!-- *********************************************************************
+          start level 10 TO 19 reserved for required libraries
+          (internal and external)
+       ********************************************************************* 
-->
   <!-- General-purpose libraries -->
   <startLevel level="10">
     <bundle>
@@ -165,30 +158,38 @@
       <artifactId>commons-fileupload</artifactId>
       <version>1.2.2</version>
     </bundle>
-    <bundle>
+    <bundle> <!-- only used by the Entityhub -->
       <groupId>joda-time</groupId>
       <artifactId>joda-time</artifactId>
       <version>1.6.2</version>
     </bundle>
-    <bundle>
+    <bundle> <!-- only used by the Contenthub -->
       <groupId>eu.medsea.mimeutil</groupId>
       <artifactId>mime-util</artifactId>
       <version>2.1.3</version>
     </bundle>
+    <bundle> <!-- only used by the Factstore -->
+      <groupId>org.apache.derby</groupId>
+      <artifactId>derby</artifactId>
+      <version>10.7.1.1</version>
+    </bundle>
   </startLevel>
 
   <!-- Jersey -->
-  <startLevel level="15">
+  <startLevel level="14">
     <!--
-      is now included and exported by jersey-core
-      <bundle>
-        <groupId>javax.ws.rs</groupId>
-        <artifactId>jsr311-api</artifactId>
-        <version>1.1.1</version>
-      </bundle>
+      NOTE: jersey-core bug, must start before jersey-server to avoid jersey 
+      spi class not found errors. Restart jersey-server manually if getting 
those.
     -->
     <bundle>
       <groupId>com.sun.jersey</groupId>
+      <artifactId>jersey-core</artifactId>
+      <version>1.7</version>
+    </bundle>
+  </startLevel>
+  <startLevel level="15">
+    <bundle>
+      <groupId>com.sun.jersey</groupId>
       <artifactId>jersey-server</artifactId>
       <version>1.7</version>
     </bundle>
@@ -204,100 +205,13 @@
       <artifactId>mimepull</artifactId>
       <version>1.4</version>
     </bundle>
-    <!--
-    <bundle>
-      <groupId>javax.mail</groupId>
-      <artifactId>mail</artifactId>
-      <version>1.4.1</version>
-    </bundle>
-    -->
-    <bundle>
+    <bundle> <!-- used also for all the other JSON parsing/writing in Stanbol 
-->
       <groupId>org.codehaus.jettison</groupId>
       <artifactId>jettison</artifactId>
       <version>1.3</version>
     </bundle>
   </startLevel>
-
-  <!-- Stanbol Enhancer infrastructure and required libraries-->
-  <startLevel level="15">
-    <bundle>
-      <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.enhancer.servicesapi</artifactId>
-      <version>0.9-SNAPSHOT</version>
-    </bundle>
-    <bundle>
-      <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.enhancer.standalone</artifactId>
-      <version>0.9-SNAPSHOT</version>
-    </bundle>
-    <bundle>
-      <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.enhancer.jobmanager</artifactId>
-      <version>0.9-SNAPSHOT</version>
-    </bundle>
-    <bundle>
-      <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.commons.stanboltools.offline</artifactId>
-      <version>0.9-SNAPSHOT</version>
-    </bundle>
-    <bundle>
-      <groupId>org.apache.stanbol</groupId>
-      
<artifactId>org.apache.stanbol.commons.stanboltools.datafileprovider</artifactId>
-      <version>0.9-SNAPSHOT</version>
-    </bundle>
-    <bundle>
-      <groupId>org.apache.stanbol</groupId>
-      
<artifactId>org.apache.stanbol.commons.stanboltools.datafileprovider.bundle</artifactId>
-      <version>0.9-SNAPSHOT</version>
-    </bundle>
-  </startLevel>
   
-  <!-- RICK infrastructure and required libraries-->
-  <startLevel level="15">
-    <bundle>
-      <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.entityhub.servicesapi</artifactId>
-      <version>0.9-SNAPSHOT</version>
-    </bundle>
-    <bundle>
-      <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.entityhub.model.clerezza</artifactId>
-      <version>0.9-SNAPSHOT</version>
-    </bundle>
-    <bundle>
-      <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.entityhub.query.clerezza</artifactId>
-      <version>0.9-SNAPSHOT</version>
-    </bundle>
-    <bundle>
-      <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.entityhub.site.linkeddata</artifactId>
-      <version>0.9-SNAPSHOT</version>
-    </bundle>
-    <bundle>
-      <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.entityhub.yard.clerezza</artifactId>
-      <version>0.9-SNAPSHOT</version>
-    </bundle>
-    <bundle>
-      <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.entityhub.yard.solr</artifactId>
-      <version>0.9-SNAPSHOT</version>
-    </bundle>
-  </startLevel>
-  <startLevel level="16">
-    <bundle>
-      <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.entityhub.core</artifactId>
-      <version>0.9-SNAPSHOT</version>
-    </bundle>
-    <bundle>
-      <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.entityhub.jersey</artifactId>
-      <version>0.9-SNAPSHOT</version>
-    </bundle>
-  </startLevel>  
-
   <!-- Clerezza storage and sparql infrastructure -->
   <startLevel level="16">
     <bundle>
@@ -394,27 +308,38 @@
     </bundle>
   </startLevel>
 
-  <!-- Clerezza SPARQL query engine -->
+  <!-- Stanbol Commons -->
   <startLevel level="17">
+    <!-- Allows to run Stanbol in offline mode -->
     <bundle>
       <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.enhancer.clerezza.sparql</artifactId>
+      <artifactId>org.apache.stanbol.commons.stanboltools.offline</artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
-  </startLevel>
-
-  <!-- Additional Clerezza serializers -->
-  <startLevel level="17">
+    <!-- DataFileProvider and implementations -->
     <bundle>
-      <groupId>org.apache.clerezza</groupId>
-      <artifactId>org.apache.clerezza.rdf.jena.serializer</artifactId>
-      <version>0.9-incubating-SNAPSHOT</version>
+      <groupId>org.apache.stanbol</groupId>
+      
<artifactId>org.apache.stanbol.commons.stanboltools.datafileprovider</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      
<artifactId>org.apache.stanbol.commons.stanboltools.datafileprovider.bundle</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <!-- OpenNLP as bundle + utilities -->
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.commons.opennlp</artifactId>
+      <version>0.9-SNAPSHOT</version>
     </bundle>
+    <!-- support for JSON-LD -->
     <bundle>
       <groupId>org.apache.stanbol</groupId>
       <artifactId>org.apache.stanbol.commons.jsonld</artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
+    <!-- The common web interface -->
     <bundle>
       <groupId>org.apache.stanbol</groupId>
       <artifactId>org.apache.stanbol.commons.web.base</artifactId>
@@ -432,119 +357,147 @@
     </bundle>
   </startLevel>
 
-  <!-- Stanbol Enhancer plug-ins -->
+  <!-- The default data expected by the default configuration of Stanbol -->
+  <startLevel level="19">
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.defaultdata</artifactId>
+      <version>0.0.2</version>
+    </bundle>
+  </startLevel>
+
+  <!-- *********************************************************************
+          start level 20 TO 24 reserved for Stanbol Framework
+          (Enhancer, Entityhub, Contenthub, Factstore ... incl. Web Fragments)
+       ********************************************************************* 
-->
+
+  <!-- Stanbol Enhancer infrastructure and required libraries-->
   <startLevel level="20">
     <bundle>
       <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.enhancer.jersey</artifactId>
+      <artifactId>org.apache.stanbol.enhancer.servicesapi</artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
     <bundle>
       <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.contenthub.web</artifactId>
+      <artifactId>org.apache.stanbol.enhancer.standalone</artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
     <bundle>
       <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.enhancer.engines.metaxa</artifactId>
+      <artifactId>org.apache.stanbol.enhancer.jobmanager</artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
+  </startLevel>
+  <!-- Clerezza based SPARQL query engine -->
+  <startLevel level="20">
     <bundle>
       <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.enhancer.benchmark</artifactId>
+      <artifactId>org.apache.stanbol.enhancer.clerezza.sparql</artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
   </startLevel>
 
-  <!-- Stanbol Enhancer Enhancement Engines -->
-  <startLevel level="25">
+  <!-- Stanbol Entityhub infrastructure and required libraries-->
+  <startLevel level="20">
     <bundle>
       <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.enhancer.engines.langid</artifactId>
+      <artifactId>org.apache.stanbol.entityhub.servicesapi</artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
     <bundle>
       <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.enhancer.engines.opencalais</artifactId>
+      <artifactId>org.apache.stanbol.entityhub.model.clerezza</artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
     <bundle>
       <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.enhancer.engines.autotagging</artifactId>
+      <artifactId>org.apache.stanbol.entityhub.query.clerezza</artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
     <bundle>
       <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.defaultdata</artifactId>
-      <version>0.0.2</version>
+      <artifactId>org.apache.stanbol.entityhub.site.linkeddata</artifactId>
+      <version>0.9-SNAPSHOT</version>
     </bundle>
     <bundle>
       <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.enhancer.engines.opennlp.ner</artifactId>
+      <artifactId>org.apache.stanbol.entityhub.yard.clerezza</artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
     <bundle>
       <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.commons.opennlp</artifactId>
+      <artifactId>org.apache.stanbol.entityhub.yard.solr</artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
-    <!--
-      The geonames.org LocationEnhancement Engines needs two additional 
bundles 1) jettyjson 2) commons-io.
-      Both of them are already present in the bundle list.
-    -->
+<!--   </startLevel>
+  <startLevel level="21">  -->
     <bundle>
       <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.enhancer.engines.geonames</artifactId>
+      <artifactId>org.apache.stanbol.entityhub.core</artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
-    <!-- Entity Tagging Engine based on RICK -->
+  </startLevel>  
+  <!-- FactStore -->
+  <startLevel level="20">
     <bundle>
       <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.enhancer.engine.entitytagging</artifactId>
+      <artifactId>org.apache.stanbol.factstore</artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
   </startLevel>
 
-  <!-- FactStore -->
-  <startLevel level="25">
+  <!-- Stanbol Web Fragments -->
+  <startLevel level="21">
     <bundle>
-      <groupId>org.apache.derby</groupId>
-      <artifactId>derby</artifactId>
-      <version>10.7.1.1</version>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.enhancer.jersey</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.contenthub.web</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.entityhub.jersey</artifactId>
+      <version>0.9-SNAPSHOT</version>
     </bundle>
   </startLevel>
-  <startLevel level="26">
+  <!-- Benchmarks for the Stanbol Enhancer -->
+  <startLevel level="21">
     <bundle>
       <groupId>org.apache.stanbol</groupId>
-      <artifactId>org.apache.stanbol.factstore</artifactId>
+      <artifactId>org.apache.stanbol.enhancer.benchmark</artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
   </startLevel>
-
+  
   <!-- Persistence Store Bundles
-  <startLevel level="25">
+  <startLevel level="22">
     <bundle>
       <groupId>org.apache.stanbol</groupId>
       <artifactId>org.apache.stanbol.enhancer.stores.persistencestore
-                       </artifactId>
+            </artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
     <bundle>
       <groupId>org.apache.stanbol</groupId>
       <artifactId>org.apache.stanbol.enhancer.stores.persistencestore.jena
-                       </artifactId>
+            </artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
     <bundle>
       <groupId>org.apache.stanbol</groupId>
       <artifactId>org.apache.stanbol.enhancer.stores.persistencestore.jena.tdb
-                       </artifactId>
+            </artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
     <bundle>
       <groupId>org.apache.stanbol</groupId>
       <artifactId>org.apache.stanbol.enhancer.stores.persistencestore.adapter
-                       </artifactId>
+            </artifactId>
       <version>0.9-SNAPSHOT</version>
     </bundle>
     <bundle>
@@ -559,5 +512,63 @@
     </bundle>
   </startLevel>
   -->
+ 
+  <!-- *********************************************************************
+          start level 25 TO 29 reserved for Stanbol plug-ins
+          (currently the Enhancement Engines)
+       ********************************************************************* 
-->
+  
+  <!-- Stanbol Enhancer plug-ins (the Enhancement Engines) -->
+  <startLevel level="25">
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.enhancer.engines.langid</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.enhancer.engines.metaxa</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.enhancer.engines.opencalais</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.enhancer.engines.autotagging</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.enhancer.engines.zemanta</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.enhancer.engines.opennlp.ner</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <!--
+      The geonames.org LocationEnhancement Engines needs two additional 
bundles 1) jettyjson 2) commons-io.
+      Both of them are already present in the bundle list.
+    -->
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.enhancer.engines.geonames</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <!-- Entity Tagging Engine (depends on the Entityhub) -->
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.enhancer.engine.entitytagging</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+  </startLevel>
+
+  <!-- *********************************************************************
+          start level >= 30 are unused
+       ********************************************************************* 
-->
   
 </bundles>

Modified: incubator/stanbol/trunk/launchers/stateless/src/main/bundles/list.xml
URL: 
http://svn.apache.org/viewvc/incubator/stanbol/trunk/launchers/stateless/src/main/bundles/list.xml?rev=1140079&r1=1140078&r2=1140079&view=diff
==============================================================================
--- incubator/stanbol/trunk/launchers/stateless/src/main/bundles/list.xml 
(original)
+++ incubator/stanbol/trunk/launchers/stateless/src/main/bundles/list.xml Mon 
Jun 27 09:40:18 2011
@@ -4,66 +4,111 @@
        -->
 <bundles>
 
-       <!-- OSGi infrastructure -->
-       <startLevel level="5">
-               <bundle>
-                       <groupId>org.apache.stanbol</groupId>
-                       
<artifactId>org.apache.stanbol.frameworkfragment</artifactId>
-                       <version>0.9.0-SNAPSHOT</version>
-               </bundle>
-               <bundle>
-                       <groupId>org.apache.sling</groupId>
-                       <artifactId>org.apache.sling.commons.log</artifactId>
-                       <version>2.0.6</version>
-               </bundle>
-               <bundle>
-                       <groupId>org.apache.felix</groupId>
-                       <artifactId>org.osgi.core</artifactId>
-                       <version>1.2.0</version>
-               </bundle>
-               <bundle>
-                       <groupId>org.apache.felix</groupId>
-                       <artifactId>org.apache.felix.scr</artifactId>
-                       <version>1.6.0</version>
-               </bundle>
-               <bundle>
-                       <groupId>org.apache.felix</groupId>
-                       <artifactId>org.apache.felix.configadmin</artifactId>
-                       <version>1.2.4</version>
-               </bundle>
-               <bundle>
-                       <groupId>org.apache.felix</groupId>
-                       <artifactId>org.apache.felix.metatype</artifactId>
-                       <version>1.0.4</version>
-               </bundle>
-               <!-- HTTP service -->
-               <bundle>
-                       <groupId>org.apache.felix</groupId>
-                       
<artifactId>org.apache.felix.http.whiteboard</artifactId>
-                       <version>2.0.4</version>
-               </bundle>
-               <bundle>
-                       <groupId>org.osgi</groupId>
-                       <artifactId>org.osgi.compendium</artifactId>
-                       <version>4.1.0</version>
-               </bundle>
-       </startLevel>
+  <!-- *********************************************************************
+          start level < 10 reserved for OSGI and Sling Infrastructure
+       ********************************************************************* 
-->
+  <!-- OSGi infrastructure -->
+  <startLevel level="5">
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.frameworkfragment</artifactId>
+      <version>0.9.0-SNAPSHOT</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.sling</groupId>
+      <artifactId>org.apache.sling.commons.log</artifactId>
+      <version>2.1.2</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.osgi.core</artifactId>
+      <version>1.4.0</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.scr</artifactId>
+      <version>1.6.0</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.configadmin</artifactId>
+      <version>1.2.8</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.metatype</artifactId>
+      <version>1.0.4</version>
+    </bundle>
+  </startLevel>
 
-       <!-- Felix web console and plugins -->
-       <startLevel level="10">
-               <bundle>
-                       <groupId>org.apache.felix</groupId>
-                       <artifactId>org.apache.felix.webconsole</artifactId>
-                       <version>3.1.2</version>
-               </bundle>
-               <bundle>
-                       <groupId>org.apache.felix</groupId>
-                       
<artifactId>org.apache.felix.webconsole.plugins.memoryusage
-                       </artifactId>
-                       <version>1.0.2</version>
-               </bundle>
-       </startLevel>
+  <!-- HTTP service -->
+  <startLevel level="5">
+    <bundle>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.http.whiteboard</artifactId>
+      <version>2.2.0</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.osgi.compendium</artifactId>
+      <version>1.4.0</version>
+    </bundle>
+  </startLevel>
+    
+  <!-- Sling installer and Stanbol extensions -->
+  <startLevel level="8">
+    <bundle>
+      <groupId>org.apache.sling</groupId>
+      <artifactId>org.apache.sling.installer.core</artifactId>
+      <version>3.1.2</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      
<artifactId>org.apache.stanbol.commons.installer.bundleprovider</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <!--
+    <bundle>
+      <groupId>org.apache.sling</groupId>
+      <artifactId>org.apache.sling.installer.provider.file</artifactId>
+      <version>1.0.0</version>
+    </bundle>
+    -->
+  </startLevel>
 
+  <!-- Felix web console and plugins -->
+  <startLevel level="9">
+    <bundle>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.webconsole</artifactId>
+      <version>3.1.8</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.webconsole.plugins.memoryusage</artifactId>
+      <version>1.0.2</version>
+    </bundle>
+  </startLevel>
+
+  <!-- Sling launchpad -->
+  <startLevel level="9">
+    <bundle>
+      <groupId>org.apache.sling</groupId>
+      <artifactId>org.apache.sling.launchpad.installer</artifactId>
+      <version>1.0.0</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.sling</groupId>
+      <artifactId>org.apache.sling.launchpad.api</artifactId>
+      <version>1.0.0</version>
+    </bundle>
+  </startLevel>
+
+  <!-- *********************************************************************
+          start level 10 TO 19 reserved for required libraries
+          (internal and external)
+       ********************************************************************* 
-->
+  
        <!-- General-purpose libraries -->
        <startLevel level="10">
                <bundle>
@@ -108,75 +153,43 @@
                </bundle>
        </startLevel>
 
-       <!-- JAX-RS -->
-       <startLevel level="14">
-               <!--
-                       WARNING: jersey-core bug, must start before 
jersey-server to avoid
-                       jersey spi class not found errors. Restart 
jersey-server manually if
-                       getting those.
-               -->
-               <bundle>
-                       <groupId>com.sun.jersey</groupId>
-                       <artifactId>jersey-core</artifactId>
-                       <version>1.7</version>
-               </bundle>
-       </startLevel>
-       
-       <!-- Jersey -->
-       <startLevel level="15">
-<!-- is now included and exported by jersey-core
-               <bundle>
-                       <groupId>javax.ws.rs</groupId>
-                       <artifactId>jsr311-api</artifactId>
-                       <version>1.1.1</version>
-               </bundle> -->
-               <bundle>
-                       <groupId>com.sun.jersey</groupId>
-                       <artifactId>jersey-server</artifactId>
-                       <version>1.7</version>
-               </bundle>
-               <!-- needed to read data from mime multipart requests -->
-               <bundle>
-            <groupId>com.sun.jersey.contribs</groupId>
-            <artifactId>jersey-multipart</artifactId>
-            <version>1.7</version>
-        </bundle>
-        <bundle> <!--  dependency of jersey-multipart -->
-            <groupId>org.jvnet</groupId>
-            <artifactId>mimepull</artifactId>
-            <version>1.4</version>
-        </bundle>
-               <bundle>
-                       <groupId>org.codehaus.jettison</groupId>
-                       <artifactId>jettison</artifactId>
-                       <version>1.3</version>
-               </bundle>
-       </startLevel>
-
-       <!-- Stanbol Enhancer infrastructure and required libraries-->
-       <startLevel level="15">
-               <bundle>
-                       <groupId>org.apache.stanbol</groupId>
-                       
<artifactId>org.apache.stanbol.enhancer.servicesapi</artifactId>
-                       <version>0.9-SNAPSHOT</version>
-               </bundle>
-               <bundle>
-                       <groupId>org.apache.stanbol</groupId>
-                       
<artifactId>org.apache.stanbol.enhancer.standalone</artifactId>
-                       <version>0.9-SNAPSHOT</version>
-               </bundle>
-               <bundle>
-                       <groupId>org.apache.stanbol</groupId>
-                       
<artifactId>org.apache.stanbol.enhancer.jobmanager</artifactId>
-                       <version>0.9-SNAPSHOT</version>
-               </bundle>
-               <bundle>
-                       <groupId>org.apache.stanbol</groupId>
-                       
<artifactId>org.apache.stanbol.commons.stanboltools.offline</artifactId>
-                       <version>0.9-SNAPSHOT</version>
-               </bundle>
-       </startLevel>
-
+  <!-- Jersey -->
+  <startLevel level="14">
+    <!--
+      NOTE: jersey-core bug, must start before jersey-server to avoid jersey 
+      spi class not found errors. Restart jersey-server manually if getting 
those.
+    -->
+    <bundle>
+      <groupId>com.sun.jersey</groupId>
+      <artifactId>jersey-core</artifactId>
+      <version>1.7</version>
+    </bundle>
+  </startLevel>
+  <startLevel level="15">
+    <bundle>
+      <groupId>com.sun.jersey</groupId>
+      <artifactId>jersey-server</artifactId>
+      <version>1.7</version>
+    </bundle>
+    <!-- needed to read data from mime multipart requests -->
+    <bundle>
+      <groupId>com.sun.jersey.contribs</groupId>
+      <artifactId>jersey-multipart</artifactId>
+      <version>1.7</version>
+    </bundle>
+    <!--  dependency of jersey-multipart -->
+    <bundle>
+      <groupId>org.jvnet</groupId>
+      <artifactId>mimepull</artifactId>
+      <version>1.4</version>
+    </bundle>
+    <bundle> <!-- used also for all the other JSON parsing/writing in Stanbol 
-->
+      <groupId>org.codehaus.jettison</groupId>
+      <artifactId>jettison</artifactId>
+      <version>1.3</version>
+    </bundle>
+  </startLevel>
+  
        <!-- Clerezza storage and sparql infrastructure -->
        <startLevel level="16">
                <bundle>
@@ -273,82 +286,122 @@
                </bundle>
        </startLevel>
 
-       <startLevel level="17">
-               <!-- Clerezza SPARQL query engine -->
-               <bundle>
-                       <groupId>org.apache.stanbol</groupId>
-                       
<artifactId>org.apache.stanbol.enhancer.clerezza.sparql</artifactId>
-                       <version>0.9-SNAPSHOT</version>
-               </bundle>
-               
-               <!-- Additional Clerezza serializers -->
-               <bundle>
-                       <groupId>org.apache.clerezza</groupId>
-                       
<artifactId>org.apache.clerezza.rdf.jena.serializer</artifactId>
-                       <version>0.9-incubating-SNAPSHOT</version>
-               </bundle>
+  <!-- Stanbol Commons -->
+  <startLevel level="17">
+    <!-- Allows to run Stanbol in offline mode -->
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.commons.stanboltools.offline</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <!-- DataFileProvider and implementations -->
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      
<artifactId>org.apache.stanbol.commons.stanboltools.datafileprovider</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      
<artifactId>org.apache.stanbol.commons.stanboltools.datafileprovider.bundle</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <!-- OpenNLP as bundle + utilities -->
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.commons.opennlp</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <!-- support for JSON-LD -->
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.commons.jsonld</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <!-- The common web interface -->
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.commons.web.base</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.commons.web.home</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.commons.web.sparql</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+  </startLevel>
 
-               <!-- Stanbol JSON-LD implementation -->
-               <bundle>
-                       <groupId>org.apache.stanbol</groupId>
-                       
<artifactId>org.apache.stanbol.commons.jsonld</artifactId>
-                       <version>0.9-SNAPSHOT</version>
-               </bundle>
+  <!-- The default data expected by the default configuration of Stanbol -->
+  <startLevel level="19">
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.defaultdata</artifactId>
+      <version>0.0.2</version>
+    </bundle>
+  </startLevel>
 
-               <!-- Stanbol Web interface -->
-               <bundle>
-                       <groupId>org.apache.stanbol</groupId>
-                       
<artifactId>org.apache.stanbol.commons.web.base</artifactId>
-                       <version>0.9-SNAPSHOT</version>
-               </bundle>
-               <bundle>
-                       <groupId>org.apache.stanbol</groupId>
-                       
<artifactId>org.apache.stanbol.commons.web.home</artifactId>
-                       <version>0.9-SNAPSHOT</version>
-               </bundle>
-       </startLevel>
+  <!-- *********************************************************************
+          start level 20 TO 24 reserved for Stanbol Framework
+          (Enhancer, Entityhub, Contenthub, Factstore ... incl. Web Fragments)
+       ********************************************************************* 
-->
 
-       <!-- Stanbol Enhancer  -->
-       <startLevel level="20">
-               <bundle>
-                       <groupId>org.apache.stanbol</groupId>
-                       
<artifactId>org.apache.stanbol.enhancer.jersey</artifactId>
-                       <version>0.9-SNAPSHOT</version>
-               </bundle>
+  <!-- Stanbol Enhancer  -->
+  <startLevel level="20">
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.enhancer.servicesapi</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.enhancer.standalone</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.enhancer.jobmanager</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+       <bundle>
+         <groupId>org.apache.stanbol</groupId>
+         <artifactId>org.apache.stanbol.enhancer.jersey</artifactId>
+         <version>0.9-SNAPSHOT</version>
+       </bundle>
+  </startLevel>
+  <!-- Clerezza based SPARQL query engine -->
+  <startLevel level="20">
+    <bundle>
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.enhancer.clerezza.sparql</artifactId>
+      <version>0.9-SNAPSHOT</version>
+    </bundle>
+  </startLevel>
+
+  <!-- *********************************************************************
+          start level 25 TO 29 reserved for Stanbol plug-ins
+          (currently the Enhancement Engines)
+       ********************************************************************* 
-->
+       
+       <!-- Stanbol Enhancer Enhancement Engines -->
+       <startLevel level="25">
         <bundle>
             <groupId>org.apache.stanbol</groupId>
-            
<artifactId>org.apache.stanbol.commons.stanboltools.datafileprovider</artifactId>
+            
<artifactId>org.apache.stanbol.enhancer.engines.opennlp.ner</artifactId>
             <version>0.9-SNAPSHOT</version>
         </bundle>
-           <bundle>
-               <groupId>org.apache.stanbol</groupId>
-               
<artifactId>org.apache.stanbol.commons.stanboltools.datafileprovider.bundle</artifactId>
-               <version>0.9-SNAPSHOT</version>
-           </bundle>
-       </startLevel>
-       
-       <!-- Stanbol Enhancer Enhancement Engines -->
-       <startLevel level="30">
                <bundle>
                        <groupId>org.apache.stanbol</groupId>
                        
<artifactId>org.apache.stanbol.enhancer.engines.autotagging</artifactId>
                        <version>0.9-SNAPSHOT</version>
                </bundle>
-               <bundle>
-                       <groupId>org.apache.stanbol</groupId>
-                       <artifactId>org.apache.stanbol.defaultdata</artifactId>
-                       <version>0.0.2</version>
-               </bundle>
-               <bundle>
-                       <groupId>org.apache.stanbol</groupId>
-                       
<artifactId>org.apache.stanbol.enhancer.engines.opennlp.ner</artifactId>
-                       <version>0.9-SNAPSHOT</version>
-               </bundle>
-           <bundle>
-               <groupId>org.apache.stanbol</groupId>
-               <artifactId>org.apache.stanbol.commons.opennlp</artifactId>
-               <version>0.9-SNAPSHOT</version>
-           </bundle>
        </startLevel>
+
+  <!-- *********************************************************************
+          start level >= 30 are unused
+       ********************************************************************* 
-->
        
 </bundles>


Reply via email to