打包造成The packaging for this project did not assign a file to the build artifact -> [Help 1]

今天在家打包遇见The packaging for this project did not assign a file to the build artifact 仔细看了一下发现今天脑抽了在Plugins下打包...打包应该在Lifecycle里的

两处打包,而非Plugins,如果plugins打包,它会在maven仓库去找我们的项目,找不到就会报这个错,不是中,描述的插件原因。

猜你喜欢

转载自blog.csdn.net/qq_42709262/article/details/84678833