You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by ro...@apache.org on 2021/01/12 05:11:41 UTC

[aries-jax-rs-whiteboard] branch master updated (b2db915 -> b177b32)

This is an automated email from the ASF dual-hosted git repository.

rotty3000 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/aries-jax-rs-whiteboard.git.


    from b2db915  narrow the embedded prepackages
     new c59f4f9  ARIES-2029 Do not bundle CXF
     new f5d8bc2  ARIES-2029 Instruct HTTPTransportActivator to not create default transport
     new b177b32  ARIES-2029 finalize unbundling of cxf

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../cxf-jettison/cxf-jettison-itest/itest.bndrun   |  21 ++-
 .../cxf-jettison/cxf-jettison-itest/pom.xml        |  24 ----
 .../cxf-jettison/cxf-jettison-jaxrs/bnd.bnd        |  42 +-----
 .../cxf-jettison/cxf-jettison-jaxrs/pom.xml        |  26 ----
 integrations/jackson/jackson-itest/itest.bndrun    |  18 ++-
 integrations/jackson/jackson-itest/pom.xml         |  27 ----
 integrations/jackson/jackson-jaxrs/pom.xml         |  18 +--
 integrations/openapi/openapi-itest/itest.bndrun    |  21 ++-
 integrations/openapi/openapi-itest/pom.xml         |  18 ---
 integrations/openapi/openapi-resource/bnd.bnd      |   4 +-
 integrations/openapi/openapi-resource/pom.xml      |  26 ++--
 integrations/shiro/shiro-authc/bnd.bnd             |   2 +-
 integrations/shiro/shiro-authc/pom.xml             |   8 --
 integrations/shiro/shiro-authz/bnd.bnd             |   2 +-
 integrations/shiro/shiro-authz/pom.xml             |   8 --
 integrations/shiro/shiro-itest/itest.bndrun        |  20 ++-
 integrations/shiro/shiro-itest/pom.xml             |   4 -
 .../aries-jaxrs-whiteboard-example.bndrun          |  18 ++-
 jax-rs.example/aries-jaxrs-whiteboard-only.bndrun  |  18 ++-
 jax-rs.example/pom.xml                             |  54 +------
 jax-rs.itests-fragment/bnd.bnd                     |  58 --------
 jax-rs.itests-fragment/pom.xml                     |  47 -------
 jax-rs.itests/itest.bndrun                         |  25 +++-
 jax-rs.itests/pom.xml                              |  32 -----
 jax-rs.itests/src/main/java/test/JaxrsTest.java    |   4 +
 jax-rs.whiteboard/bnd.bnd                          |  42 +-----
 jax-rs.whiteboard/pom.xml                          |  45 +-----
 .../activator/CxfJaxrsBundleActivator.java         |   5 +
 .../jax/rs/whiteboard}/cxf/helpers/JavaUtils.java  |   2 +-
 .../cxf/jaxrs/client/PromiseRxInvokerImpl.java     |  74 +++++++---
 .../jaxrs/client/PromiseRxInvokerProviderImpl.java |   3 +-
 .../internal/client/ClientBuilderImpl.java         |   2 +-
 org.apache.aries.jax.rs.cxf.repackage/pom.xml      | 113 ---------------
 .../src/main/resources/META-INF/MANIFEST.MF        |   1 -
 pom.xml                                            | 156 +++++++++++++--------
 35 files changed, 296 insertions(+), 692 deletions(-)
 delete mode 100644 jax-rs.itests-fragment/bnd.bnd
 delete mode 100644 jax-rs.itests-fragment/pom.xml
 rename jax-rs.whiteboard/src/main/java/org/apache/{ => aries/jax/rs/whiteboard}/cxf/helpers/JavaUtils.java (98%)
 rename jax-rs.whiteboard/src/main/java/org/apache/{ => aries/jax/rs/whiteboard}/cxf/jaxrs/client/PromiseRxInvokerImpl.java (74%)
 rename jax-rs.whiteboard/src/main/java/org/apache/{ => aries/jax/rs/whiteboard}/cxf/jaxrs/client/PromiseRxInvokerProviderImpl.java (94%)
 delete mode 100644 org.apache.aries.jax.rs.cxf.repackage/pom.xml
 delete mode 100644 org.apache.aries.jax.rs.cxf.repackage/src/main/resources/META-INF/MANIFEST.MF


[aries-jax-rs-whiteboard] 01/03: ARIES-2029 Do not bundle CXF

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rotty3000 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/aries-jax-rs-whiteboard.git

commit c59f4f939c4cf97194b74b8df07b1a5bc8b13492
Author: Carlos Sierra Andrés <ca...@liferay.com>
AuthorDate: Mon Jun 22 12:22:42 2020 +0200

    ARIES-2029 Do not bundle CXF
---
 .../cxf-jettison/cxf-jettison-itest/pom.xml        |   6 --
 jax-rs.example/pom.xml                             |   5 -
 jax-rs.itests-fragment/bnd.bnd                     |  58 -----------
 jax-rs.itests-fragment/pom.xml                     |  47 ---------
 jax-rs.itests/pom.xml                              |   6 --
 jax-rs.whiteboard/bnd.bnd                          |  45 +-------
 jax-rs.whiteboard/pom.xml                          |   5 -
 .../jax/rs/whiteboard}/cxf/helpers/JavaUtils.java  |   2 +-
 .../cxf/jaxrs/client/PromiseRxInvokerImpl.java     |  75 ++++++++++----
 .../jaxrs/client/PromiseRxInvokerProviderImpl.java |   3 +-
 .../internal/client/ClientBuilderImpl.java         |   2 +-
 org.apache.aries.jax.rs.cxf.repackage/pom.xml      | 113 ---------------------
 .../src/main/resources/META-INF/MANIFEST.MF        |   1 -
 pom.xml                                            |  17 ++--
 14 files changed, 67 insertions(+), 318 deletions(-)

diff --git a/integrations/cxf-jettison/cxf-jettison-itest/pom.xml b/integrations/cxf-jettison/cxf-jettison-itest/pom.xml
index 98e0a35..eade11a 100644
--- a/integrations/cxf-jettison/cxf-jettison-itest/pom.xml
+++ b/integrations/cxf-jettison/cxf-jettison-itest/pom.xml
@@ -81,12 +81,6 @@
         </dependency>
         <dependency>
             <groupId>org.apache.aries.jax.rs</groupId>
-            <artifactId>org.apache.aries.jax.rs.itests-fragment</artifactId>
-            <version>${project.version}</version>
-            <scope>runtime</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.jax.rs</groupId>
             <artifactId>org.apache.aries.jax.rs.jaxb.json.cxf-jettison</artifactId>
             <version>${project.version}</version>
             <scope>runtime</scope>
diff --git a/jax-rs.example/pom.xml b/jax-rs.example/pom.xml
index 770ee2b..88f6124 100644
--- a/jax-rs.example/pom.xml
+++ b/jax-rs.example/pom.xml
@@ -114,11 +114,6 @@
             <scope>runtime</scope>
         </dependency>
         <dependency>
-            <groupId>org.apache.aries.jax.rs</groupId>
-            <artifactId>org.apache.aries.jax.rs.itests-fragment</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
             <groupId>org.osgi</groupId>
             <artifactId>org.osgi.service.cm</artifactId>
         </dependency>
diff --git a/jax-rs.itests-fragment/bnd.bnd b/jax-rs.itests-fragment/bnd.bnd
deleted file mode 100644
index cbac9ca..0000000
--- a/jax-rs.itests-fragment/bnd.bnd
+++ /dev/null
@@ -1,58 +0,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.
-
-Fragment-Host: org.apache.aries.jax.rs.whiteboard
-Export-Package:\
-	org.apache.cxf;version="3.2.13",\
-	org.apache.cxf.attachment;version="3.2.13",\
-	org.apache.cxf.common.classloader;version="3.2.13",\
-	org.apache.cxf.common.logging;version="3.2.13",\
-	org.apache.cxf.common.jaxb;version="3.2.13",\
-	org.apache.cxf.common.security;version="3.2.13",\
-	org.apache.cxf.common.util;version="3.2.13",\
-	org.apache.cxf.configuration.security;version="3.2.13",\
-	org.apache.cxf.endpoint;version="3.2.13",\
-	org.apache.cxf.helpers;version="3.2.13",\
-	org.apache.cxf.interceptor;version="3.2.13",\
-	org.apache.cxf.interceptor.security;version="3.2.13",\
-	org.apache.cxf.io;version="3.2.13",\
-	org.apache.cxf.jaxrs;version="3.2.13",\
-	org.apache.cxf.jaxrs.ext;version="3.2.13",\
-	org.apache.cxf.jaxrs.impl;version="3.2.13",\
-	org.apache.cxf.jaxrs.model;version="3.2.13",\
-	org.apache.cxf.jaxrs.provider;version="3.2.13",\
-	org.apache.cxf.jaxrs.utils;version="3.2.13",\
-	org.apache.cxf.jaxrs.utils.multipart;version="3.2.13",\
-	org.apache.cxf.jaxrs.utils.schemas;version="3.2.13",\
-	org.apache.cxf.message;version="3.2.13",\
-	org.apache.cxf.phase;version="3.2.13",\
-	org.apache.cxf.resource;version="3.2.13",\
-	org.apache.cxf.security;version="3.2.13",\
-	org.apache.cxf.security.transport;version="3.2.13",\
-	org.apache.cxf.service.model;version="3.2.13",\
-	org.apache.cxf.staxutils;version="3.2.13",\
-	org.apache.cxf.staxutils.transform;version="3.2.13",\
-	org.apache.cxf.transport.http.auth;version="3.2.13",\
-	org.apache.cxf.helpers;version="3.2.13",\
-	org.apache.cxf.helpers;version="3.2.13",\
-	org.apache.cxf.helpers;version="3.2.13",\
-	org.apache.cxf.common.util;version="3.2.13"
-
--resourceonly: true
--fixupmessages: \
-	Classpath is empty...;is:=ignore,\
-	"Host org.apache.aries.jax.rs.whiteboard="
diff --git a/jax-rs.itests-fragment/pom.xml b/jax-rs.itests-fragment/pom.xml
deleted file mode 100644
index 1a8acb4..0000000
--- a/jax-rs.itests-fragment/pom.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?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.
--->
-<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/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>org.apache.aries.jax.rs</groupId>
-        <artifactId>org.apache.aries.jax.rs</artifactId>
-        <version>2.0.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>org.apache.aries.jax.rs.itests-fragment</artifactId>
-    <description>Apache Aries JAX-RS Whiteboard Integration Tests Fragment</description>
-    <name>Apache Aries JAX-RS Whiteboard Integration Tests Fragment</name>
-
-    <properties>
-        <maven.deploy.skip>true</maven.deploy.skip>
-        <maven.install.skip>true</maven.install.skip>
-    </properties>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>biz.aQute.bnd</groupId>
-                <artifactId>bnd-maven-plugin</artifactId>
-            </plugin>
-        </plugins>
-    </build>
-
-</project>
\ No newline at end of file
diff --git a/jax-rs.itests/pom.xml b/jax-rs.itests/pom.xml
index 3154ecd..cc88352 100644
--- a/jax-rs.itests/pom.xml
+++ b/jax-rs.itests/pom.xml
@@ -93,12 +93,6 @@
             <groupId>org.apache.aries.jax.rs</groupId>
             <artifactId>org.apache.aries.jax.rs.whiteboard</artifactId>
             <version>${project.version}</version>
