Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top