You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by re...@apache.org on 2015/08/29 23:14:22 UTC

[1/3] clerezza git commit: Using static/greedy policy for components simplifying the code

Repository: clerezza
Updated Branches:
  refs/heads/master 56754d125 -> 804357139


Using static/greedy policy for components simplifying the code

Project: http://git-wip-us.apache.org/repos/asf/clerezza/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza/commit/062e0df4
Tree: http://git-wip-us.apache.org/repos/asf/clerezza/tree/062e0df4
Diff: http://git-wip-us.apache.org/repos/asf/clerezza/diff/062e0df4

Branch: refs/heads/master
Commit: 062e0df4649056db2c07d33267645c8e1b0e24e9
Parents: 56754d1
Author: Reto Gmür <re...@apache.org>
Authored: Wed Aug 26 19:07:52 2015 +0200
Committer: Reto Gmür <re...@apache.org>
Committed: Wed Aug 26 19:07:52 2015 +0200

----------------------------------------------------------------------
 provisioning/jaxrs-whiteboard/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/clerezza/blob/062e0df4/provisioning/jaxrs-whiteboard/pom.xml
----------------------------------------------------------------------
diff --git a/provisioning/jaxrs-whiteboard/pom.xml b/provisioning/jaxrs-whiteboard/pom.xml
index 6c86956..c57c543 100644
--- a/provisioning/jaxrs-whiteboard/pom.xml
+++ b/provisioning/jaxrs-whiteboard/pom.xml
@@ -25,7 +25,7 @@
     <parent>
         <artifactId>clerezza</artifactId>
         <groupId>org.apache.clerezza</groupId>
-        <version>8-SNAPSHOT</version>
+        <version>7</version>
         <relativePath>../../parent</relativePath>
     </parent>
 
@@ -52,7 +52,7 @@
         <dependency>
             <groupId>org.apache.clerezza</groupId>
             <artifactId>jaxrs.whiteboard.jersey</artifactId>
-            <version>0.1</version>
+            <version>1.0.0-SNAPSHOT</version>
         </dependency>
         
         <dependency>


[2/3] clerezza git commit: Using static/greedy policy for components simplifying the code

Posted by re...@apache.org.
Using static/greedy policy for components simplifying the code

Project: http://git-wip-us.apache.org/repos/asf/clerezza/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza/commit/f7f76e15
Tree: http://git-wip-us.apache.org/repos/asf/clerezza/tree/f7f76e15
Diff: http://git-wip-us.apache.org/repos/asf/clerezza/diff/f7f76e15

Branch: refs/heads/master
Commit: f7f76e15dbfe30a022b13e18c90823d7051b542f
Parents: 062e0df
Author: Reto Gmür <re...@apache.org>
Authored: Wed Aug 26 19:08:09 2015 +0200
Committer: Reto Gmür <re...@apache.org>
Committed: Wed Aug 26 19:08:09 2015 +0200

----------------------------------------------------------------------
 jaxrs.whiteboard.jersey/pom.xml                 |  2 +-
 .../commons/web/base/jersey/JerseyEndpoint.java | 37 +++++---------------
 platform/logging/core/pom.xml                   | 12 +++----
 provisioning/launchers/content-launcher/pom.xml |  2 +-
 .../linked-data-launcher/nb-configuration.xml   |  1 +
 .../launchers/linked-data-launcher/pom.xml      |  2 +-
 6 files changed, 18 insertions(+), 38 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/clerezza/blob/f7f76e15/jaxrs.whiteboard.jersey/pom.xml
----------------------------------------------------------------------
diff --git a/jaxrs.whiteboard.jersey/pom.xml b/jaxrs.whiteboard.jersey/pom.xml
index eb2e9ea..52a61d8 100644
--- a/jaxrs.whiteboard.jersey/pom.xml
+++ b/jaxrs.whiteboard.jersey/pom.xml
@@ -20,7 +20,7 @@
     <parent>
         <groupId>org.apache.clerezza</groupId>
         <artifactId>clerezza</artifactId>
-        <version>0.5</version>
+        <version>7</version>
         <relativePath>../parent</relativePath>
     </parent>    
     <groupId>org.apache.clerezza</groupId>

http://git-wip-us.apache.org/repos/asf/clerezza/blob/f7f76e15/jaxrs.whiteboard.jersey/src/main/java/org/apache/stanbol/commons/web/base/jersey/JerseyEndpoint.java
----------------------------------------------------------------------
diff --git a/jaxrs.whiteboard.jersey/src/main/java/org/apache/stanbol/commons/web/base/jersey/JerseyEndpoint.java b/jaxrs.whiteboard.jersey/src/main/java/org/apache/stanbol/commons/web/base/jersey/JerseyEndpoint.java
index e35bff0..e98ab04 100644
--- a/jaxrs.whiteboard.jersey/src/main/java/org/apache/stanbol/commons/web/base/jersey/JerseyEndpoint.java
+++ b/jaxrs.whiteboard.jersey/src/main/java/org/apache/stanbol/commons/web/base/jersey/JerseyEndpoint.java
@@ -34,6 +34,7 @@ import org.apache.felix.scr.annotations.Property;
 import org.apache.felix.scr.annotations.Reference;
 import org.apache.felix.scr.annotations.ReferenceCardinality;
 import org.apache.felix.scr.annotations.ReferencePolicy;
+import org.apache.felix.scr.annotations.ReferencePolicyOption;
 import org.osgi.framework.BundleContext;
 import org.osgi.service.cm.ConfigurationException;
 import org.osgi.service.component.ComponentContext;
