您的位置:首页 > 产品设计 > UI/UE

Maven: mvn -X 执行报错:No goals have been specified for this build.

2015-10-31 19:18 856 查看
Maven: mvn -X 执行报错:No goals have been specified for this build.

No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validat

在pom.xml文件<build>标签里面加上<defaultGoal>compile</defaultGoal> 注意大小写敏感

<build>

<defaultGoal>compile</defaultGoal>


。。。。。。

<extensions>

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: