Bug 64522

Summary: package jars in effective dependency order
Product: Tomcat 10 Reporter: rotty3000 <raymond.auge>
Component: PackagingAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ------   
Hardware: All   
OS: All   

Description rotty3000 2020-06-13 23:45:00 UTC
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.
Comment 1 Mark Thomas 2020-06-16 09:09:28 UTC
Do you have a patch in mind for this? Or are you looking for input on what the correct order might be?
Comment 2 rotty3000 2020-06-16 13:31:32 UTC
https://github.com/apache/tomcat/pull/301
Comment 3 Mark Thomas 2020-06-16 15:16:06 UTC
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.