Does anyone know what the -B maven parameter does? Sample use:

maven clean install -B -U -e

(I'm seeing this in a legacy Jenkins job config) Thanks

有帮助吗?

解决方案

-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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top