-
Notifications
You must be signed in to change notification settings - Fork 40.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Align ordering of BootJar and BootWar archive entries
Previously, the ordering of the entries in an archive produced by BootJar was different to the ordering of the entries in an archive produced by BootWar. The latter placed application classes before any nested jars, whereas the former was the other way around. This commit updates BootJar to use the same ordering as BootWar and adds tests to verify that the ordering is the following: 1. Loader classes 2. Application classes (BOOT-INF/classes or WEB-INF/classes) 3. Nested jars (BOOT-INF/lib or WEB-INF/lib) 4. Provided nested jars in a war (WEB-INF/lib-provided) The tests also verify that the position of a library is not affected by it requiring unpacking. See gh-11695 See gh-11696
- Loading branch information
1 parent
6328de9
commit 8f116f7
Showing
3 changed files
with
45 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters