From 5a29722e6e48a6de646b9b229d55cdc1533446f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20R=C3=BCtter?= Date: Mon, 13 Jan 2025 15:14:55 +0100 Subject: [PATCH 1/2] Remove optional from both Jetty bundles, as these bundles are typically never used as maven dependency. Optional means something different in maven than to OSGi. The optional OSGi instructions are left intact. --- http/jetty/pom.xml | 2 -- http/jetty12/pom.xml | 4 ---- 2 files changed, 6 deletions(-) diff --git a/http/jetty/pom.xml b/http/jetty/pom.xml index 4c8b748dc5..00dfa08c0a 100644 --- a/http/jetty/pom.xml +++ b/http/jetty/pom.xml @@ -465,13 +465,11 @@ org.eclipse.jetty.websocket websocket-jakarta-server ${jetty.version} - true org.eclipse.jetty.websocket websocket-jetty-server ${jetty.version} - true org.osgi diff --git a/http/jetty12/pom.xml b/http/jetty12/pom.xml index 756c339c91..d4bfe11e89 100644 --- a/http/jetty12/pom.xml +++ b/http/jetty12/pom.xml @@ -684,19 +684,16 @@ org.eclipse.jetty.ee10.websocket jetty-ee10-websocket-jakarta-server ${jetty.version} - true org.eclipse.jetty.ee10.websocket jetty-ee10-websocket-jetty-server ${jetty.version} - true org.eclipse.jetty.websocket jetty-websocket-jetty-server ${jetty.version} - true org.eclipse.jetty @@ -735,7 +732,6 @@ commons-fileupload commons-fileupload 1.5 - true commons-io From 8797b59598b89c3cb68516594b62618a3149eb83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20R=C3=BCtter?= Date: Mon, 13 Jan 2025 15:18:48 +0100 Subject: [PATCH 2/2] Retain optional on jetty bundles, not on commons-io --- http/jetty/pom.xml | 2 ++ http/jetty12/pom.xml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/http/jetty/pom.xml b/http/jetty/pom.xml index 00dfa08c0a..4c8b748dc5 100644 --- a/http/jetty/pom.xml +++ b/http/jetty/pom.xml @@ -465,11 +465,13 @@ org.eclipse.jetty.websocket websocket-jakarta-server ${jetty.version} + true org.eclipse.jetty.websocket websocket-jetty-server ${jetty.version} + true org.osgi diff --git a/http/jetty12/pom.xml b/http/jetty12/pom.xml index d4bfe11e89..ab703601a7 100644 --- a/http/jetty12/pom.xml +++ b/http/jetty12/pom.xml @@ -684,16 +684,19 @@ org.eclipse.jetty.ee10.websocket jetty-ee10-websocket-jakarta-server ${jetty.version} + true org.eclipse.jetty.ee10.websocket jetty-ee10-websocket-jetty-server ${jetty.version} + true org.eclipse.jetty.websocket jetty-websocket-jetty-server ${jetty.version} + true org.eclipse.jetty