Domanda

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

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top