H5W3
当前位置:H5W3 > 其他技术问题 > 正文

使用IDEA右侧的MAVEN可视化打包项目报错??

这是一个springboot项目
image.png

控制台报错

[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------------< com.gulang:cpms >---------------------------
[INFO] Building cpms 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-cli) @ cpms ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.664 s
[INFO] Finished at: 2020-06-13T15:06:15+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install (default-cli) on project cpms: The packaging for this project did not assign a file to the build artifact -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

本文地址:H5W3 » 使用IDEA右侧的MAVEN可视化打包项目报错??

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址