setup-java icon indicating copy to clipboard operation
setup-java copied to clipboard

Disable interactiveMode in maven settings.xml

Open murdos opened this issue 2 years ago • 3 comments

Description: Generate a maven settings.xml containing by default <interactiveMode>false</interactiveMode> : https://maven.apache.org/settings.html#simple-values

Justification: Disabling interactiveMode activates batch mode and disables download progress indication which is very useful when viewing logs (it also reduces size of logs). Rather than systematically adding parameter --batch-mode and -ntp to maven invocations in steps, it's easier and cleaner to configure it globally in settings.xml.

Are you willing to submit a PR? Yes

murdos avatar Oct 12 '23 19:10 murdos

Hi, @murdos 👋 Thanks for the feature request, we will take a look and get back to you with our decision.

IvanZosimov avatar Oct 13 '23 07:10 IvanZosimov

Rather than systematically adding parameter --batch-mode and -ntp to maven invocations in steps, it's easier and cleaner to configure it globally in settings.xml.

JFYI: these options can be set per-project, in .mvn/maven.config file. See https://maven.apache.org/configure.html#mvn-maven-config-file

php-coder avatar Dec 28 '23 12:12 php-coder