maven build 失败信息(No goals have been specified for this build)
来源:互联网 发布:淘宝解封账号 编辑:程序博客网 时间:2024/05/16 04:35
Java代码 :
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-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
解决办法代码 :
pom.xml文件<build>标签后面加上<defaultGoal>compile</defaultGoal>即可
具体加法(加入下面图中红线部分):
- maven build 失败信息(No goals have been specified for this build)
- Maven:No goals have been specified for this build
- No goals have been specified for this build
- 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
- isis simple 运行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在myeclipse下运行mvn出现 No goals have been specified for this build.
- Maven: mvn -X 执行报错: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
- 使用myeclipse构建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不让编译: 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
- UI的旋转
- discuz子导航下面的版块只有图标没有标题,什么原因?
- 索引
- 上下滑屏调节声音、亮度
- u盘装linux结果启动分区在U盘 每次启动必须插上U盘才能进系统 怎么改到硬盘上,硬盘上也有/boot分区
- maven build 失败信息(No goals have been specified for this build)
- 虚拟机中ubuntu 12.10与windows利用samba互相共享文件
- UDT简介
- android ViewTreeObserver地址
- struts2 漏洞 笔记
- 禁止访问Apache目录
- 问题解决方法1
- iOS 7 Design Resources iOS Human Interface Guidelines
- 断开这个数据库的所有连接