To reduce the amount of unnecessary output in the Maven logs:
- Add
-ntp to Dockerfile mvn command
- Add
.mvn/maven.config with --no-transfer-progress
This suppresses the INFO messages about downloading hundreds of .jar files as dependencies from Maven Central, which makes it much easier to find problems in the logs when they show up.
To reduce the amount of unnecessary output in the Maven logs:
-ntpto Dockerfilemvncommand.mvn/maven.configwith--no-transfer-progressThis suppresses the
INFOmessages about downloading hundreds of .jar files as dependencies from Maven Central, which makes it much easier to find problems in the logs when they show up.