I've read a number of sources regarding the createReducedDependencyPom
of the maven-shade-plugin
:
- Is dependency-reduced-pom.xml automatically used instead of pom.xml?
- What is the purpose of dependency-reduced-pom.xml generated by the shade plugin?
- Maven shade plugin adding dependency-reduced-pom.xml to base directory
- https://maven.apache.org/plugins/maven-shade-plugin/shade-mojo.html#createDependencyReducedPom
I understand it will create a pom with the dependencies that were shaded removed, so as downstream dependencies on the shaded jar would not process again those dependencies that are accessible from the shaded jar.
Yet, I can't understand in which situation one would change the default value (true) to false.
Can anyone provide an example of when this is useful?