DD. DD. - 9 months ago 83
Java Question

Maven shade plugin adding dependency-reduced-pom.xml to base directory

The maven shade plugin is creating a file called dependency-reduced-pom.xml and also artifactname-shaded.jar and placing them in the base directory.

Is this a bug? Should be in the target directory. Any workaround?

Xv. Xv.
Answer Source

You can avoid having it created by setting createDependencyReducedPom to false.



See more detail from apache

enter image description here