Bug 64522 - package jars in effective dependency order
Summary: package jars in effective dependency order
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 10
Classification: Unclassified
Component: Packaging (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal (vote)
Target Milestone: ------
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-13 23:45 UTC by rotty3000
Modified: 2020-06-16 15:16 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.