Maven命令行参数"-B" [英] Maven command line parameter "-B"

查看:509
本文介绍了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的简写.它允许您以非交互方式执行发布.话虽如此,将cleaninstall目标结合使用对我来说似乎是多余的,因为这些目标本质上是非交互式的.

-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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