Note that since this issue is only about upgrading jetty for the standalone packaging, we're getting at XWiki startup:
2024-08-07 13:57:42,081 [main] WARN .e.r.m.i.MavenExtensionScanner - Collision between core extension [org.eclipse.jetty:jetty-io/12.0.12 (jar:file:/Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-jetty-hsqldb/target/xwiki-platform-distribution-flavor-jetty-hsqldb-16.7.0-SNAPSHOT/jetty/lib/jetty-io-12.0.12.jar!/META-INF/maven/org.eclipse.jetty/jetty-io/pom.xml)] and [org.eclipse.jetty:jetty-io/10.0.21 (file:/Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-jetty-hsqldb/target/xwiki-platform-distribution-flavor-jetty-hsqldb-16.7.0-SNAPSHOT/webapps/xwiki/WEB-INF/lib/jetty-io-10.0.21.xed)] 2024-08-07 13:57:42,083 [main] WARN .e.r.m.i.MavenExtensionScanner - [org.eclipse.jetty:jetty-io/12.0.12 (jar:file:/Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-jetty-hsqldb/target/xwiki-platform-distribution-flavor-jetty-hsqldb-16.7.0-SNAPSHOT/jetty/lib/jetty-io-12.0.12.jar!/META-INF/maven/org.eclipse.jetty/jetty-io/pom.xml)] is selected 2024-08-07 13:57:42,087 [main] WARN .e.r.m.i.MavenExtensionScanner - Collision between core extension [org.eclipse.jetty:jetty-client/12.0.12 (jar:file:/Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-jetty-hsqldb/target/xwiki-platform-distribution-flavor-jetty-hsqldb-16.7.0-SNAPSHOT/jetty/lib/jetty-client-12.0.12.jar!/META-INF/maven/org.eclipse.jetty/jetty-client/pom.xml)] and [org.eclipse.jetty:jetty-client/10.0.21 (file:/Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-jetty-hsqldb/target/xwiki-platform-distribution-flavor-jetty-hsqldb-16.7.0-SNAPSHOT/webapps/xwiki/WEB-INF/lib/jetty-client-10.0.21.xed)] 2024-08-07 13:57:42,087 [main] WARN .e.r.m.i.MavenExtensionScanner - [org.eclipse.jetty:jetty-client/12.0.12 (jar:file:/Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-jetty-hsqldb/target/xwiki-platform-distribution-flavor-jetty-hsqldb-16.7.0-SNAPSHOT/jetty/lib/jetty-client-12.0.12.jar!/META-INF/maven/org.eclipse.jetty/jetty-client/pom.xml)] is selected 2024-08-07 13:57:43,920 [main] WARN .e.r.m.i.MavenExtensionScanner - Collision between core extension [org.eclipse.jetty:jetty-http/12.0.12 (jar:file:/Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-jetty-hsqldb/target/xwiki-platform-distribution-flavor-jetty-hsqldb-16.7.0-SNAPSHOT/jetty/lib/jetty-http-12.0.12.jar!/META-INF/maven/org.eclipse.jetty/jetty-http/pom.xml)] and [org.eclipse.jetty:jetty-http/10.0.21 (file:/Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-jetty-hsqldb/target/xwiki-platform-distribution-flavor-jetty-hsqldb-16.7.0-SNAPSHOT/webapps/xwiki/WEB-INF/lib/jetty-http-10.0.21.xed)] 2024-08-07 13:57:43,922 [main] WARN .e.r.m.i.MavenExtensionScanner - [org.eclipse.jetty:jetty-http/12.0.12 (jar:file:/Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-jetty-hsqldb/target/xwiki-platform-distribution-flavor-jetty-hsqldb-16.7.0-SNAPSHOT/jetty/lib/jetty-http-12.0.12.jar!/META-INF/maven/org.eclipse.jetty/jetty-http/pom.xml)] is selected 2024-08-07 13:57:44,087 [main] WARN .e.r.m.i.MavenExtensionScanner - Collision between core extension [org.eclipse.jetty:jetty-util/12.0.12 (jar:file:/Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-jetty-hsqldb/target/xwiki-platform-distribution-flavor-jetty-hsqldb-16.7.0-SNAPSHOT/jetty/lib/jetty-util-12.0.12.jar!/META-INF/maven/org.eclipse.jetty/jetty-util/pom.xml)] and [org.eclipse.jetty:jetty-util/10.0.21 (file:/Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-jetty-hsqldb/target/xwiki-platform-distribution-flavor-jetty-hsqldb-16.7.0-SNAPSHOT/webapps/xwiki/WEB-INF/lib/jetty-util-10.0.21.xed)] 2024-08-07 13:57:44,088 [main] WARN .e.r.m.i.MavenExtensionScanner - [org.eclipse.jetty:jetty-util/12.0.12 (jar:file:/Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-jetty-hsqldb/target/xwiki-platform-distribution-flavor-jetty-hsqldb-16.7.0-SNAPSHOT/jetty/lib/jetty-util-12.0.12.jar!/META-INF/maven/org.eclipse.jetty/jetty-util/pom.xml)] is selected 2
We also need to update the jetty client libs we use but this requires a different issue and there are potential issues with Solr.