bnd can generated JPMS metadata. Use this to make tomcat artifacts proper JPMS modules. This will require special treatment between master (Tomcat 10) and 9.0.x branches.
Fixed at https://github.com/apache/tomcat/commit/928bd7295736c6f0e87915ec767b10370e6dd27b in master and at https://github.com/apache/tomcat/commit/39e74780c4292d51b544620e59124c2dfb1b9ab8 for 9.0.x