Library dependencies like Spring, Jackson, Spring Security, etc. usually have many dependencies. Which if used within a module, require the listing each of these dependencies.
With the addition of ClassLoader Isolation a need arose, where these libraries where loaded into a single ClassLoader, instead of being loaded by the ClassLoaders of each of the modules that depended on these libraries.
This feature is to replace the following:
with a single entry:
What this new construct allows for is a pattern closer to "using a framework" without having to explicitly define all the library dependencies. In this approach, we "use" a framework library, rather than knowing all of the internal dependencies.
With this change, the ClassLoader isolation work, will only load each dependency once.
Currently identified dependencies that require to be loaded only once are:
Spring and Jackson