@@ -48,17 +49,17 @@ import org.glassfish.jersey.server.ResourceConfig;
 import org.glassfish.jersey.servlet.ServletContainer;
 
 /**
- * Jersey-based RESTful endpoint for the Stanbol Enhancer engines and store.
- * <p>
- * This OSGi component serves as a bridge between the OSGi context and the Servlet context available to JAX-RS
- * resources.
+ * Jersey-based JAXRS whiteboard implementation.
+ * 
+ * This exposes JAX-RS resources available as services exposing Object with the property javax.ws.rs=true
  */
 @Component(immediate = true, metatype = true)
 @References({
     @Reference(name="component", referenceInterface=Object.class, 
         target="(javax.ws.rs=true)", 
 		cardinality=ReferenceCardinality.OPTIONAL_MULTIPLE, 
-        policy=ReferencePolicy.DYNAMIC)})
+        policy=ReferencePolicy.STATIC,
+        policyOption=ReferencePolicyOption.GREEDY)})
 public class JerseyEndpoint {
 
     private final Logger log = LoggerFactory.getLogger(getClass());
@@ -91,31 +92,12 @@ public class JerseyEndpoint {
     }
 
     @Activate
-    protected void activate(ComponentContext ctx) throws IOException,
+    protected void activate(ComponentContext componentContext) throws IOException,
                                                  ServletException,
                                                  NamespaceException,
                                                  ConfigurationException {
-        componentContext = ctx;
-        initJersey();
-        
-    }
-
-    /** Initialize the Jersey subsystem */
-    private synchronized void initJersey() throws NamespaceException, ServletException {
-        if (componentContext == null) {
-            //we have not yet been activated
-            return;
-        }
-        //end of STANBOL-1073 work around
-        if (componentContext == null) {
-            log.debug(" ... can not init Jersey Endpoint - Component not yet activated!");
-            //throw new IllegalStateException("Null ComponentContext, not activated?");
-            return;
-        }
-
-        shutdownJersey();
 
-        log.info("(Re)initializing the Stanbol Jersey subsystem");
+        log.info("Activating Jersey subsystem");
 
         // register all the JAX-RS resources into a a JAX-RS application and bind it to a configurable URL
         // prefix
@@ -150,20 +132,17 @@ public class JerseyEndpoint {
     protected void deactivate(ComponentContext ctx) {
         shutdownJersey();
         servletContext = null;
-        componentContext = null;
     }
     
     protected void bindComponent(Object component) throws IOException,
                                                           ServletException,
                                                           NamespaceException  {
         components.add(component);
-        initJersey();
     }
 
     protected void unbindComponent(Object component) throws IOException,
                                                           ServletException,
                                                           NamespaceException  {
         components.remove(component);
-        initJersey();
     }    
 }

http://git-wip-us.apache.org/repos/asf/clerezza/blob/f7f76e15/platform/logging/core/pom.xml
----------------------------------------------------------------------
diff --git a/platform/logging/core/pom.xml b/platform/logging/core/pom.xml
index bf3dcca..8296a7c 100644
--- a/platform/logging/core/pom.xml
+++ b/platform/logging/core/pom.xml
@@ -57,32 +57,32 @@
         <dependency>
             <groupId>org.apache.clerezza</groupId>
             <artifactId>rdf.core</artifactId>
-            <version>1.0.0-SNAPSHOT</version>
+            <version>1.0.0</version>
         </dependency>
         <dependency>
             <groupId>org.apache.clerezza</groupId>
             <artifactId>platform</artifactId>
-            <version>1.0.0-SNAPSHOT</version>
+            <version>1.0.0</version>
         </dependency>
         <dependency>
             <groupId>org.apache.clerezza</groupId>
             <artifactId>platform.globalmenu.api</artifactId>
-            <version>1.0.0-SNAPSHOT</version>
+            <version>1.0.0</version>
         </dependency>
         <dependency>
             <groupId>org.apache.clerezza</groupId>
             <artifactId>platform.graphprovider.content</artifactId>
-            <version>1.0.0-SNAPSHOT</version>
+            <version>1.0.0</version>
         </dependency>
         <dependency>
             <groupId>org.apache.clerezza</groupId>
             <artifactId>platform.typerendering.core</artifactId>
-            <version>1.0.0-SNAPSHOT</version>
+            <version>1.0.0</version>
         </dependency>
         <dependency>
             <groupId>org.apache.clerezza</groupId>
             <artifactId>platform.typerendering.scalaserverpages</artifactId>
-            <version>1.0.0-SNAPSHOT</version>
+            <version>1.0.0</version>
         </dependency>
         <dependency>
             <groupId>org.apache.clerezza</groupId>

http://git-wip-us.apache.org/repos/asf/clerezza/blob/f7f76e15/provisioning/launchers/content-launcher/pom.xml
----------------------------------------------------------------------
diff --git a/provisioning/launchers/content-launcher/pom.xml b/provisioning/launchers/content-launcher/pom.xml
index 3590b9e..5698622 100644
--- a/provisioning/launchers/content-launcher/pom.xml
+++ b/provisioning/launchers/content-launcher/pom.xml
@@ -250,7 +250,7 @@
       <dependency>
             <groupId>org.apache.clerezza.provisioning</groupId>
             <artifactId>jaxrs</artifactId>
-            <version>0.1</version>
+            <version>1.0.1-SNAPSHOT</version>
             <type>partialbundlelist</type>
         </dependency>
         <dependency>

http://git-wip-us.apache.org/repos/asf/clerezza/blob/f7f76e15/provisioning/launchers/linked-data-launcher/nb-configuration.xml
----------------------------------------------------------------------
diff --git a/provisioning/launchers/linked-data-launcher/nb-configuration.xml b/provisioning/launchers/linked-data-launcher/nb-configuration.xml
index ec4540c..ca588fa 100644
--- a/provisioning/launchers/linked-data-launcher/nb-configuration.xml
+++ b/provisioning/launchers/linked-data-launcher/nb-configuration.xml
@@ -14,5 +14,6 @@ That way multiple projects can share the same settings (useful for formatting ru
 Any value defined here will override the pom.xml file value but is only applicable to the current project.
 -->
         <netbeans.compile.on.save>none</netbeans.compile.on.save>
+        <netbeans.hint.jdkPlatform>JDK_1.8</netbeans.hint.jdkPlatform>
     </properties>
 </project-shared-configuration>

http://git-wip-us.apache.org/repos/asf/clerezza/blob/f7f76e15/provisioning/launchers/linked-data-launcher/pom.xml
----------------------------------------------------------------------
diff --git a/provisioning/launchers/linked-data-launcher/pom.xml b/provisioning/launchers/linked-data-launcher/pom.xml
index bd7a0dc..c54e92e 100644
--- a/provisioning/launchers/linked-data-launcher/pom.xml
+++ b/provisioning/launchers/linked-data-launcher/pom.xml
@@ -250,7 +250,7 @@
       <dependency>
             <groupId>org.apache.clerezza.provisioning</groupId>
             <artifactId>jaxrs</artifactId>
-            <version>0.1</version>
+            <version>1.0.1-SNAPSHOT</version>
             <type>partialbundlelist</type>
         </dependency>
         <dependency>


[3/3] clerezza git commit: updated jersey version

Posted by re...@apache.org.
updated jersey version

Project: http://git-wip-us.apache.org/repos/asf/clerezza/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza/commit/80435713
Tree: http://git-wip-us.apache.org/repos/asf/clerezza/tree/80435713
Diff: http://git-wip-us.apache.org/repos/asf/clerezza/diff/80435713

Branch: refs/heads/master
Commit: 804357139d99721bc96186429d899376fd898d64
Parents: f7f76e1
Author: Reto Gmür <re...@apache.org>
Authored: Sat Aug 29 23:11:22 2015 +0200
Committer: Reto Gmür <re...@apache.org>
Committed: Sat Aug 29 23:11:22 2015 +0200

----------------------------------------------------------------------
 jaxrs.whiteboard.jersey/pom.xml                 | 183 +++++++++----------
 provisioning/jaxrs-whiteboard/pom.xml           |  32 ++--
 .../src/main/feature/feature.xml                |   2 +
 3 files changed, 106 insertions(+), 111 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/clerezza/blob/80435713/jaxrs.whiteboard.jersey/pom.xml
----------------------------------------------------------------------
diff --git a/jaxrs.whiteboard.jersey/pom.xml b/jaxrs.whiteboard.jersey/pom.xml
index 52a61d8..432d87d 100644
--- a/jaxrs.whiteboard.jersey/pom.xml
+++ b/jaxrs.whiteboard.jersey/pom.xml
@@ -16,7 +16,7 @@
   limitations under the License.
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
+    <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.clerezza</groupId>
         <artifactId>clerezza</artifactId>
@@ -30,104 +30,97 @@
 
 
 
-  <name>Clerezza JAX-RS Whiteboard Jersey</name>
-  <description>Providing JAX-RS OSGi Whiteboard registration of components.</description>
-  <licenses>
-    <license>
-      <name>Apache Software License, Version 2.0</name>
-      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-      <distribution>repo</distribution>
-      <comments>A business-friendly OSS license</comments>
-    </license>
-  </licenses>
+    <name>Clerezza JAX-RS Whiteboard Jersey</name>
+    <description>Providing JAX-RS OSGi Whiteboard registration of components.</description>
+    <licenses>
+        <license>
+            <name>Apache Software License, Version 2.0</name>
+            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            <distribution>repo</distribution>
+            <comments>A business-friendly OSS license</comments>
+        </license>
+    </licenses>
     
 
-  <build>
-    <!-- make it an OSGi bundle -->
-    <plugins>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-scr-plugin</artifactId>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <extensions>true</extensions>
-        <configuration>
-          <instructions>
-            <Private-Package>
-              org.apache.stanbol.commons.web.base.jersey;version=${project.version}
-            </Private-Package>
-            <!-- <Import-Package>
-              javax.servlet; version="[2.5.0,4.0.0)",
-              javax.servlet.http; version="[2.5.0,4.0.0)",
-              org.apache.stanbol.commons.web.base,
-              org.apache.stanbol.commons.web.base.*,
-              *
-            </Import-Package> -->
-          </instructions>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
+    <build>
+        <!-- make it an OSGi bundle -->
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-scr-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Private-Package>
+                            org.apache.stanbol.commons.web.base.jersey;version=${project.version}
+                        </Private-Package>
+                        <!-- <Import-Package>
+                          javax.servlet; version="[2.5.0,4.0.0)",
+                          javax.servlet.http; version="[2.5.0,4.0.0)",
+                          org.apache.stanbol.commons.web.base,
+                          org.apache.stanbol.commons.web.base.*,
+                          *
+                        </Import-Package> -->
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 
-  <dependencies>
-      <dependency>
-          <groupId>org.slf4j</groupId>
-          <artifactId>slf4j-api</artifactId>
-      </dependency>
-      
-    <!-- Jersey -->
-    <dependency>
-        <groupId>org.glassfish.jersey.containers</groupId>
-        <!-- if your container implements Servlet API older than 3.0, 
-        use "jersey-container-servlet-core", otherwise
-        "jersey-container-servlet"        -->
-        <artifactId>jersey-container-servlet-core</artifactId>
-        <version>2.8</version>
-    </dependency>
-    <!-- jersey depends on unavailable version -->
-    <dependency>
-        <groupId>javax.annotation</groupId>
-        <artifactId>javax.annotation-api</artifactId>
-        <version>1.2-b04</version>
-    </dependency>
-    <!-- <dependency>
-      <groupId>com.sun.jersey</groupId>
-      <artifactId>jersey-json</artifactId>
-    </dependency>  -->
-    <dependency>
-      <groupId>javax.servlet</groupId>
-      <artifactId>servlet-api</artifactId>
-      <version>2.5</version>
-    </dependency>
+    <dependencies>
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-api</artifactId>
+        </dependency>  
+        <!-- Jersey -->
+        <dependency>
+            <groupId>org.glassfish.jersey.core</groupId>
+            <artifactId>jersey-server</artifactId>
+            <version>2.19</version>
+        </dependency>
+        <dependency>
+            <groupId>org.glassfish.jersey.containers</groupId>
+            <!-- if your container implements Servlet API older than 3.0, 
+            use "jersey-container-servlet-core", otherwise
+            "jersey-container-servlet"        -->
+            <artifactId>jersey-container-servlet-core</artifactId>
+            <version>2.21</version>
+        </dependency>
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.5</version>
+        </dependency>
 
     
-    <!-- OSGi tax -->
-    <dependency>
-      <groupId>org.osgi</groupId>
-      <artifactId>org.osgi.core</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.osgi</groupId>
-      <artifactId>org.osgi.compendium</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.scr.annotations</artifactId>
-    </dependency>
-    <!-- for tests -->
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-simple</artifactId>
-      <scope>test</scope>
-    </dependency>
-
-  </dependencies>
+        <!-- OSGi tax -->
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.core</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.compendium</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.scr.annotations</artifactId>
+        </dependency>
+        <!-- for tests -->
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-simple</artifactId>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
 
 </project>

http://git-wip-us.apache.org/repos/asf/clerezza/blob/80435713/provisioning/jaxrs-whiteboard/pom.xml
----------------------------------------------------------------------
diff --git a/provisioning/jaxrs-whiteboard/pom.xml b/provisioning/jaxrs-whiteboard/pom.xml
index c57c543..baadb3d 100644
--- a/provisioning/jaxrs-whiteboard/pom.xml
+++ b/provisioning/jaxrs-whiteboard/pom.xml
@@ -43,7 +43,7 @@
         <dependency>
             <groupId>javax.ws.rs</groupId>
             <artifactId>javax.ws.rs-api</artifactId>
-            <version>2.0</version>
+            <version>2.0.1</version>
         </dependency>
         <dependency>
             <groupId>commons-lang</groupId>
@@ -58,17 +58,17 @@
         <dependency>
             <groupId>org.glassfish.jersey.core</groupId>
             <artifactId>jersey-common</artifactId>
-            <version>2.17</version>
+            <version>2.21</version>
         </dependency>
         <dependency>
             <groupId>org.glassfish.jersey.core</groupId>
             <artifactId>jersey-server</artifactId>
-            <version>2.17</version>
+            <version>2.21</version>
         </dependency>
         <dependency>
             <groupId>org.glassfish.jersey.core</groupId>
             <artifactId>jersey-client</artifactId>
-            <version>2.17</version>
+            <version>2.21</version>
         </dependency>
         <dependency>
             <groupId>org.glassfish.jersey.containers</groupId>
@@ -76,22 +76,22 @@
             use "jersey-container-servlet-core", otherwise
             "jersey-container-servlet"        -->
             <artifactId>jersey-container-servlet-core</artifactId>
-            <version>2.17</version>
+            <version>2.21</version>
         </dependency>
         <dependency>
             <groupId>org.glassfish.hk2</groupId>
             <artifactId>hk2-api</artifactId>
-            <version>2.3.0</version>
+            <version>2.4.0-b31</version>
         </dependency>
         <dependency>
             <groupId>org.glassfish.hk2</groupId>
             <artifactId>hk2-locator</artifactId>
-            <version>2.3.0</version>
+            <version>2.4.0-b31</version>
         </dependency>
         <dependency>
             <groupId>org.glassfish.hk2</groupId>
             <artifactId>hk2-utils</artifactId>
-            <version>2.3.0</version>
+            <version>2.4.0-b31</version>
         </dependency>
         <dependency>
             <groupId>org.glassfish.hk2</groupId>
@@ -102,32 +102,32 @@
         <dependency>
             <groupId>org.glassfish.hk2.external</groupId>
             <artifactId>javax.inject</artifactId>
-            <version>2.3.0</version>
+            <version>2.4.0-b31</version>
         </dependency>
-        <dependency>
+        <!--<dependency>
             <groupId>org.glassfish.hk2.external</groupId>
             <artifactId>asm-all-repackaged</artifactId>
-            <version>2.3.0</version>
+            <version>2.4.0-b31</version>
         </dependency>
-        <dependency>
+         <dependency>
             <groupId>org.glassfish.hk2.external</groupId>
             <artifactId>cglib</artifactId>
             <version>2.2.0-b23</version>
-        </dependency>
+        </dependency> -->
         <dependency>
             <groupId>org.glassfish.hk2.external</groupId>
             <artifactId>aopalliance-repackaged</artifactId>
-            <version>2.2.0</version>
+            <version>2.4.0-b31</version>
         </dependency>
         <dependency>
             <groupId>org.javassist</groupId>
             <artifactId>javassist</artifactId>
-            <version>3.18.0-GA</version>
+            <version>3.20.0-GA</version>
         </dependency>
         <dependency>
             <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
             <artifactId>jersey-guava</artifactId>
-            <version>2.17</version>
+            <version>2.21</version>
         </dependency>
         <dependency>
             <groupId>javax.validation</groupId>

http://git-wip-us.apache.org/repos/asf/clerezza/blob/80435713/provisioning/jaxrs-whiteboard/src/main/feature/feature.xml
----------------------------------------------------------------------
diff --git a/provisioning/jaxrs-whiteboard/src/main/feature/feature.xml b/provisioning/jaxrs-whiteboard/src/main/feature/feature.xml
index a85b051..3863ebb 100644
--- a/provisioning/jaxrs-whiteboard/src/main/feature/feature.xml
+++ b/provisioning/jaxrs-whiteboard/src/main/feature/feature.xml
@@ -22,6 +22,8 @@
         <details>${project.description}</details>
         <!-- <config>foo=bar</config> -->
         <bundle start-level="1">mvn:javax.annotation/javax.annotation-api/1.2</bundle>
+        <!-- to prevent "No generator was provided and there is no default generator registered" Exception, see https://java.net/jira/browse/JERSEY-2788 -->
+        <bundle start-level="15">mvn:org.glassfish.hk2/osgi-resource-locator/1.0.1</bundle>
     </feature>
 
 </features>
\ No newline at end of file