Thanks for starting this discussion.
I think we should take this upgrade path:
Jetty 9.x => Jetty 10.x => Jetty 11.x => Jetty 12.x
During the upgrade to Jetty 11.x we should migrate to jakarta.servlet and servlet-api 5.x and
migrate off javax.inject dependency, that would allow us to upgrade to Google Guice 7.0.
I've tried the upgrade to Jetty 11 already. Here is the JGit change: [1] and the Gerrit series: [2].
I've also updated the affected gerrit plugins except gitiles-plugin, that relies on gitiles-servlet
(it looks good, only some binding tests are failing).
A good question is: would all Gerrit stack holders support this migration path?