Eclipse中执行Maven的build命令
2016-06-05 00:56
441 查看
Eclispe Maven build
Eclipse的M2Eclipse插件提供在Eclipse的右键菜单中的mvn命令M2Eclipse之后,每当修改了maven project中的任何一个文件,都会触发自动build,console输出如下:Maven Builder: AUTO_BUILD
Life Cycle Phases(生命周期的各个阶段)
validate
validate the project is correct and all necessary information is availablecompile
compile the source code of the projecttest
test the compiled source code using a suitable unit testing framework. These tests should not require the code be packaged or deployedpackage
take the compiled code and package it in its distributable format, such as a JAR.integration-test
process and deploy the package if necessary into an environment where integration tests can be runverify
run any checks to verify the package is valid and meets quality criteriainstall
install the package into the local repository, for use as a dependency in other projects locallydeploy
done in an integration or release environment, copies the final package to the remote repository for sharing with other developers and projects.相关文章推荐
- SpringMVC-表单验证
- 新建maven项目pom报错
- Struts2系列入门教程---第一章 HelloStruts2
- eclipse中安装maven插件及创建maven项目
- 【GOF23设计模式】_代理模式_静态代理_动态代理_开发场景JAVA236-237
- 分布式锁1 Java常用技术方案
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginAction‘
- SpringMvc入门四----rest风格Url
- 关于java动态代理模式
- Maven Myeclipse classes下加载不到静态文件解决办法
- java数据类型转换
- spring、mybatis 配置方式详解(常用两种方式)
- springmvc与mybatis整合配置
- Java 中byte 与 char 的相互转换
- Code Hunt Sector 10 Jagged Arrays - Java
- Code Hunt Sector 11 Arrays 2 - Java
- Code Hunt Sector 12 Search Sort - Java
- Code Hunt Sector 13 Cyphers - Java
- Code Hunt Sector 14 Puzzles - Java
- Leet Code 1 Two Sum - 查找数组中和等于给定值的两个数 - Java