This will play an important part later when we leverage bnd to help calculate correct OSGi and JPMS metadata. These calculations will need to look at dependencies for things like import package versions, module names, etc.
Do you have a patch in mind for this? Or are you looking for input on what the correct order might be?
https://github.com/apache/tomcat/pull/301
Fixed in: - master for 10.0.0-M7 onwards - 9.0.x for 9.0.37 onwards - 8.5.x for 8.5.57 onwards Thanks for the PR. While not strictly required for 8.5.x I back-ported it anyway to keep the code in sync to ease any future back-ports.