Maven命令行参数"-B" [英] Maven command line parameter "-B"
本文介绍了Maven命令行参数"-B"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人知道-B maven参数的作用吗? 样品使用:
Does anyone know what the -B maven parameter does? Sample use:
maven clean install -B -U -e
(我在旧版Jenkins作业配置中看到了这一点) 谢谢
(I'm seeing this in a legacy Jenkins job config) Thanks
推荐答案
-B
是--batch-mode
的简写.它允许您以非交互方式执行发布.话虽如此,将clean
和install
目标结合使用对我来说似乎是多余的,因为这些目标本质上是非交互式的.
-B
is a shorthand for --batch-mode
. It allows you to perform a release in a non-interactive way. Having said that, using is in conjunction with the clean
and install
targets seems redundant to me as these goals are non-interactive by nature.
这篇关于Maven命令行参数"-B"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文