Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable interactiveMode in maven settings.xml #547

Open
murdos opened this issue Oct 12, 2023 · 2 comments
Open

Disable interactiveMode in maven settings.xml #547

murdos opened this issue Oct 12, 2023 · 2 comments
Labels
feature request New feature or request to improve the current logic needs eyes

Comments

@murdos
Copy link

murdos commented Oct 12, 2023

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

@IvanZosimov
Copy link
Contributor

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

@php-coder
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic needs eyes
Projects
None yet
Development

No branches or pull requests

3 participants