Maven常用命令总结

Maven常用命令:
1,mvn clean install
将项目结构的输出文件安装到本地仓库.
install the package into the local repository, for use as a dependency in other projects locally.
2,mvn clean
删除以前生成的所有文件
remove all files generated by the previous build
3,mvn compile
编译项目
compile the source code of the project.
4,mvn package
打包项目
take the compiled code and package it in its distributable format, such as a JAR.
5,mvn eclipse:eclipse
生成Eclipse工程必须的文件

参考博客:
以上为常用命令。
后期工作中遇到问题再进行补充。
posted @ 2015-03-30 17:36  梅尔加德斯  阅读(156)  评论(0编辑  收藏  举报