maven build报[ERROR] Unknown lifecycle phase "build". You must specify a valid lifecycle phase or a g

拼搏现实的明天。 2022-01-29 12:47 818阅读 0赞

[ERROR] Unknown lifecycle phase “build”. You must specify a valid lifecycle phase or a goal in the format : or :[:]:. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [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/LifecyclePhaseNotFoundException

解决方法 转自:https://blog.csdn.net/fz1989/article/details/51820303

发表评论

表情:
评论列表 (有 0 条评论,818人围观)

还没有评论,来说两句吧...

相关阅读