Maven batch mode

Maven command-line options that make output suitable for scripts and build servers: -B for non-interactive batch mode and -ntp to hide download progress.

In more detail

Batch mode never waits for input and disables colour codes. No-transfer-progress removes the many download-progress lines that clutter logs. The course passes both in terminal demonstrations and in the Dockerfile.

Example

./mvnw -B -ntp test

Related terms

Taught in

References