-            <scope>runtime</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.jax.rs</groupId>
-            <artifactId>org.apache.aries.jax.rs.itests-fragment</artifactId>
-            <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
diff --git a/jax-rs.whiteboard/bnd.bnd b/jax-rs.whiteboard/bnd.bnd
index 4af8605..edd641e 100644
--- a/jax-rs.whiteboard/bnd.bnd
+++ b/jax-rs.whiteboard/bnd.bnd
@@ -15,46 +15,7 @@
 #    specific language governing permissions and limitations
 #    under the License.
 
-Import-Package:\
-    !com.sun.*,\
-    !javax.cache.*,\
-    !javax.imageio.*,\
-    !javax.jws.*,\
-    !javax.security.*,\
-    !javax.tools.*,\
-    !javax.validation.*,\
-    !javax.wsdl.*,\
-    !net.sf.cglib.proxy.*,\
-    !org.apache.abdera.*,\
-    !org.apache.aries.*,\
-    !org.apache.commons.logging,\
-    !org.apache.cxf.*,\
-    !org.apache.log4j.*,\
-    !org.apache.neethi.*,\
-    !org.apache.velocity.*,\
-    !org.apache.xerces.*,\
-    !org.apache.xml.resolver.*,\
-    !org.apache.xmlbeans.*,\
-    !org.atmosphere.*,\
-    !org.dom4j.*,\
-    !org.junit.*,\
-    !org.jvnet.fastinfoset.*,\
-    !org.jvnet.staxex.*,\
-    !org.ietf.jgss.*,\
-    !org.objectweb.asm.*,\
-    !org.osgi.service.blueprint.*,\
-    !org.osgi.service.http,\
-    !org.relaxng.datatype.*,\
-    !org.slf4j.impl.*,\
-    !org.slf4j.spi.*,\
-    !org.springframework.*,\
-    !sun.misc,\
-    *
+Conditional-Package: org.apache.aries.component.dsl.*
+Import-Package: org.apache.cxf.jaxrs.client,*
 
-Provide-Capability: osgi.implementation;osgi.implementation="aries.jax-rs";version:Version="${Bundle-Version}"
-
--includeresource:\
-    @${.}/../org.apache.aries.jax.rs.cxf.repackage/target/org.apache.aries.jax.rs.cxf.repackage-${project.version}.jar!/!org/apache/cxf/helpers/JavaUtils*.class,\
-    lib/stax2-api.jar=stax2-api-*.jar;lib:=true,\
-    lib/woodstox-core.jar=woodstox-core-*.jar;lib:=true,\
-    lib/xmlschema-core.jar=xmlschema-core-*.jar;lib:=true
+Provide-Capability: osgi.implementation;osgi.implementation="aries.jax-rs";version:Version="${Bundle-Version}"
\ No newline at end of file
diff --git a/jax-rs.whiteboard/pom.xml b/jax-rs.whiteboard/pom.xml
index 1500c0c..5bb1a15 100644
--- a/jax-rs.whiteboard/pom.xml
+++ b/jax-rs.whiteboard/pom.xml
@@ -103,11 +103,6 @@
             <artifactId>org.osgi.util.function</artifactId>
         </dependency>
         <dependency>
-            <groupId>org.apache.aries.jax.rs.cxf.repackage</groupId>
-            <artifactId>org.apache.aries.jax.rs.cxf.repackage</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-api</artifactId>
             <version>${slf4j.version}</version>
diff --git a/jax-rs.whiteboard/src/main/java/org/apache/cxf/helpers/JavaUtils.java b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/cxf/helpers/JavaUtils.java
similarity index 98%
rename from jax-rs.whiteboard/src/main/java/org/apache/cxf/helpers/JavaUtils.java
rename to jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/cxf/helpers/JavaUtils.java
index c031900..7d5d9f8 100644
--- a/jax-rs.whiteboard/src/main/java/org/apache/cxf/helpers/JavaUtils.java
+++ b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/cxf/helpers/JavaUtils.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.helpers;
+package org.apache.aries.jax.rs.whiteboard.cxf.helpers;
 
 import java.util.Arrays;
 import java.util.HashSet;
diff --git a/jax-rs.whiteboard/src/main/java/org/apache/cxf/jaxrs/client/PromiseRxInvokerImpl.java b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/cxf/jaxrs/client/PromiseRxInvokerImpl.java
similarity index 74%
rename from jax-rs.whiteboard/src/main/java/org/apache/cxf/jaxrs/client/PromiseRxInvokerImpl.java
rename to jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/cxf/jaxrs/client/PromiseRxInvokerImpl.java
index 9b83261..fc7781f 100644
--- a/jax-rs.whiteboard/src/main/java/org/apache/cxf/jaxrs/client/PromiseRxInvokerImpl.java
+++ b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/cxf/jaxrs/client/PromiseRxInvokerImpl.java
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.cxf.jaxrs.client;
+package org.apache.aries.jax.rs.whiteboard.cxf.jaxrs.client;
 
 import javax.ws.rs.HttpMethod;
 import javax.ws.rs.client.Entity;
@@ -23,13 +23,20 @@ import javax.ws.rs.client.InvocationCallback;
 import javax.ws.rs.core.GenericType;
 import javax.ws.rs.core.Response;
 
