diff --git a/modules/apps/oauth2-provider/oauth2-provider-rest/build.gradle b/modules/apps/oauth2-provider/oauth2-provider-rest/build.gradle
index bf90f6eaa6319fdd363ce26fe0dbcb5da6e3c90b..1b9b62de42789c5c47569283f3da3905282a4af7 100644
--- a/modules/apps/oauth2-provider/oauth2-provider-rest/build.gradle
+++ b/modules/apps/oauth2-provider/oauth2-provider-rest/build.gradle
@@ -6,14 +6,15 @@ dependencies {
 	compileOnly group: "javax.portlet", name: "portlet-api", version: "3.0.0"
 	compileOnly group: "javax.servlet", name: "javax.servlet-api", version: "3.0.1"
 	compileOnly group: "javax.ws.rs", name: "javax.ws.rs-api", version: "2.1"
-	compileOnly group: "org.apache.cxf", name: "cxf-core", version: "3.2.14"
-	compileOnly group: "org.apache.cxf", name: "cxf-rt-frontend-jaxrs", version: "3.2.14"
-	compileOnly group: "org.apache.cxf", name: "cxf-rt-rs-extension-providers", version: "3.2.14"
-	compileOnly group: "org.apache.cxf", name: "cxf-rt-rs-json-basic", version: "3.2.14"
-	compileOnly group: "org.apache.cxf", name: "cxf-rt-rs-security-jose", version: "3.2.14"
-	compileOnly group: "org.apache.cxf", name: "cxf-rt-rs-security-jose-jaxrs", version: "3.2.14"
-	compileOnly group: "org.apache.cxf", name: "cxf-rt-rs-security-oauth2", version: "3.2.14"
-	compileOnly group: "org.apache.cxf", name: "cxf-rt-security", version: "3.2.14"
+	compileOnly group: "org.apache.cxf", name: "cxf-core", version: "3.5.10"
+	compileOnly group: "org.apache.cxf", name: "cxf-rt-frontend-jaxrs", version: "3.5.10"
+	compileOnly group: "org.apache.cxf", name: "cxf-rt-rs-extension-providers", version: "3.5.10"
+	compileOnly group: "org.apache.cxf", name: "cxf-rt-rs-json-basic", version: "3.5.10"
+	compileOnly group: "org.apache.cxf", name: "cxf-rt-rs-security-jose", version: "3.5.10"
+	compileOnly group: "org.apache.cxf", name: "cxf-rt-rs-security-jose-jaxrs", version: "3.5.10"
+	compileOnly group: "org.apache.cxf", name: "cxf-rt-rs-security-oauth2", version: "3.5.10"
+	compileOnly group: "org.apache.cxf", name: "cxf-rt-security", version: "3.5.10"
+	compileOnly group: "org.apache.ws.xmlschema", name: "xmlschema-core", version: "2.3.1"
 	compileOnly group: "org.osgi", name: "org.osgi.service.cm", version: "1.5.0"
 	compileOnly group: "org.osgi", name: "org.osgi.service.component", version: "1.3.0"
 	compileOnly group: "org.osgi", name: "org.osgi.service.http.whiteboard", version: "1.0.0"
@@ -30,4 +31,11 @@ dependencies {
 	compileOnly project(":core:osgi-service-tracker-collections")
 	compileOnly project(":core:petra:petra-reflect")
 	compileOnly project(":core:petra:petra-string")
+}
+
+deployDependencies {
+	from configurations.compileOnly
+
+	include "cxf-*.jar"
+	include "xmlschema-core-*.jar"
 }
\ No newline at end of file