Have you check my boilerplate project for createing a Servlet 5 (Jakarta EE 9 compatible) based Java web application.
https://github.com/hantsy/jakartaee9-servlet-starter-boilerplate.
It includes the configuration to run on Tomcat 10, and several options to run on Jetty 11, also contains the testing codes written with Arquillian and JUnit 5.
Simply update the dependency version to Jakarta EE 10 to satisfy your requirements.