+import org.apache.cxf.jaxrs.client.WebClient;
 import org.osgi.service.jaxrs.client.PromiseRxInvoker;
 import org.osgi.util.promise.Deferred;
 import org.osgi.util.promise.Promise;
 import org.osgi.util.promise.PromiseFactory;
 
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+import java.lang.reflect.Type;
+
 class PromiseRxInvokerImpl implements PromiseRxInvoker {
 
+    private final Method _doInvokeAsyncMethod;
+
     private static final class DeferredHandler<R> implements InvocationCallback<R> {
         private final Deferred<R> deferred;
 
@@ -50,6 +57,14 @@ class PromiseRxInvokerImpl implements PromiseRxInvoker {
     public PromiseRxInvokerImpl(
         WebClient webClient, PromiseFactory promiseFactory) {
         _webClient = webClient;
+        try {
+            _doInvokeAsyncMethod = WebClient.class.getDeclaredMethod(
+                "doInvokeAsync",
+                String.class, Object.class, Class.class, Type.class, Class.class, Type.class, InvocationCallback.class);
+        } catch (NoSuchMethodException nsme) {
+            throw new RuntimeException(nsme);
+        }
+        _doInvokeAsyncMethod.setAccessible(true);
         _promiseFactory = promiseFactory;
     }
 
@@ -90,35 +105,48 @@ class PromiseRxInvokerImpl implements PromiseRxInvoker {
 
     @Override
     public <R> Promise<R> method(String s, Class<R> responseType) {
-        
-            Deferred<R> deferred = _promiseFactory.deferred();
-        
-            _webClient.doInvokeAsync(s, null, null, null, responseType, responseType, 
-                    new DeferredHandler<R>(deferred));
-        
+        Deferred<R> deferred = _promiseFactory.deferred();
+
+        try {
+            _doInvokeAsyncMethod.invoke(
+                _webClient, s, null, null, null, responseType, responseType,
+                new DeferredHandler<R>(deferred));
+        } catch (Exception e) {
+            throw new RuntimeException(e);
+        }
+
         return deferred.getPromise();
     }
 
     @Override
     public <R> Promise<R> method(String s, Entity<?> entity, Class<R> responseType) {
-        
         Deferred<R> deferred = _promiseFactory.deferred();
-    
-        _webClient.doInvokeAsync(s, entity, null, null, responseType, responseType, 
+
+        try {
+            _doInvokeAsyncMethod.invoke(
+                _webClient, s, entity, null, null, responseType, responseType,
                 new DeferredHandler<R>(deferred));
-    
-    return deferred.getPromise();
+        } catch (Exception e) {
+            throw new RuntimeException(e);
+        }
+
+        return deferred.getPromise();
     }
 
     @Override
     public <R> Promise<R> method(
         String s, Entity<?> entity, GenericType<R> genericType) {
 
-            Deferred<R> deferred = _promiseFactory.deferred();
-        
-        _webClient.doInvokeAsync(s, entity, null, null, genericType.getRawType(), genericType.getType(), 
-                new DeferredHandler<R>(deferred));
-    
+        Deferred<R> deferred = _promiseFactory.deferred();
+
+        try {
+            _doInvokeAsyncMethod.invoke(
+                _webClient, s, entity, null, null, genericType.getRawType(),
+                genericType.getType(), new DeferredHandler<R>(deferred));
+        } catch (Exception e) {
+            throw new RuntimeException(e);
+        }
+
         return deferred.getPromise();
     }
 
@@ -130,10 +158,15 @@ class PromiseRxInvokerImpl implements PromiseRxInvoker {
     @Override
     public <R> Promise<R> method(String s, GenericType<R> genericType) {
         Deferred<R> deferred = _promiseFactory.deferred();
-        
-        _webClient.doInvokeAsync(s, null, null, null, genericType.getRawType(), genericType.getType(), 
-                new DeferredHandler<R>(deferred));
-    
+
+        try {
+            _doInvokeAsyncMethod.invoke(
+                _webClient, s, null, null, null, genericType.getRawType(),
+                genericType.getType(), new DeferredHandler<R>(deferred));
+        } catch (Exception e) {
+            throw new RuntimeException(e);
+        }
+
         return deferred.getPromise();
     }
 
diff --git a/jax-rs.whiteboard/src/main/java/org/apache/cxf/jaxrs/client/PromiseRxInvokerProviderImpl.java b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/cxf/jaxrs/client/PromiseRxInvokerProviderImpl.java
similarity index 94%
rename from jax-rs.whiteboard/src/main/java/org/apache/cxf/jaxrs/client/PromiseRxInvokerProviderImpl.java
rename to jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/cxf/jaxrs/client/PromiseRxInvokerProviderImpl.java
index 0de5c48..46e7ade 100644
--- a/jax-rs.whiteboard/src/main/java/org/apache/cxf/jaxrs/client/PromiseRxInvokerProviderImpl.java
+++ b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/cxf/jaxrs/client/PromiseRxInvokerProviderImpl.java
@@ -15,13 +15,14 @@
  * limitations under the License.
  */
 
-package org.apache.cxf.jaxrs.client;
+package org.apache.aries.jax.rs.whiteboard.cxf.jaxrs.client;
 
 import java.util.concurrent.ExecutorService;
 
 import javax.ws.rs.client.RxInvokerProvider;
 import javax.ws.rs.client.SyncInvoker;
 
+import org.apache.cxf.jaxrs.client.SyncInvokerImpl;
 import org.osgi.service.jaxrs.client.PromiseRxInvoker;
 import org.osgi.util.promise.PromiseFactory;
 
diff --git a/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/internal/client/ClientBuilderImpl.java b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/internal/client/ClientBuilderImpl.java
index 3d1e6b6..378ed05 100644
--- a/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/internal/client/ClientBuilderImpl.java
+++ b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/internal/client/ClientBuilderImpl.java
@@ -17,7 +17,7 @@
 
 package org.apache.aries.jax.rs.whiteboard.internal.client;
 
-import org.apache.cxf.jaxrs.client.PromiseRxInvokerProviderImpl;
+import org.apache.aries.jax.rs.whiteboard.cxf.jaxrs.client.PromiseRxInvokerProviderImpl;
 
 import aQute.bnd.annotation.spi.ServiceProvider;
 
diff --git a/org.apache.aries.jax.rs.cxf.repackage/pom.xml b/org.apache.aries.jax.rs.cxf.repackage/pom.xml
deleted file mode 100644
index c0bc5ab..0000000
--- a/org.apache.aries.jax.rs.cxf.repackage/pom.xml
+++ /dev/null
@@ -1,113 +0,0 @@
-<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/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <parent>
-        <groupId>org.apache.aries.jax.rs</groupId>
-        <artifactId>org.apache.aries.jax.rs</artifactId>
-        <version>2.0.0-SNAPSHOT</version>
-    </parent>
-
-    <groupId>org.apache.aries.jax.rs.cxf.repackage</groupId>
-    <artifactId>org.apache.aries.jax.rs.cxf.repackage</artifactId>
-    <description>This project extracts and repackages CXF so that the whiteboard can be more easily built</description>
-    <name>Apache Aries JAX-RS Whiteboard CXF dependency repackaging</name>
-
-    <properties>
-        <maven.deploy.skip>true</maven.deploy.skip>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.aries.component-dsl</groupId>
-            <artifactId>org.apache.aries.component-dsl.component-dsl</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-rt-frontend-jaxrs</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-rt-rs-client</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-rt-rs-sse</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-rt-transports-http</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-tools-common</artifactId>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-
-                <executions>
-                    <execution>
-                        <id>extract-classes</id>
-                        <goals>
-                            <goal>unpack-dependencies</goal>
-                        </goals>
-                        <configuration>
-                           <includes>org/apache/aries/component/dsl/**/*.class,org/apache/cxf/**/*.class,**/Messages.properties,META-INF/services/*,org/apache/cxf/version/version.properties</includes>
-                           <outputDirectory>${project.build.outputDirectory}</outputDirectory>
-                           <markersDirectory>${project.build.directory}/dependency-maven-plugin-markers-classes</markersDirectory>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>extract-bus-extensions</id>
-                        <goals>
-                            <goal>unpack-dependencies</goal>
-                        </goals>
-                        <configuration>
-                           <includeGroupIds>org.apache.cxf</includeGroupIds>
-                           <includes>META-INF/cxf/bus-extensions.txt</includes>
-                           <outputDirectory>${project.build.directory}/cxf-bus</outputDirectory>
-                           <useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
-                           <markersDirectory>${project.build.directory}/dependency-maven-plugin-markers-extensions</markersDirectory>
-                        </configuration>
-                    </execution>
-                </executions>
-                <configuration>
-                    <excludeTransitive>true</excludeTransitive>
-                </configuration>
-            </plugin>
-            <plugin>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>create-merged-extensions</id>
-                        <phase>generate-resources</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <target>
-                                <concat destfile="${project.build.outputDirectory}/META-INF/cxf/bus-extensions.txt" fixlastline="true">
-                                    <fileset dir="${project.build.directory}/cxf-bus">
-                                        <include name="**/bus-extensions.txt" />
-                                    </fileset>
-                                    <filterchain>
-                                        <tokenfilter> <trim /> </tokenfilter>
-                                        <tokenfilter> <ignoreblank /> </tokenfilter>
-                                    </filterchain>
-                                </concat>
-                            </target>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-</project>
\ No newline at end of file
diff --git a/org.apache.aries.jax.rs.cxf.repackage/src/main/resources/META-INF/MANIFEST.MF b/org.apache.aries.jax.rs.cxf.repackage/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644
index 348f1bd..0000000
--- a/org.apache.aries.jax.rs.cxf.repackage/src/main/resources/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1 +0,0 @@
-Manifest-Version: 1.0
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 98b246a..87ed0d9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -59,9 +59,7 @@
     </scm>
 
     <modules>
-        <module>org.apache.aries.jax.rs.cxf.repackage</module>
         <module>jax-rs.whiteboard</module>
-        <module>jax-rs.itests-fragment</module>
         <module>jax-rs.itests</module>
         <module>jax-rs.features</module>
         <module>jax-rs.example</module>
@@ -80,19 +78,16 @@
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-core</artifactId>
                 <version>${cxf.version}</version>
-                <scope>provided</scope>
             </dependency>
             <dependency>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-tools-common</artifactId>
                 <version>${cxf.version}</version>
-                <scope>provided</scope>
             </dependency>
             <dependency>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-rt-databinding-jaxb</artifactId>
                 <version>${cxf.version}</version>
-                <scope>provided</scope>
                 <exclusions>
                     <exclusion>
                         <groupId>org.ow2.asm</groupId>
@@ -104,19 +99,22 @@
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-rt-frontend-jaxrs</artifactId>
                 <version>${cxf.version}</version>
-                <scope>provided</scope>
+                <exclusions>
+                    <exclusion>
+                        <groupId>javax.ws.rs</groupId>
+                        <artifactId>javax.ws.rs-api</artifactId>
+                    </exclusion>
+                </exclusions>
             </dependency>
             <dependency>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-rt-transports-http</artifactId>
                 <version>${cxf.version}</version>
-                <scope>provided</scope>
             </dependency>
             <dependency>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-rt-rs-client</artifactId>
                 <version>${cxf.version}</version>
-                <scope>provided</scope>
                 <exclusions>
                     <exclusion>
                         <groupId>javax.annotation</groupId>
@@ -132,7 +130,6 @@
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-rt-rs-extension-providers</artifactId>
                 <version>${cxf.version}</version>
-                <scope>provided</scope>
                 <exclusions>
                     <exclusion>
                         <groupId>javax.annotation</groupId>
@@ -148,13 +145,11 @@
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-rt-rs-json-basic</artifactId>
                 <version>${cxf.version}</version>
-                <scope>provided</scope>
             </dependency>
             <dependency>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-rt-rs-sse</artifactId>
                 <version>${cxf.version}</version>
-                <scope>provided</scope>
             </dependency>
             <dependency>
                 <groupId>org.apache.aries.component-dsl</groupId>


[aries-jax-rs-whiteboard] 02/03: ARIES-2029 Instruct HTTPTransportActivator to not create default transport

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rotty3000 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/aries-jax-rs-whiteboard.git

commit f5d8bc24baac4a328f36ccfa05829e2d37f30152
Author: Carlos Sierra Andrés <ca...@liferay.com>
AuthorDate: Sun Dec 6 23:50:08 2020 +0100

    ARIES-2029 Instruct HTTPTransportActivator to not create default transport
---
 integrations/cxf-jettison/cxf-jettison-itest/itest.bndrun | 1 +
 integrations/jackson/jackson-itest/itest.bndrun           | 1 +
 integrations/openapi/openapi-itest/itest.bndrun           | 1 +
 integrations/shiro/shiro-itest/itest.bndrun               | 1 +
 jax-rs.example/aries-jaxrs-whiteboard-example.bndrun      | 1 +
 jax-rs.example/aries-jaxrs-whiteboard-only.bndrun         | 1 +
 jax-rs.itests/itest.bndrun                                | 1 +
 7 files changed, 7 insertions(+)

diff --git a/integrations/cxf-jettison/cxf-jettison-itest/itest.bndrun b/integrations/cxf-jettison/cxf-jettison-itest/itest.bndrun
index c3aa198..15bc100 100644
--- a/integrations/cxf-jettison/cxf-jettison-itest/itest.bndrun
+++ b/integrations/cxf-jettison/cxf-jettison-itest/itest.bndrun
@@ -40,6 +40,7 @@
 -runproperties: \
 	logback.configurationFile=file:${.}/logback.xml,\
 	osgi.console=, \
+	org.apache.cxf.osgi.http.transport.disable=true,\
 	org.apache.felix.http.host=localhost,\
 	org.osgi.service.http.port=*,\
 	org.apache.aries.spifly.auto.consumers=jakarta.xml.bind-api,\
diff --git a/integrations/jackson/jackson-itest/itest.bndrun b/integrations/jackson/jackson-itest/itest.bndrun
index 31e98ff..36c2165 100644
--- a/integrations/jackson/jackson-itest/itest.bndrun
+++ b/integrations/jackson/jackson-itest/itest.bndrun
@@ -38,6 +38,7 @@
 -runproperties: \
 	logback.configurationFile=file:${.}/logback.xml,\
 	osgi.console=, \
+	org.apache.cxf.osgi.http.transport.disable=true,\
 	org.apache.felix.http.host=localhost,\
 	org.osgi.service.http.port=*
 
diff --git a/integrations/openapi/openapi-itest/itest.bndrun b/integrations/openapi/openapi-itest/itest.bndrun
index b7de7f3..c4b182b 100644
--- a/integrations/openapi/openapi-itest/itest.bndrun
+++ b/integrations/openapi/openapi-itest/itest.bndrun
@@ -39,6 +39,7 @@
 -runproperties: \
 	logback.configurationFile=file:${.}/logback.xml,\
 	osgi.console=, \
+	org.apache.cxf.osgi.http.transport.disable=true,\
 	org.apache.felix.http.host=localhost,\
 	org.osgi.service.http.port=*
 
diff --git a/integrations/shiro/shiro-itest/itest.bndrun b/integrations/shiro/shiro-itest/itest.bndrun
index 944a3d2..25a5a17 100644
--- a/integrations/shiro/shiro-itest/itest.bndrun
+++ b/integrations/shiro/shiro-itest/itest.bndrun
@@ -39,6 +39,7 @@
 
 -runproperties: \
 	logback.configurationFile=file:${.}/src/test/resources/logback.xml,\
+	org.apache.cxf.osgi.http.transport.disable=true,\
 	org.apache.felix.http.host=localhost,\
 	org.osgi.service.http.port=*
 
diff --git a/jax-rs.example/aries-jaxrs-whiteboard-example.bndrun b/jax-rs.example/aries-jaxrs-whiteboard-example.bndrun
index 4cfeb79..84dbcf0 100644
--- a/jax-rs.example/aries-jaxrs-whiteboard-example.bndrun
+++ b/jax-rs.example/aries-jaxrs-whiteboard-example.bndrun
@@ -43,6 +43,7 @@
 -runproperties: \
 	logback.configurationFile=${fileuri;${.}/logback.xml},\
 	osgi.console=, \
+	org.apache.cxf.osgi.http.transport.disable=true,\
 	org.apache.felix.http.host=localhost,\
 	org.osgi.service.http.port=8080,\
 	org.apache.aries.spifly.auto.consumers=jakarta.xml.bind-api,\
diff --git a/jax-rs.example/aries-jaxrs-whiteboard-only.bndrun b/jax-rs.example/aries-jaxrs-whiteboard-only.bndrun
index 8249b0c..db88e87 100644
--- a/jax-rs.example/aries-jaxrs-whiteboard-only.bndrun
+++ b/jax-rs.example/aries-jaxrs-whiteboard-only.bndrun
@@ -42,6 +42,7 @@
 -runproperties: \
 	logback.configurationFile=${fileuri;${.}/logback.xml},\
 	osgi.console=, \
+	org.apache.cxf.osgi.http.transport.disable=true,\
 	org.apache.felix.http.host=localhost,\
 	org.osgi.service.http.port=8080,\
 	org.apache.aries.spifly.auto.consumers=jakarta.xml.bind-api,\
diff --git a/jax-rs.itests/itest.bndrun b/jax-rs.itests/itest.bndrun
index 241278c..7ea500a 100644
--- a/jax-rs.itests/itest.bndrun
+++ b/jax-rs.itests/itest.bndrun
@@ -42,6 +42,7 @@
 -runproperties: \
 	logback.configurationFile=${fileuri;${.}/logback.xml},\
 	osgi.console=, \
+	org.apache.cxf.osgi.http.transport.disable=true,\
 	org.apache.felix.http.host=localhost,\
 	org.osgi.service.http.port=*,\
 	org.apache.aries.spifly.auto.consumers=jakarta.xml.bind-api,\


[aries-jax-rs-whiteboard] 03/03: ARIES-2029 finalize unbundling of cxf

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rotty3000 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/aries-jax-rs-whiteboard.git

commit b177b32861e3298571227bde82bcf08112267bcd
Author: Raymond Auge <ro...@apache.org>
AuthorDate: Sat Jan 9 13:27:48 2021 -0500

    ARIES-2029 finalize unbundling of cxf
    
    Signed-off-by: Raymond Auge <ro...@apache.org>
---
 .../cxf-jettison/cxf-jettison-itest/itest.bndrun   |  20 ++-
 .../cxf-jettison/cxf-jettison-itest/pom.xml        |  18 ---
 .../cxf-jettison/cxf-jettison-jaxrs/bnd.bnd        |  42 +-----
 .../cxf-jettison/cxf-jettison-jaxrs/pom.xml        |  26 ----
 integrations/jackson/jackson-itest/itest.bndrun    |  17 ++-
 integrations/jackson/jackson-itest/pom.xml         |  27 ----
 integrations/jackson/jackson-jaxrs/pom.xml         |  18 +--
 integrations/openapi/openapi-itest/itest.bndrun    |  20 ++-
 integrations/openapi/openapi-itest/pom.xml         |  18 ---
 integrations/openapi/openapi-resource/bnd.bnd      |   4 +-
 integrations/openapi/openapi-resource/pom.xml      |  26 ++--
 integrations/shiro/shiro-authc/bnd.bnd             |   2 +-
 integrations/shiro/shiro-authc/pom.xml             |   8 --
 integrations/shiro/shiro-authz/bnd.bnd             |   2 +-
 integrations/shiro/shiro-authz/pom.xml             |   8 --
 integrations/shiro/shiro-itest/itest.bndrun        |  19 ++-
 integrations/shiro/shiro-itest/pom.xml             |   4 -
 .../aries-jaxrs-whiteboard-example.bndrun          |  17 ++-
 jax-rs.example/aries-jaxrs-whiteboard-only.bndrun  |  17 ++-
 jax-rs.example/pom.xml                             |  49 +------
 jax-rs.itests/itest.bndrun                         |  24 +++-
 jax-rs.itests/pom.xml                              |  26 ----
 jax-rs.itests/src/main/java/test/JaxrsTest.java    |   4 +
 jax-rs.whiteboard/bnd.bnd                          |   5 +-
 jax-rs.whiteboard/pom.xml                          |  40 +-----
 .../activator/CxfJaxrsBundleActivator.java         |   5 +
 .../cxf/jaxrs/client/PromiseRxInvokerImpl.java     |   1 -
 pom.xml                                            | 149 +++++++++++++--------
 28 files changed, 232 insertions(+), 384 deletions(-)

diff --git a/integrations/cxf-jettison/cxf-jettison-itest/itest.bndrun b/integrations/cxf-jettison/cxf-jettison-itest/itest.bndrun
index 15bc100..0ff302b 100644
--- a/integrations/cxf-jettison/cxf-jettison-itest/itest.bndrun
+++ b/integrations/cxf-jettison/cxf-jettison-itest/itest.bndrun
@@ -15,7 +15,6 @@
 #    specific language governing permissions and limitations
 #    under the License.
 
--standalone: true
 -runpath: \
 	ch.qos.logback.classic,\
 	ch.qos.logback.core,\
@@ -32,7 +31,6 @@
 -resolve.effective: resolve, active
 
 -runrequires: \
-	osgi.identity;filter:='(osgi.identity=com.sun.xml.bind.jaxb-osgi)',\
 	osgi.identity;filter:='(osgi.identity=org.apache.aries.jax.rs.jaxb.json.cxf-jettison-itest)'
 
 -runsystemcapabilities: ${native_capability}
@@ -43,27 +41,37 @@
 	org.apache.cxf.osgi.http.transport.disable=true,\
 	org.apache.felix.http.host=localhost,\
 	org.osgi.service.http.port=*,\
-	org.apache.aries.spifly.auto.consumers=jakarta.xml.bind-api,\
-	org.apache.aries.spifly.auto.providers=com.sun.xml.bind.jaxb-osgi
+	org.apache.aries.spifly.auto.consumers=jakarta.*,\
+	org.apache.aries.spifly.auto.providers=com.sun.*
 
 -runbundles: \
+	com.fasterxml.woodstox.woodstox-core;version='[6.2.3,6.2.4)',\
 	com.sun.xml.bind.jaxb-osgi;version='[2.3.3,2.3.4)',\
 	jakarta.xml.bind-api;version='[2.3.3,2.3.4)',\
-	org.apache.aries.jax.rs.itests-fragment;version='[2.0.0,2.0.1)',\
 	org.apache.aries.jax.rs.jaxb.json.cxf-jettison;version='[2.0.0,2.0.1)',\
 	org.apache.aries.jax.rs.jaxb.json.cxf-jettison-itest;version='[2.0.0,2.0.1)',\
 	org.apache.aries.jax.rs.whiteboard;version='[2.0.0,2.0.1)',\
 	org.apache.aries.spifly.dynamic.framework.extension;version='[1.3.2,1.3.3)',\
+	org.apache.cxf.cxf-core;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-frontend-jaxrs;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-rs-client;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-rs-extension-providers;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-rs-sse;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-security;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-transports-http;version='[3.4.2,3.4.3)',\
 	org.apache.felix.configadmin;version='[1.9.20,1.9.21)',\
 	org.apache.felix.http.jetty;version='[4.1.4,4.1.5)',\
 	org.apache.felix.http.servlet-api;version='[1.1.2,1.1.3)',\
 	org.apache.geronimo.specs.geronimo-annotation_1.3_spec;version='[1.3.0,1.3.1)',\
 	org.apache.geronimo.specs.geronimo-jaxrs_2.1_spec;version='[1.1.0,1.1.1)',\
+	org.apache.ws.xmlschema.core;version='[2.2.5,2.2.6)',\
+	org.codehaus.jettison.jettison;version='[1.4.1,1.4.2)',\
 	org.osgi.service.jaxrs;version='[1.0.0,1.0.1)',\
 	org.osgi.util.function;version='[1.1.0,1.1.1)',\
 	org.osgi.util.promise;version='[1.1.1,1.1.2)',\
 	osgi.enroute.hamcrest.wrapper;version='[1.3.0,1.3.1)',\
-	osgi.enroute.junit.wrapper;version='[4.12.0,4.12.1)'
+	osgi.enroute.junit.wrapper;version='[4.12.0,4.12.1)',\
+	stax2-api;version='[4.2.1,4.2.2)'
 
 -runstartlevel: \
 	order=sortbynameversion,\
diff --git a/integrations/cxf-jettison/cxf-jettison-itest/pom.xml b/integrations/cxf-jettison/cxf-jettison-itest/pom.xml
index eade11a..47ffc9b 100644
--- a/integrations/cxf-jettison/cxf-jettison-itest/pom.xml
+++ b/integrations/cxf-jettison/cxf-jettison-itest/pom.xml
@@ -61,20 +61,6 @@
     </build>
     <dependencies>
         <dependency>
-            <groupId>jakarta.xml.bind</groupId>
-            <artifactId>jakarta.xml.bind-api</artifactId>
-            <exclusions>
-                <exclusion>
-                    <groupId>jakarta.activation</groupId>
-                    <artifactId>jakarta.activation-api</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>jakarta.annotation</groupId>
-                    <artifactId>jakarta.annotation-api</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
             <groupId>org.apache.aries.jax.rs</groupId>
             <artifactId>org.apache.aries.jax.rs.whiteboard</artifactId>
             <version>${project.version}</version>
@@ -91,10 +77,6 @@
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.service.jaxrs</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
             <artifactId>osgi.enroute.junit.wrapper</artifactId>
         </dependency>
         <dependency>
diff --git a/integrations/cxf-jettison/cxf-jettison-jaxrs/bnd.bnd b/integrations/cxf-jettison/cxf-jettison-jaxrs/bnd.bnd
index 43cc902..4b1e439 100644
--- a/integrations/cxf-jettison/cxf-jettison-jaxrs/bnd.bnd
+++ b/integrations/cxf-jettison/cxf-jettison-jaxrs/bnd.bnd
@@ -15,44 +15,4 @@
 #    specific language governing permissions and limitations
 #    under the License.
 
-Import-Package:\
-    !com.sun.*,\
-    !javax.cache.*,\
-    !javax.imageio.*,\
-    !javax.json.*,\
-    !javax.jws.*,\
-    !javax.security.*,\
-    !javax.servlet.*,\
-    !javax.tools.*,\
-    !javax.validation.*,\
-    !javax.wsdl.*,\
-    !net.sf.cglib.proxy.*,\
-    !org.apache.abdera.*,\
-    !org.apache.aries.*,\
-    !org.apache.cxf.aegis.*,\
-    !org.apache.log4j.*,\
-    !org.apache.neethi.*,\
-    !org.apache.velocity.*,\
-    !org.apache.xerces.*,\
-    !org.apache.xml.resolver.*,\
-    !org.apache.xmlbeans.*,\
-    !org.atmosphere.*,\
-    !org.dom4j.*,\
-    !org.junit.*,\
-    !org.jvnet.fastinfoset.*,\
-    !org.jvnet.staxex.*,\
-    !org.ietf.jgss.*,\
-    !org.objectweb.asm.*,\
-    !org.osgi.service.blueprint.*,\
-    !org.osgi.service.http,\
-    !org.relaxng.datatype.*,\
-    !org.slf4j.spi.*,\
-    !org.springframework.*,\
-    !org.codehaus.*,\
-    *
-
--includeresource:\
-	lib/component-dsl.jar=org.apache.aries.component-dsl.component-dsl-*.jar;lib:=true,\
-	lib/cxf-rt-rs-extension-providers.jar=cxf-rt-rs-extension-providers-*.jar;lib:=true,\
-	lib/cxf-rt-rs-json-basic.jar=cxf-rt-rs-json-basic-*.jar;lib:=true,\
-	@jettison-*.jar
+-conditionalpackage: org.apache.aries.component.dsl.*
\ No newline at end of file
diff --git a/integrations/cxf-jettison/cxf-jettison-jaxrs/pom.xml b/integrations/cxf-jettison/cxf-jettison-jaxrs/pom.xml
index 9254a16..7441a20 100644
--- a/integrations/cxf-jettison/cxf-jettison-jaxrs/pom.xml
+++ b/integrations/cxf-jettison/cxf-jettison-jaxrs/pom.xml
@@ -31,20 +31,6 @@
 
     <dependencies>
         <dependency>
-            <groupId>jakarta.xml.bind</groupId>
-            <artifactId>jakarta.xml.bind-api</artifactId>
-            <exclusions>
-                <exclusion>
-                    <groupId>jakarta.activation</groupId>
-                    <artifactId>jakarta.activation-api</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>jakarta.annotation</groupId>
-                    <artifactId>jakarta.annotation-api</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
             <groupId>org.apache.aries.component-dsl</groupId>
             <artifactId>org.apache.aries.component-dsl.component-dsl</artifactId>
         </dependency>
@@ -53,22 +39,10 @@
             <artifactId>cxf-rt-rs-extension-providers</artifactId>
         </dependency>
         <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-rt-rs-json-basic</artifactId>
-        </dependency>
-        <dependency>
             <groupId>org.codehaus.jettison</groupId>
             <artifactId>jettison</artifactId>
             <version>1.4.1</version>
         </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.namespace.service</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.service.jaxrs</artifactId>
-        </dependency>
     </dependencies>
 
     <build>
diff --git a/integrations/jackson/jackson-itest/itest.bndrun b/integrations/jackson/jackson-itest/itest.bndrun
index 36c2165..b536f5f 100644
--- a/integrations/jackson/jackson-itest/itest.bndrun
+++ b/integrations/jackson/jackson-itest/itest.bndrun
@@ -15,7 +15,6 @@
 #    specific language governing permissions and limitations
 #    under the License.
 
--standalone: true
 -runpath: \
 	ch.qos.logback.classic,\
 	ch.qos.logback.core,\
@@ -40,7 +39,9 @@
 	osgi.console=, \
 	org.apache.cxf.osgi.http.transport.disable=true,\
 	org.apache.felix.http.host=localhost,\
-	org.osgi.service.http.port=*
+	org.osgi.service.http.port=*,\
+	org.apache.aries.spifly.auto.consumers=jakarta.*,\
+	org.apache.aries.spifly.auto.providers=com.sun.*
 
 -runbundles: \
 	com.fasterxml.jackson.core.jackson-annotations;version='[2.12.1,2.12.2)',\
@@ -49,21 +50,31 @@
 	com.fasterxml.jackson.jaxrs.jackson-jaxrs-base;version='[2.12.1,2.12.2)',\
 	com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider;version='[2.12.1,2.12.2)',\
 	com.fasterxml.jackson.module.jackson-module-jaxb-annotations;version='[2.12.1,2.12.2)',\
+	com.fasterxml.woodstox.woodstox-core;version='[6.2.3,6.2.4)',\
+	com.sun.xml.bind.jaxb-osgi;version='[2.3.3,2.3.4)',\
 	jakarta.xml.bind-api;version='[2.3.3,2.3.4)',\
 	org.apache.aries.jax.rs.jackson;version='[2.0.0,2.0.1)',\
 	org.apache.aries.jax.rs.jackson.itest;version='[2.0.0,2.0.1)',\
 	org.apache.aries.jax.rs.whiteboard;version='[2.0.0,2.0.1)',\
 	org.apache.aries.spifly.dynamic.framework.extension;version='[1.3.2,1.3.3)',\
+	org.apache.cxf.cxf-core;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-frontend-jaxrs;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-rs-client;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-rs-sse;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-security;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-transports-http;version='[3.4.2,3.4.3)',\
 	org.apache.felix.configadmin;version='[1.9.20,1.9.21)',\
 	org.apache.felix.http.jetty;version='[4.1.4,4.1.5)',\
 	org.apache.felix.http.servlet-api;version='[1.1.2,1.1.3)',\
 	org.apache.geronimo.specs.geronimo-annotation_1.3_spec;version='[1.3.0,1.3.1)',\
 	org.apache.geronimo.specs.geronimo-jaxrs_2.1_spec;version='[1.1.0,1.1.1)',\
+	org.apache.ws.xmlschema.core;version='[2.2.5,2.2.6)',\
 	org.osgi.service.jaxrs;version='[1.0.0,1.0.1)',\
 	org.osgi.util.function;version='[1.1.0,1.1.1)',\
 	org.osgi.util.promise;version='[1.1.1,1.1.2)',\
 	osgi.enroute.hamcrest.wrapper;version='[1.3.0,1.3.1)',\
-	osgi.enroute.junit.wrapper;version='[4.12.0,4.12.1)'
+	osgi.enroute.junit.wrapper;version='[4.12.0,4.12.1)',\
+	stax2-api;version='[4.2.1,4.2.2)'
 
 -runstartlevel: \
 	order=sortbynameversion,\
diff --git a/integrations/jackson/jackson-itest/pom.xml b/integrations/jackson/jackson-itest/pom.xml
index 02675f8..fc38c5b 100644
--- a/integrations/jackson/jackson-itest/pom.xml
+++ b/integrations/jackson/jackson-itest/pom.xml
@@ -63,20 +63,6 @@
     </build>
     <dependencies>
         <dependency>
-            <groupId>jakarta.xml.bind</groupId>
-            <artifactId>jakarta.xml.bind-api</artifactId>
-            <exclusions>
-                <exclusion>
-                    <groupId>jakarta.activation</groupId>
-                    <artifactId>jakarta.activation-api</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>jakarta.annotation</groupId>
-                    <artifactId>jakarta.annotation-api</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
             <groupId>org.apache.aries.jax.rs</groupId>
             <artifactId>org.apache.aries.jax.rs.whiteboard</artifactId>
             <version>${project.version}</version>
@@ -86,11 +72,6 @@
             <groupId>org.apache.aries.jax.rs</groupId>
             <artifactId>org.apache.aries.jax.rs.jackson</artifactId>
             <version>${project.version}</version>
-            <scope>runtime</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.geronimo.specs</groupId>
-            <artifactId>geronimo-jaxrs_2.1_spec</artifactId>
         </dependency>
         <dependency>
             <groupId>org.apache.geronimo.specs</groupId>
@@ -102,14 +83,6 @@
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.service.http.whiteboard</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.service.jaxrs</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
             <artifactId>osgi.enroute.junit.wrapper</artifactId>
         </dependency>
         <dependency>
diff --git a/integrations/jackson/jackson-jaxrs/pom.xml b/integrations/jackson/jackson-jaxrs/pom.xml
index 8700537..4ebe27c 100644
--- a/integrations/jackson/jackson-jaxrs/pom.xml
+++ b/integrations/jackson/jackson-jaxrs/pom.xml
@@ -36,19 +36,21 @@
             <groupId>com.fasterxml.jackson.jaxrs</groupId>
             <artifactId>jackson-jaxrs-json-provider</artifactId>
             <version>${jackson.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>jakarta.xml.bind</groupId>
+                    <artifactId>jakarta.xml.bind-api</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>jakarta.activation</groupId>
+                    <artifactId>jakarta.activation-api</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.apache.aries.component-dsl</groupId>
             <artifactId>org.apache.aries.component-dsl.component-dsl</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.namespace.service</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.service.jaxrs</artifactId>
-        </dependency>
     </dependencies>
 
     <build>
diff --git a/integrations/openapi/openapi-itest/itest.bndrun b/integrations/openapi/openapi-itest/itest.bndrun
index c4b182b..29d3b48 100644
--- a/integrations/openapi/openapi-itest/itest.bndrun
+++ b/integrations/openapi/openapi-itest/itest.bndrun
@@ -15,7 +15,6 @@
 #    specific language governing permissions and limitations
 #    under the License.
 
--standalone: true
 -runpath: \
 	ch.qos.logback.classic,\
 	ch.qos.logback.core,\
@@ -27,6 +26,9 @@
 	org.slf4j.helpers;version=${slf4j.version},\
 	org.slf4j.spi;version=${slf4j.version}
 
+-runblacklist: \
+	osgi.identity;filter:='(&(osgi.identity=org.apache.commons.lang3)(version<3.7))'
+
 -runfw: org.eclipse.osgi
 
 -resolve.effective: resolve, active
@@ -41,7 +43,9 @@
 	osgi.console=, \
 	org.apache.cxf.osgi.http.transport.disable=true,\
 	org.apache.felix.http.host=localhost,\
-	org.osgi.service.http.port=*
+	org.osgi.service.http.port=*,\
+	org.apache.aries.spifly.auto.consumers=jakarta.*,\
+	org.apache.aries.spifly.auto.providers=com.sun.*
 
 -runbundles: \
 	com.fasterxml.jackson.core.jackson-annotations;version='[2.10.1,2.10.2)',\
@@ -49,6 +53,8 @@
 	com.fasterxml.jackson.core.jackson-databind;version='[2.10.1,2.10.2)',\
 	com.fasterxml.jackson.dataformat.jackson-dataformat-yaml;version='[2.10.1,2.10.2)',\
 	com.fasterxml.jackson.datatype.jackson-datatype-jsr310;version='[2.10.1,2.10.2)',\
+	com.fasterxml.woodstox.woodstox-core;version='[6.2.3,6.2.4)',\
+	com.sun.xml.bind.jaxb-osgi;version='[2.3.3,2.3.4)',\
 	io.github.classgraph.classgraph;version='[4.6.32,4.6.33)',\
 	io.swagger.core.v3.swagger-annotations;version='[2.1.0,2.1.1)',\
 	io.swagger.core.v3.swagger-core;version='[2.1.0,2.1.1)',\
@@ -62,17 +68,25 @@
 	org.apache.aries.jax.rs.whiteboard;version='[2.0.0,2.0.1)',\
 	org.apache.aries.spifly.dynamic.framework.extension;version='[1.3.2,1.3.3)',\
 	org.apache.commons.lang3;version='[3.11.0,3.11.1)',\
+	org.apache.cxf.cxf-core;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-frontend-jaxrs;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-rs-client;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-rs-sse;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-security;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-transports-http;version='[3.4.2,3.4.3)',\
 	org.apache.felix.configadmin;version='[1.9.20,1.9.21)',\
 	org.apache.felix.http.jetty;version='[4.1.4,4.1.5)',\
 	org.apache.felix.http.servlet-api;version='[1.1.2,1.1.3)',\
 	org.apache.geronimo.specs.geronimo-annotation_1.3_spec;version='[1.3.0,1.3.1)',\
 	org.apache.geronimo.specs.geronimo-jaxrs_2.1_spec;version='[1.1.0,1.1.1)',\
+	org.apache.ws.xmlschema.core;version='[2.2.5,2.2.6)',\
 	org.osgi.service.jaxrs;version='[1.0.0,1.0.1)',\
 	org.osgi.util.function;version='[1.1.0,1.1.1)',\
 	org.osgi.util.promise;version='[1.1.1,1.1.2)',\
 	org.yaml.snakeyaml;version='[1.24.0,1.24.1)',\
 	osgi.enroute.hamcrest.wrapper;version='[1.3.0,1.3.1)',\
-	osgi.enroute.junit.wrapper;version='[4.12.0,4.12.1)'
+	osgi.enroute.junit.wrapper;version='[4.12.0,4.12.1)',\
+	stax2-api;version='[4.2.1,4.2.2)'
 
 -runstartlevel: \
 	order=sortbynameversion,\
diff --git a/integrations/openapi/openapi-itest/pom.xml b/integrations/openapi/openapi-itest/pom.xml
index 45a87c7..384f552 100644
--- a/integrations/openapi/openapi-itest/pom.xml
+++ b/integrations/openapi/openapi-itest/pom.xml
@@ -63,11 +63,6 @@
     </build>
     <dependencies>
         <dependency>
-            <groupId>io.swagger.core.v3</groupId>
-            <artifactId>swagger-jaxrs2</artifactId>
-            <version>${openapi.version}</version>
-        </dependency>
-        <dependency>
             <groupId>org.assertj</groupId>
             <artifactId>assertj-core</artifactId>
             <version>3.18.1</version>
@@ -88,11 +83,6 @@
             <groupId>org.apache.aries.jax.rs</groupId>
             <artifactId>org.apache.aries.jax.rs.openapi.resource</artifactId>
             <version>${project.version}</version>
-            <scope>runtime</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.geronimo.specs</groupId>
-            <artifactId>geronimo-jaxrs_2.1_spec</artifactId>
         </dependency>
         <dependency>
             <groupId>org.apache.geronimo.specs</groupId>
@@ -104,14 +94,6 @@
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.service.http.whiteboard</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.service.jaxrs</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
             <artifactId>osgi.enroute.junit.wrapper</artifactId>
         </dependency>
         <dependency>
diff --git a/integrations/openapi/openapi-resource/bnd.bnd b/integrations/openapi/openapi-resource/bnd.bnd
index 4b04e7a..13ef2e7 100644
--- a/integrations/openapi/openapi-resource/bnd.bnd
+++ b/integrations/openapi/openapi-resource/bnd.bnd
@@ -15,8 +15,6 @@
 #    specific language governing permissions and limitations
 #    under the License.
 
-# Ideally we would not include this, but for some reason the Shiro JAX-RS
-# Support is not an OSGi bundle
-
 Export-Package: org.apache.aries.jaxrs.openapi;version=${openapi.version}
+
 -conditionalpackage: org.apache.aries.component.dsl.*
\ No newline at end of file
diff --git a/integrations/openapi/openapi-resource/pom.xml b/integrations/openapi/openapi-resource/pom.xml
index 088ef3f..07509c3 100644
--- a/integrations/openapi/openapi-resource/pom.xml
+++ b/integrations/openapi/openapi-resource/pom.xml
@@ -33,20 +33,6 @@
 
     <dependencies>
         <dependency>
-            <groupId>jakarta.xml.bind</groupId>
-            <artifactId>jakarta.xml.bind-api</artifactId>
-            <exclusions>
-                <exclusion>
-                    <groupId>jakarta.activation</groupId>
-                    <artifactId>jakarta.activation-api</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>jakarta.annotation</groupId>
-                    <artifactId>jakarta.annotation-api</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
             <groupId>org.apache.aries.jax.rs</groupId>
             <artifactId>org.apache.aries.jax.rs.whiteboard</artifactId>
             <version>${project.version}</version>
@@ -65,15 +51,19 @@
             <version>${openapi.version}</version>
             <exclusions>
                 <exclusion>
+                    <groupId>jakarta.xml.bind</groupId>
+                    <artifactId>jakarta.xml.bind-api</artifactId>
+                </exclusion>
+                <exclusion>
                     <groupId>javax.xml.bind</groupId>
                     <artifactId>jaxb-api</artifactId>
                 </exclusion>
+                <exclusion>
+                    <groupId>jakarta.activation</groupId>
+                    <artifactId>jakarta.activation-api</artifactId>
+                </exclusion>
             </exclusions>
         </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.namespace.service</artifactId>
-        </dependency>
     </dependencies>
 
     <build>
diff --git a/integrations/shiro/shiro-authc/bnd.bnd b/integrations/shiro/shiro-authc/bnd.bnd
index e1f663b..22aae57 100644
--- a/integrations/shiro/shiro-authc/bnd.bnd
+++ b/integrations/shiro/shiro-authc/bnd.bnd
@@ -18,6 +18,6 @@
 # Ideally we would not include this, but for some reason the Shiro JAX-RS
 # Support is not an OSGi bundle
 
-Export-Package: org.apache.shiro.web.jaxrs;version=${shiro.version}
+-includepackage: org.apache.shiro.web.jaxrs;version=${shiro.version}
 
 -conditionalpackage: org.apache.aries.component.dsl.*
diff --git a/integrations/shiro/shiro-authc/pom.xml b/integrations/shiro/shiro-authc/pom.xml
index b24e6ba..d2f1394 100644
--- a/integrations/shiro/shiro-authc/pom.xml
+++ b/integrations/shiro/shiro-authc/pom.xml
@@ -47,14 +47,6 @@
                 </exclusion>
             </exclusions>
         </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.namespace.service</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.service.jaxrs</artifactId>
-        </dependency>
     </dependencies>
 
     <build>
diff --git a/integrations/shiro/shiro-authz/bnd.bnd b/integrations/shiro/shiro-authz/bnd.bnd
index e1f663b..22aae57 100644
--- a/integrations/shiro/shiro-authz/bnd.bnd
+++ b/integrations/shiro/shiro-authz/bnd.bnd
@@ -18,6 +18,6 @@
 # Ideally we would not include this, but for some reason the Shiro JAX-RS
 # Support is not an OSGi bundle
 
-Export-Package: org.apache.shiro.web.jaxrs;version=${shiro.version}
+-includepackage: org.apache.shiro.web.jaxrs;version=${shiro.version}
 
 -conditionalpackage: org.apache.aries.component.dsl.*
diff --git a/integrations/shiro/shiro-authz/pom.xml b/integrations/shiro/shiro-authz/pom.xml
index 181b809..72bafe0 100644
--- a/integrations/shiro/shiro-authz/pom.xml
+++ b/integrations/shiro/shiro-authz/pom.xml
@@ -47,14 +47,6 @@
                 </exclusion>
             </exclusions>
         </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.namespace.service</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.service.jaxrs</artifactId>
-        </dependency>
     </dependencies>
 
     <build>
diff --git a/integrations/shiro/shiro-itest/itest.bndrun b/integrations/shiro/shiro-itest/itest.bndrun
index 25a5a17..d4f961f 100644
--- a/integrations/shiro/shiro-itest/itest.bndrun
+++ b/integrations/shiro/shiro-itest/itest.bndrun
@@ -15,7 +15,6 @@
 #    specific language governing permissions and limitations
 #    under the License.
 
--standalone: true
 -runpath: \
 	ch.qos.logback.classic,\
 	ch.qos.logback.core,\
@@ -33,7 +32,7 @@
 
 -runrequires: \
 	osgi.identity;filter:='(osgi.identity=org.apache.aries.jax.rs.shiro.itest)',\
-	org.apache.felix.gogo;filter:='(implementation.name=gogo.shell)'
+	osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.command)'
 
 -runsystemcapabilities: ${native_capability}
 
@@ -41,15 +40,25 @@
 	logback.configurationFile=file:${.}/src/test/resources/logback.xml,\
 	org.apache.cxf.osgi.http.transport.disable=true,\
 	org.apache.felix.http.host=localhost,\
-	org.osgi.service.http.port=*
+	org.osgi.service.http.port=*,\
+	org.apache.aries.spifly.auto.consumers=jakarta.*,\
+	org.apache.aries.spifly.auto.providers=com.sun.*
 
 -runbundles: \
+	com.fasterxml.woodstox.woodstox-core;version='[6.2.3,6.2.4)',\
+	com.sun.xml.bind.jaxb-osgi;version='[2.3.3,2.3.4)',\
 	jakarta.xml.bind-api;version='[2.3.3,2.3.4)',\
 	org.apache.aries.jax.rs.shiro.authc;version='[2.0.0,2.0.1)',\
 	org.apache.aries.jax.rs.shiro.authz;version='[2.0.0,2.0.1)',\
 	org.apache.aries.jax.rs.shiro.itest;version='[2.0.0,2.0.1)',\
 	org.apache.aries.jax.rs.whiteboard;version='[2.0.0,2.0.1)',\
 	org.apache.aries.spifly.dynamic.framework.extension;version='[1.3.2,1.3.3)',\
+	org.apache.cxf.cxf-core;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-frontend-jaxrs;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-rs-client;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-rs-sse;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-security;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-transports-http;version='[3.4.2,3.4.3)',\
 	org.apache.felix.configadmin;version='[1.9.20,1.9.21)',\
 	org.apache.felix.gogo.command;version='[1.1.2,1.1.3)',\
 	org.apache.felix.gogo.runtime;version='[1.1.4,1.1.5)',\
@@ -60,11 +69,13 @@
 	org.apache.geronimo.specs.geronimo-jaxrs_2.1_spec;version='[1.1.0,1.1.1)',\
 	org.apache.shiro.core;version='[1.7.0,1.7.1)',\
 	org.apache.shiro.lang;version='[1.7.0,1.7.1)',\
+	org.apache.ws.xmlschema.core;version='[2.2.5,2.2.6)',\
 	org.osgi.service.jaxrs;version='[1.0.0,1.0.1)',\
 	org.osgi.util.function;version='[1.1.0,1.1.1)',\
 	org.osgi.util.promise;version='[1.1.1,1.1.2)',\
 	osgi.enroute.hamcrest.wrapper;version='[1.3.0,1.3.1)',\
-	osgi.enroute.junit.wrapper;version='[4.12.0,4.12.1)'
+	osgi.enroute.junit.wrapper;version='[4.12.0,4.12.1)',\
+	stax2-api;version='[4.2.1,4.2.2)'
 
 -runstartlevel: \
 	order=sortbynameversion,\
diff --git a/integrations/shiro/shiro-itest/pom.xml b/integrations/shiro/shiro-itest/pom.xml
index 3466140..6d09acf 100644
--- a/integrations/shiro/shiro-itest/pom.xml
+++ b/integrations/shiro/shiro-itest/pom.xml
@@ -90,10 +90,6 @@
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.service.jaxrs</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
             <artifactId>osgi.enroute.junit.wrapper</artifactId>
         </dependency>
         <dependency>
diff --git a/jax-rs.example/aries-jaxrs-whiteboard-example.bndrun b/jax-rs.example/aries-jaxrs-whiteboard-example.bndrun
index 84dbcf0..d2e60dd 100644
--- a/jax-rs.example/aries-jaxrs-whiteboard-example.bndrun
+++ b/jax-rs.example/aries-jaxrs-whiteboard-example.bndrun
@@ -15,7 +15,6 @@
 #    specific language governing permissions and limitations
 #    under the License.
 
--standalone: true
 -runpath: \
 	ch.qos.logback.classic,\
 	ch.qos.logback.core,\
@@ -35,7 +34,6 @@
 -resolve.effective: resolve, active
 
 -runrequires: \
-	osgi.identity;filter:='(osgi.identity=com.sun.xml.bind.jaxb-osgi)',\
 	osgi.identity;filter:='(osgi.identity=org.apache.aries.jax.rs.example)',\
 	osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.command)'
 
@@ -46,15 +44,22 @@
 	org.apache.cxf.osgi.http.transport.disable=true,\
 	org.apache.felix.http.host=localhost,\
 	org.osgi.service.http.port=8080,\
-	org.apache.aries.spifly.auto.consumers=jakarta.xml.bind-api,\
-	org.apache.aries.spifly.auto.providers=com.sun.xml.bind.jaxb-osgi
+	org.apache.aries.spifly.auto.consumers=jakarta.*,\
+	org.apache.aries.spifly.auto.providers=com.sun.*
 
 -runbundles: \
+	com.fasterxml.woodstox.woodstox-core;version='[6.2.3,6.2.4)',\
 	com.sun.xml.bind.jaxb-osgi;version='[2.3.3,2.3.4)',\
 	jakarta.xml.bind-api;version='[2.3.3,2.3.4)',\
 	org.apache.aries.jax.rs.example;version='[2.0.0,2.0.1)',\
 	org.apache.aries.jax.rs.whiteboard;version='[2.0.0,2.0.1)',\
 	org.apache.aries.spifly.dynamic.framework.extension;version='[1.3.2,1.3.3)',\
+	org.apache.cxf.cxf-core;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-frontend-jaxrs;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-rs-client;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-rs-sse;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-security;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-transports-http;version='[3.4.2,3.4.3)',\
 	org.apache.felix.configadmin;version='[1.9.20,1.9.21)',\
 	org.apache.felix.gogo.command;version='[1.1.2,1.1.3)',\
 	org.apache.felix.gogo.runtime;version='[1.1.4,1.1.5)',\
@@ -64,9 +69,11 @@
 	org.apache.felix.scr;version='[2.1.24,2.1.25)',\
 	org.apache.geronimo.specs.geronimo-annotation_1.3_spec;version='[1.3.0,1.3.1)',\
 	org.apache.geronimo.specs.geronimo-jaxrs_2.1_spec;version='[1.1.0,1.1.1)',\
+	org.apache.ws.xmlschema.core;version='[2.2.5,2.2.6)',\
 	org.osgi.service.jaxrs;version='[1.0.0,1.0.1)',\
 	org.osgi.util.function;version='[1.1.0,1.1.1)',\
-	org.osgi.util.promise;version='[1.1.1,1.1.2)'
+	org.osgi.util.promise;version='[1.1.1,1.1.2)',\
+	stax2-api;version='[4.2.1,4.2.2)'
 
 -runstartlevel: \
 	order=sortbynameversion,\
diff --git a/jax-rs.example/aries-jaxrs-whiteboard-only.bndrun b/jax-rs.example/aries-jaxrs-whiteboard-only.bndrun
index db88e87..c339444 100644
--- a/jax-rs.example/aries-jaxrs-whiteboard-only.bndrun
+++ b/jax-rs.example/aries-jaxrs-whiteboard-only.bndrun
@@ -15,7 +15,6 @@
 #    specific language governing permissions and limitations
 #    under the License.
 
--standalone: true
 -runpath: \
 	ch.qos.logback.classic,\
 	ch.qos.logback.core,\
@@ -35,7 +34,6 @@
 -resolve.effective: resolve, active
 
 -runrequires: \
-	osgi.identity;filter:='(osgi.identity=com.sun.xml.bind.jaxb-osgi)',\
 	osgi.identity;filter:='(osgi.identity=org.apache.aries.jax.rs.whiteboard)'
 
 -runsystemcapabilities: ${native_capability}
@@ -45,22 +43,31 @@
 	org.apache.cxf.osgi.http.transport.disable=true,\
 	org.apache.felix.http.host=localhost,\
 	org.osgi.service.http.port=8080,\
-	org.apache.aries.spifly.auto.consumers=jakarta.xml.bind-api,\
-	org.apache.aries.spifly.auto.providers=com.sun.xml.bind.jaxb-osgi
+	org.apache.aries.spifly.auto.consumers=jakarta.*,\
+	org.apache.aries.spifly.auto.providers=com.sun.*
 
 -runbundles: \
+	com.fasterxml.woodstox.woodstox-core;version='[6.2.3,6.2.4)',\
 	com.sun.xml.bind.jaxb-osgi;version='[2.3.3,2.3.4)',\
 	jakarta.xml.bind-api;version='[2.3.3,2.3.4)',\
 	org.apache.aries.jax.rs.whiteboard;version='[2.0.0,2.0.1)',\
 	org.apache.aries.spifly.dynamic.framework.extension;version='[1.3.2,1.3.3)',\
+	org.apache.cxf.cxf-core;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-frontend-jaxrs;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-rs-client;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-rs-sse;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-security;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-transports-http;version='[3.4.2,3.4.3)',\
 	org.apache.felix.configadmin;version='[1.9.20,1.9.21)',\
 	org.apache.felix.http.jetty;version='[4.1.4,4.1.5)',\
 	org.apache.felix.http.servlet-api;version='[1.1.2,1.1.3)',\
 	org.apache.geronimo.specs.geronimo-annotation_1.3_spec;version='[1.3.0,1.3.1)',\
 	org.apache.geronimo.specs.geronimo-jaxrs_2.1_spec;version='[1.1.0,1.1.1)',\
+	org.apache.ws.xmlschema.core;version='[2.2.5,2.2.6)',\
 	org.osgi.service.jaxrs;version='[1.0.0,1.0.1)',\
 	org.osgi.util.function;version='[1.1.0,1.1.1)',\
-	org.osgi.util.promise;version='[1.1.1,1.1.2)'
+	org.osgi.util.promise;version='[1.1.1,1.1.2)',\
+	stax2-api;version='[4.2.1,4.2.2)'
 
 -runstartlevel: \
 	order=sortbynameversion,\
diff --git a/jax-rs.example/pom.xml b/jax-rs.example/pom.xml
index 88f6124..16883ba 100644
--- a/jax-rs.example/pom.xml
+++ b/jax-rs.example/pom.xml
@@ -81,27 +81,10 @@
     </build>
     <dependencies>
         <dependency>
-            <groupId>jakarta.xml.bind</groupId>
-            <artifactId>jakarta.xml.bind-api</artifactId>
-            <exclusions>
-                <exclusion>
-                    <groupId>jakarta.activation</groupId>
-                    <artifactId>jakarta.activation-api</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>jakarta.annotation</groupId>
-                    <artifactId>jakarta.annotation-api</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-rt-frontend-jaxrs</artifactId>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.service.component.annotations</artifactId>
         </dependency>
+
         <dependency>
             <groupId>org.apache.felix</groupId>
             <artifactId>org.apache.felix.scr</artifactId>
@@ -113,31 +96,5 @@
             <version>${project.version}</version>
             <scope>runtime</scope>
         </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.service.cm</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.service.component.annotations</artifactId>
-            <version>1.4.0</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.service.http.whiteboard</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.service.jaxrs</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.util.function</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.util.promise</artifactId>
-        </dependency>
     </dependencies>
 </project>
diff --git a/jax-rs.itests/itest.bndrun b/jax-rs.itests/itest.bndrun
index 7ea500a..9aa3231 100644
--- a/jax-rs.itests/itest.bndrun
+++ b/jax-rs.itests/itest.bndrun
@@ -15,7 +15,6 @@
 #    specific language governing permissions and limitations
 #    under the License.
 
--standalone: true
 -runpath: \
 	ch.qos.logback.classic,\
 	ch.qos.logback.core,\
@@ -35,8 +34,8 @@
 -resolve.effective: resolve, active
 
 -runrequires: \
-	osgi.identity;filter:='(osgi.identity=com.sun.xml.bind.jaxb-osgi)',\
-	osgi.identity;filter:='(osgi.identity=org.apache.aries.jax.rs.itests)'
+	osgi.identity;filter:='(osgi.identity=org.apache.aries.jax.rs.itests)',\
+	osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.command)'
 
 -runsystemcapabilities: ${native_capability}
 -runproperties: \
@@ -45,26 +44,37 @@
 	org.apache.cxf.osgi.http.transport.disable=true,\
 	org.apache.felix.http.host=localhost,\
 	org.osgi.service.http.port=*,\
-	org.apache.aries.spifly.auto.consumers=jakarta.xml.bind-api,\
-	org.apache.aries.spifly.auto.providers=com.sun.xml.bind.jaxb-osgi
+	org.apache.aries.spifly.auto.consumers=jakarta.*,\
+	org.apache.aries.spifly.auto.providers=com.sun.*
 
 -runbundles: \
+	com.fasterxml.woodstox.woodstox-core;version='[6.2.3,6.2.4)',\
 	com.sun.xml.bind.jaxb-osgi;version='[2.3.3,2.3.4)',\
 	jakarta.xml.bind-api;version='[2.3.3,2.3.4)',\
 	org.apache.aries.jax.rs.itests;version='[2.0.0,2.0.1)',\
-	org.apache.aries.jax.rs.itests-fragment;version='[2.0.0,2.0.1)',\
 	org.apache.aries.jax.rs.whiteboard;version='[2.0.0,2.0.1)',\
 	org.apache.aries.spifly.dynamic.framework.extension;version='[1.3.2,1.3.3)',\
+	org.apache.cxf.cxf-core;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-frontend-jaxrs;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-rs-client;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-rs-sse;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-security;version='[3.4.2,3.4.3)',\
+	org.apache.cxf.cxf-rt-transports-http;version='[3.4.2,3.4.3)',\
 	org.apache.felix.configadmin;version='[1.9.20,1.9.21)',\
+	org.apache.felix.gogo.command;version='[1.1.2,1.1.3)',\
+	org.apache.felix.gogo.runtime;version='[1.1.4,1.1.5)',\
+	org.apache.felix.gogo.shell;version='[1.1.4,1.1.5)',\
 	org.apache.felix.http.jetty;version='[4.1.4,4.1.5)',\
 	org.apache.felix.http.servlet-api;version='[1.1.2,1.1.3)',\
 	org.apache.geronimo.specs.geronimo-annotation_1.3_spec;version='[1.3.0,1.3.1)',\
 	org.apache.geronimo.specs.geronimo-jaxrs_2.1_spec;version='[1.1.0,1.1.1)',\
+	org.apache.ws.xmlschema.core;version='[2.2.5,2.2.6)',\
 	org.osgi.service.jaxrs;version='[1.0.0,1.0.1)',\
 	org.osgi.util.function;version='[1.1.0,1.1.1)',\
 	org.osgi.util.promise;version='[1.1.1,1.1.2)',\
 	osgi.enroute.hamcrest.wrapper;version='[1.3.0,1.3.1)',\
-	osgi.enroute.junit.wrapper;version='[4.12.0,4.12.1)'
+	osgi.enroute.junit.wrapper;version='[4.12.0,4.12.1)',\
+	stax2-api;version='[4.2.1,4.2.2)'
 
 -runstartlevel: \
 	order=sortbynameversion,\
diff --git a/jax-rs.itests/pom.xml b/jax-rs.itests/pom.xml
index cc88352..58d2dcd 100644
--- a/jax-rs.itests/pom.xml
+++ b/jax-rs.itests/pom.xml
@@ -68,28 +68,6 @@
     </build>
     <dependencies>
         <dependency>
-            <groupId>jakarta.xml.bind</groupId>
-            <artifactId>jakarta.xml.bind-api</artifactId>
-            <exclusions>
-                <exclusion>
-                    <groupId>jakarta.activation</groupId>
-                    <artifactId>jakarta.activation-api</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>jakarta.annotation</groupId>
-                    <artifactId>jakarta.annotation-api</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-rt-frontend-jaxrs</artifactId>
-        </dependency>
-        <dependency>
             <groupId>org.apache.aries.jax.rs</groupId>
             <artifactId>org.apache.aries.jax.rs.whiteboard</artifactId>
             <version>${project.version}</version>
@@ -104,10 +82,6 @@
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.service.jaxrs</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
             <artifactId>org.osgi.util.function</artifactId>
         </dependency>
         <dependency>
diff --git a/jax-rs.itests/src/main/java/test/JaxrsTest.java b/jax-rs.itests/src/main/java/test/JaxrsTest.java
index 5f8ef66..3723d41 100644
--- a/jax-rs.itests/src/main/java/test/JaxrsTest.java
+++ b/jax-rs.itests/src/main/java/test/JaxrsTest.java
@@ -2369,6 +2369,8 @@ public class JaxrsTest extends TestHelper {
         runtimeDTO = runtime.getRuntimeDTO();
         assertEquals(0, runtimeDTO.failedResourceDTOs.length);
 
+        response = webTarget.request().get();
+
         assertEquals(
             "This should say hello", "Hello test",
             response.readEntity(String.class));
@@ -2452,6 +2454,8 @@ public class JaxrsTest extends TestHelper {
         runtimeDTO = runtime.getRuntimeDTO();
         assertEquals(0, runtimeDTO.failedResourceDTOs.length);
 
+        response = webTarget.request().get();
+
         assertEquals(
                 "This should say hello", "Hello test",
                 response.readEntity(String.class));
diff --git a/jax-rs.whiteboard/bnd.bnd b/jax-rs.whiteboard/bnd.bnd
index edd641e..2926951 100644
--- a/jax-rs.whiteboard/bnd.bnd
+++ b/jax-rs.whiteboard/bnd.bnd
@@ -15,7 +15,6 @@
 #    specific language governing permissions and limitations
 #    under the License.
 
-Conditional-Package: org.apache.aries.component.dsl.*
-Import-Package: org.apache.cxf.jaxrs.client,*
+Provide-Capability: osgi.implementation;osgi.implementation="aries.jax-rs";version:Version="${Bundle-Version}"
 
-Provide-Capability: osgi.implementation;osgi.implementation="aries.jax-rs";version:Version="${Bundle-Version}"
\ No newline at end of file
+-conditionalpackage: org.apache.aries.component.dsl.*
\ No newline at end of file
diff --git a/jax-rs.whiteboard/pom.xml b/jax-rs.whiteboard/pom.xml
index 5bb1a15..7c683d6 100644
--- a/jax-rs.whiteboard/pom.xml
+++ b/jax-rs.whiteboard/pom.xml
@@ -31,34 +31,10 @@
 
     <dependencies>
         <dependency>
-            <groupId>biz.aQute.bnd</groupId>
-            <artifactId>biz.aQute.bnd.annotation</artifactId>
-            <version>${bnd.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>jakarta.xml.bind</groupId>
-            <artifactId>jakarta.xml.bind-api</artifactId>
-            <exclusions>
-                <exclusion>
-                    <groupId>jakarta.activation</groupId>
-                    <artifactId>jakarta.activation-api</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>jakarta.annotation</groupId>
-                    <artifactId>jakarta.annotation-api</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
             <groupId>org.apache.aries.component-dsl</groupId>
             <artifactId>org.apache.aries.component-dsl.component-dsl</artifactId>
         </dependency>
         <dependency>
-            <groupId>org.apache.geronimo.specs</groupId>
-            <artifactId>geronimo-annotation_1.3_spec</artifactId>
-        </dependency>
-        <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-rs-client</artifactId>
         </dependency>
@@ -67,16 +43,12 @@
             <artifactId>cxf-rt-rs-sse</artifactId>
         </dependency>
         <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-tools-common</artifactId>
-        </dependency>
-        <dependency>
             <groupId>org.apache.felix</groupId>
             <artifactId>org.apache.felix.http.servlet-api</artifactId>
         </dependency>
         <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.namespace.extender</artifactId>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-annotation_1.3_spec</artifactId>
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
@@ -84,18 +56,10 @@
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.namespace.service</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
             <artifactId>org.osgi.service.http.whiteboard</artifactId>
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.service.jaxrs</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
             <artifactId>org.osgi.util.promise</artifactId>
         </dependency>
         <dependency>
diff --git a/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/activator/CxfJaxrsBundleActivator.java b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/activator/CxfJaxrsBundleActivator.java
index 6dfdd45..44ab2c2 100644
--- a/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/activator/CxfJaxrsBundleActivator.java
+++ b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/activator/CxfJaxrsBundleActivator.java
@@ -65,6 +65,11 @@ import static org.osgi.service.http.whiteboard.HttpWhiteboardConstants.HTTP_WHIT
 @Header(name = Constants.BUNDLE_ACTIVATOR, value = "${@class}")
 public class CxfJaxrsBundleActivator implements BundleActivator {
 
+    public static final List<Class<?>> INTERNALLY_REQUIRED_CLASSES = Arrays.asList(
+        com.ctc.wstx.stax.WstxInputFactory.class,
+        com.sun.xml.bind.annotation.XmlLocation.class
+    );
+
     private static final Logger _log = LoggerFactory.getLogger(
         CxfJaxrsBundleActivator.class);
 
diff --git a/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/cxf/jaxrs/client/PromiseRxInvokerImpl.java b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/cxf/jaxrs/client/PromiseRxInvokerImpl.java
index fc7781f..7ad5dc3 100644
--- a/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/cxf/jaxrs/client/PromiseRxInvokerImpl.java
+++ b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/cxf/jaxrs/client/PromiseRxInvokerImpl.java
@@ -29,7 +29,6 @@ import org.osgi.util.promise.Deferred;
 import org.osgi.util.promise.Promise;
 import org.osgi.util.promise.PromiseFactory;
 
-import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Method;
 import java.lang.reflect.Type;
 
diff --git a/pom.xml b/pom.xml
index 87ed0d9..674bdc7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,7 +42,7 @@
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 
         <bnd.version>5.1.2</bnd.version>
-        <cxf.version>3.2.14</cxf.version>
+        <cxf.version>3.4.2</cxf.version>
         <dsl.version>1.2.2</dsl.version>
         <jackson.version>2.12.1</jackson.version>
         <jaxb.version>2.3.3</jaxb.version>
@@ -69,6 +69,12 @@
     <dependencyManagement>
         <dependencies>
             <dependency>
+                <groupId>biz.aQute.bnd</groupId>
+                <artifactId>biz.aQute.bnd.annotation</artifactId>
+                <version>${bnd.version}</version>
+                <scope>provided</scope>
+            </dependency>
+            <dependency>
                 <groupId>ch.qos.logback</groupId>
                 <artifactId>logback-classic</artifactId>
                 <version>1.2.3</version>
@@ -76,33 +82,31 @@
             </dependency>
             <dependency>
                 <groupId>org.apache.cxf</groupId>
-                <artifactId>cxf-core</artifactId>
-                <version>${cxf.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-tools-common</artifactId>
                 <version>${cxf.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.cxf</groupId>
-                <artifactId>cxf-rt-databinding-jaxb</artifactId>
-                <version>${cxf.version}</version>
                 <exclusions>
                     <exclusion>
-                        <groupId>org.ow2.asm</groupId>
-                        <artifactId>asm</artifactId>
+                        <groupId>org.apache.velocity</groupId>
+                        <artifactId>velocity-engine-core</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>jakarta.xml.bind</groupId>
+                        <artifactId>jakarta.xml.bind-api</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>com.sun.activation</groupId>
+                        <artifactId>jakarta.activation</artifactId>
                     </exclusion>
                 </exclusions>
             </dependency>
             <dependency>
                 <groupId>org.apache.cxf</groupId>
-                <artifactId>cxf-rt-frontend-jaxrs</artifactId>
+                <artifactId>cxf-rt-databinding-jaxb</artifactId>
                 <version>${cxf.version}</version>
                 <exclusions>
                     <exclusion>
-                        <groupId>javax.ws.rs</groupId>
-                        <artifactId>javax.ws.rs-api</artifactId>
+                        <groupId>org.ow2.asm</groupId>
+                        <artifactId>asm</artifactId>
                     </exclusion>
                 </exclusions>
             </dependency>
@@ -117,13 +121,25 @@
                 <version>${cxf.version}</version>
                 <exclusions>
                     <exclusion>
-                        <groupId>javax.annotation</groupId>
-                        <artifactId>javax.annotation-api</artifactId>
+                        <groupId>com.sun.activation</groupId>
+                        <artifactId>jakarta.activation</artifactId>
                     </exclusion>
                     <exclusion>
                         <groupId>javax.ws.rs</groupId>
                         <artifactId>javax.ws.rs-api</artifactId>
                     </exclusion>
+                    <exclusion>
+                        <groupId>jakarta.annotation</groupId>
+                        <artifactId>jakarta.annotation-api</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>jakarta.ws.rs</groupId>
+                        <artifactId>jakarta.ws.rs-api</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>jakarta.xml.bind</groupId>
+                        <artifactId>jakarta.xml.bind-api</artifactId>
+                    </exclusion>
                 </exclusions>
             </dependency>
             <dependency>
@@ -132,12 +148,20 @@
                 <version>${cxf.version}</version>
                 <exclusions>
                     <exclusion>
-                        <groupId>javax.annotation</groupId>
-                        <artifactId>javax.annotation-api</artifactId>
+                        <groupId>com.sun.activation</groupId>
+                        <artifactId>jakarta.activation</artifactId>
                     </exclusion>
                     <exclusion>
-                        <groupId>javax.ws.rs</groupId>
-                        <artifactId>javax.ws.rs-api</artifactId>
+                        <groupId>jakarta.annotation</groupId>
+                        <artifactId>jakarta.annotation-api</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>jakarta.ws.rs</groupId>
+                        <artifactId>jakarta.ws.rs-api</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>jakarta.xml.bind</groupId>
+                        <artifactId>jakarta.xml.bind-api</artifactId>
                     </exclusion>
                 </exclusions>
             </dependency>
@@ -268,6 +292,12 @@
             </dependency>
             <dependency>
                 <groupId>org.osgi</groupId>
+                <artifactId>org.osgi.service.component.annotations</artifactId>
+                <version>1.4.0</version>
+                <scope>provided</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.osgi</groupId>
                 <artifactId>org.osgi.service.http.whiteboard</artifactId>
                 <version>1.0.0</version>
                 <scope>provided</scope>
@@ -306,37 +336,6 @@
             </dependency>
 
             <dependency>
-                <groupId>jakarta.xml.ws</groupId>
-                <artifactId>jakarta.xml.ws-api</artifactId>
-                <version>${jaxb.version}</version>
-                <scope>runtime</scope>
-                <exclusions>
-                    <exclusion>
-                        <groupId>jakarta.activation</groupId>
-                        <artifactId>jakarta.activation-api</artifactId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>jakarta.annotation</groupId>
-                        <artifactId>jakarta.annotation-api</artifactId>
-                    </exclusion>
-                </exclusions>
-            </dependency>
-            <dependency>
-                <groupId>jakarta.xml.bind</groupId>
-                <artifactId>jakarta.xml.bind-api</artifactId>
-                <version>${jaxb.version}</version>
-                <exclusions>
-                    <exclusion>
-                        <groupId>jakarta.activation</groupId>
-                        <artifactId>jakarta.activation-api</artifactId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>jakarta.annotation</groupId>
-                        <artifactId>jakarta.annotation-api</artifactId>
-                    </exclusion>
-                </exclusions>
-            </dependency>
-            <dependency>
                 <groupId>com.sun.xml.bind</groupId>
                 <artifactId>jaxb-osgi</artifactId>
                 <version>${jaxb.version}</version>
@@ -351,8 +350,12 @@
             <artifactId>geronimo-jaxrs_2.1_spec</artifactId>
         </dependency>
         <dependency>
+            <groupId>biz.aQute.bnd</groupId>
+            <artifactId>biz.aQute.bnd.annotation</artifactId>
+        </dependency>
+        <dependency>
             <groupId>org.osgi</groupId>
-            <artifactId>osgi.annotation</artifactId>
+            <artifactId>org.osgi.service.jaxrs</artifactId>
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
@@ -546,9 +549,17 @@
 
     <profiles>
         <profile>
-            <id>java-release</id>
+            <id>java-release-8</id>
             <activation>
-                <jdk>9,)</jdk>
+                <jdk>1.8</jdk>
+            </activation>
+            <properties>
+            </properties>
+        </profile>
+        <profile>
+            <id>java-release-9+</id>
+            <activation>
+                <jdk>[9,)</jdk>
             </activation>
             <properties>
                 <java.build.version>${java.specification.version}</java.build.version>
@@ -556,6 +567,32 @@
                 <maven.compiler.source>${java.build.version}</maven.compiler.source>
                 <maven.compiler.target>${java.build.version}</maven.compiler.target>
             </properties>
+            <dependencyManagement>
+                <dependencies>
+                    <dependency>
+                        <groupId>jakarta.xml.bind</groupId>
+                        <artifactId>jakarta.xml.bind-api</artifactId>
+                        <version>${jaxb.version}</version>
+                    </dependency>
+                    <dependency>
+                        <groupId>jakarta.xml.ws</groupId>
+                        <artifactId>jakarta.xml.ws-api</artifactId>
+                        <version>${jaxb.version}</version>
+                        <scope>runtime</scope>
+                    </dependency>
+                </dependencies>
+            </dependencyManagement>
+
+            <dependencies>
+                <dependency>
+                    <groupId>jakarta.xml.bind</groupId>
+                    <artifactId>jakarta.xml.bind-api</artifactId>
+                </dependency>
+                <dependency>
+                    <groupId>jakarta.xml.ws</groupId>
+                    <artifactId>jakarta.xml.ws-api</artifactId>
+                </dependency>
+            </dependencies>
         </profile>
     </profiles>