Frage

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

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top