Maven启动报错 - No goals have been specified for this build.You must specify a valid lifecycle phase
在对Maven项目进行Build/初始化时可能会出现下图这种情况:[ERROR]Nogoalshavebeenspecifiedforthisbuild.Youmustspecifyavalidlifecyclephaseoragoalintheformat:or:[:]:.Availablelifecyclephasesare:pre-clean,clean,post-clean,validat