C:\Users\Administrator>mvn
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.287s
[INFO] Finished at: Tue Sep 17 15:31:47 CST 2013
[INFO] Final Memory: 2M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] No goals have been specified for this build. You must specify a valid li
fecycle 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, p
rocess-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]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifie
dException
cmdmaven
解决方案 »
- 这session为什么理论和实际不一致,求教...
- 怎么把JSP页面中的表格数据导出
- javascript如何访问struts2 iterator标签的值
- java调用存储过程结果集问题 (关系到jdk sql 的实现问题,如果分数不够可以再开帖加分)
- 推荐个好用的分页标签
- 问一个hibernate的问题
- Hibernate: 为何查出来的结果始终是数据库中的第一条记录? ..在线等...急..
- 多么希望找到一个osworkflow完成的网上审批的完整例子?
- weblogic8.1与mysql的连接问题 帮忙啊
- 请问:赛扬1.7GHz/128MB DDR的笔记本做JAVA开发够不够?
- 不知发到这里行不?在hosts文件里增加了网上的配置,github最近还是不能访问
- 求高手 如何在js中生成xml代码
fecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id
>:<plugin-artifact-id>[:<plugin-version>]:<goal>.要指定一个生命期phase 或者插件机器goal你用 mvn clean complie 执行就好了
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference