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

后端 未结 5 1978
梦如初夏
梦如初夏 2020-12-13 23:21

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.

<
5条回答
  •  时光取名叫无心
    2020-12-13 23:48

    See https://issues.apache.org/jira/browse/MSHADE-121, and also https://issues.apache.org/jira/browse/MSHADE-124.

    There is an option to move the d-r-p to elsewhere, but you may not like the consequences.

    You are wrong about the -shaded jar, it always ends up in target/ unless you move it elsewhere.

提交回复
热议问题