Maven:No goals have been specified for this build
2012-06-25 11:22
465 查看
[INFO] Total time: 0.109s[INFO] Finished at: Wed Apr 13 11:04:20 CST 2011[INFO] Final Memory: 1M/4M[INFO]
ERROR] 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: 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-site, site, post-site, site-deploy,
pre-clean, clean, post-clean. -> [Help 1]
eclipse安装的maven插件是m2eclipse,在控制台使用命令mvn compile并未报错。后在pom.xml文件<build>标签后面加上<defaultGoal>compile</defaultGoal>即可。
ERROR] 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: 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-site, site, post-site, site-deploy,
pre-clean, clean, post-clean. -> [Help 1]
eclipse安装的maven插件是m2eclipse,在控制台使用命令mvn compile并未报错。后在pom.xml文件<build>标签后面加上<defaultGoal>compile</defaultGoal>即可。
相关文章推荐
- Maven: mvn -X 执行报错:No goals have been specified for this build.
- 运行Maven是报错:No goals have been specified for this build
- maven在myeclipse下运行mvn出现 No goals have been specified for this build.
- 运行Maven是报错:No goals have been specified for this build
- Maven项目报错:“No goals have been specified for this build”解决办法
- Maven不让编译: No goals have been specified for this build. You must specify a valid lifecy
- Maven报错 解决方案。ERROR: 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
- 运行Maven工程总是报错:No goals have been specified for this build
- 运行Maven是报错:No goals have been specified for this build(转)
- 运行Maven是报错:No goals have been specified for this build .
- Maven报错 解决方案。ERROR: 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
- 使用myeclipse构建maven项目报错:No goals have been specified for this build
- Maven错误:“No goals have been specified for this build...”问题解决
- isis simple 运行Maven是报错: No goals have been specified for this build.
- Maven报错 解决方案。ERROR: 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
- Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle
- 运行Maven是报错:No goals have been specified for this build
- Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle
- 解决运行Maven是报错:No goals have been specified for this build
- 运行Maven是报错:No goals have been specified for this build