如何" MVN全新安装" MVN安装"?;从&QUOT不同 [英] How is "mvn clean install" different from "mvn install"?
本文介绍了如何" MVN全新安装" MVN安装"?;从&QUOT不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是什么区别 MVN全新安装
和 MVN安装
?
推荐答案
清洁
是自己的构建生命周期阶段(这可以被认为是一个行动或任务)中Maven的。 MVN全新安装
告诉Maven做清洁
阶段,每个模块中运行安装之前
阶段为每个模块。
clean
is its own build lifecycle phase (which can be thought of as an action or task) in Maven. mvn clean install
tells Maven to do the clean
phase in each module before running the install
phase for each module.
这样做是清楚你有任何编译的文件,并确保你真的编译每个模块从头开始。
What this does is clear any compiled files you have, making sure that you're really compiling each module from scratch.
这篇关于如何" MVN全新安装" MVN安装"?;从&QUOT不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文