Bundling
This attribute describes how dependencies of a component are found. There are currently 3 supported modes:
external
, the default, where dependencies, if any, are found transitivelyembedded
, where dependencies are found inside the component, but using the same namespace as the original dependenciesshadowed
, where dependencies are found inside the component, but within a different namespace to avoid name clashes
As a practical example, let's consider the Java ecosystem:
- Jar component:
external
indicates that transitive dependencies are themselves component jarsembedded
indicates that transitive dependencies have been included inside the component jar, without modifying their packagesshadowed
indicates that transitive dependencies have been included inside the component jar, under different packages to prevent conflicts
- Sources component:
external
indicates that the source of transitive dependencies are themselves source jarsembedded
indicates that the source of transitive dependencies have been included inside the component source jar, without modifying their packagesshadowed
indicates that the source of transitive dependencies have been included inside the component source jar, under different packages
Since
5.3