Maven package error: An attached artifact must have a different ID than its corresponding main artifact

后端 未结 4 967
你的背包
你的背包 2021-02-19 16:24

Geting this error on: mvn package

It fails to build every time with the same error, I\'ve tried renaming the artifact, as well as changing dependencies for build in the

4条回答
  •  半阙折子戏
    2021-02-19 17:06

    I am currently facing the same issue. However, providing the required parameter finalName, I can see that the .war file is well boot-ified. Please note that I still encounter the error message in both cases (with and without the finalName).

    Here is the link to the issue I opened on the Spring Boot project: https://github.com/spring-projects/spring-boot/issues/2060

提交回复
热议问题