Skip to content

[build] Add -B (batch mode) to Maven/mvnd CI invocations#22049

Merged
gnodet merged 1 commit intoapache:mainfrom
gnodet:ci/add-maven-batch-mode
Mar 17, 2026
Merged

[build] Add -B (batch mode) to Maven/mvnd CI invocations#22049
gnodet merged 1 commit intoapache:mainfrom
gnodet:ci/add-maven-batch-mode

Conversation

@gnodet
Copy link
Copy Markdown
Contributor

@gnodet gnodet commented Mar 17, 2026

Summary

  • Add -B (batch mode) flag to MVND_OPTS in the install-mvnd action, covering all mvnd invocations across CI scripts
  • Add -B to the two ./mvnw calls in incremental-build.sh that don't use MVND_OPTS

This suppresses JLine terminal warnings in CI logs:

WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)

Test plan

  • CI runs should no longer show JLine terminal warnings

Adds the -B flag to suppress JLine terminal warnings in CI:
  "Unable to create a system terminal, creating a dumb terminal"

- MVND_OPTS in install-mvnd action: added -B
- ./mvnw calls in incremental-build.sh: added -B

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using build-all, build-dependents, skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@gnodet gnodet merged commit 06f81fa into apache:main Mar 17, 2026
2 checks passed
vignesh-manel pushed a commit to vignesh-manel/camel that referenced this pull request Mar 18, 2026
Adds the -B flag to suppress JLine terminal warnings in CI:
  "Unable to create a system terminal, creating a dumb terminal"

- MVND_OPTS in install-mvnd action: added -B
- ./mvnw calls in incremental-build.sh: added -B

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants