diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index f40113dd416..6e6046c67a0 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
- java_version: [ 11 ]
+ java_version: [ 21 ]
verify_profiles: [ '-Plicense_check,staging' ]
continue-on-error: false
diff --git a/.mvn/wrapper/maven-wrapper.jar b/.mvn/wrapper/maven-wrapper.jar
deleted file mode 100644
index cb28b0e37c7..00000000000
Binary files a/.mvn/wrapper/maven-wrapper.jar and /dev/null differ
diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties
deleted file mode 100644
index eacdc9ed17a..00000000000
--- a/.mvn/wrapper/maven-wrapper.properties
+++ /dev/null
@@ -1,18 +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.
-distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip
-wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
diff --git a/bom/pom.xml b/bom/pom.xml
index b3e32ba70cd..5a76942983a 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -95,7 +95,7 @@
org.glassfish.jersey.connectors
- jersey-jetty-http2-connector
+ jersey-jetty11-http2-connector
${project.version}
@@ -115,7 +115,12 @@
org.glassfish.jersey.containers
- jersey-container-jetty-http2
+ jersey-container-jetty11-http
+ ${project.version}
+
+
+ org.glassfish.jersey.containers
+ jersey-container-jetty11-http2
${project.version}
diff --git a/bundles/apidocs/pom.xml b/bundles/apidocs/pom.xml
index b3387eba05c..cf07a8f9ed8 100644
--- a/bundles/apidocs/pom.xml
+++ b/bundles/apidocs/pom.xml
@@ -106,11 +106,6 @@
jersey-jetty-connector
${project.version}
-
- org.glassfish.jersey.connectors
- jersey-jetty-http2-connector
- ${project.version}
-
org.glassfish.jersey.connectors
jersey-netty-connector
@@ -152,6 +147,11 @@
jersey-container-jdk-http
${project.version}
+
+ org.glassfish.jersey.containers
+ jersey-container-jetty-http
+ ${project.version}
+
org.glassfish.jersey.containers
jersey-container-grizzly2-http
@@ -320,6 +320,70 @@
+
+ org.apache.maven.plugins
+ maven-enforcer-plugin
+
+ true
+
+
+
+
+ jetty11
+
+ true
+
+
+ ${jetty11.version}
+
+
+
+
+ org.glassfish.jersey.connectors
+ jersey-jetty11-connector
+ ${project.version}
+
+
+ org.glassfish.jersey.connectors
+ jersey-jetty11-http2-connector
+ ${project.version}
+
+
+ org.glassfish.jersey.containers
+ jersey-container-jetty11-http
+ ${project.version}
+
+
+ org.glassfish.jersey.containers
+ jersey-container-jetty11-http2
+ ${project.version}
+
+
+
+
+
+ org.glassfish.jersey.connectors
+ jersey-jetty11-connector
+ ${project.version}
+
+
+ org.glassfish.jersey.connectors
+ jersey-jetty11-http2-connector
+ ${project.version}
+
+
+ org.glassfish.jersey.containers
+ jersey-container-jetty11-http
+ ${project.version}
+
+
+ org.glassfish.jersey.containers
+ jersey-container-jetty11-http2
+ ${project.version}
+
+
+
+
diff --git a/docs/src/main/docbook/client.xml b/docs/src/main/docbook/client.xml
index 09991665bdc..998e32bacfc 100644
--- a/docs/src/main/docbook/client.xml
+++ b/docs/src/main/docbook/client.xml
@@ -666,9 +666,9 @@ webTarget.request().post(Entity.entity(f, MediaType.TEXT_PLAIN_TYPE));
org.glassfish.jersey.connectors:jersey-jetty11-connector
- Jetty HTTP/2 client
- &jersey.jetty.JettyHttp2ConnectorProvider;
- org.glassfish.jersey.connectors:jersey-jetty-http2-connector
+ Jetty 11.x HTTP/2 client
+ &jersey.jetty11.Jetty11Http2ConnectorProvider;
+ org.glassfish.jersey.connectors:jersey-jetty11-http2-connector
Netty NIO framework
diff --git a/docs/src/main/docbook/jersey.ent b/docs/src/main/docbook/jersey.ent
index b37d41f5976..be675348569 100644
--- a/docs/src/main/docbook/jersey.ent
+++ b/docs/src/main/docbook/jersey.ent
@@ -486,7 +486,7 @@
JettyClientProperties.SYNC_LISTENER_RESPONSE_MAX_SIZE" >
JettyClientProperties.TOTAL_TIMEOUT" >
JettyConnectorProvider">
-JettyHttp2ConnectorProvider">
+Jetty11Http2ConnectorProvider">
JettyHttpContainer">
JettyHttpContainerFactory">
JettyHttpContainerProvider">