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工程必须的文件

参考博客:
以上为常用命令。
后期工作中遇到问题再进行补充。
欢迎转载,但转载请注明原文链接[博客园: http://www.cnblogs.com/jingLongJun/]
[CSDN博客:http://blog.csdn.net/mergades]。
如相关博文涉及到版权问题,请联系本人。
原文地址:https://www.cnblogs.com/jingLongJun/p/4491041.html