Skip to content

Add time zone to Maven startup banner#11681

Open
assokhi wants to merge 1 commit intoapache:masterfrom
assokhi:add-timezone-to-banner
Open

Add time zone to Maven startup banner#11681
assokhi wants to merge 1 commit intoapache:masterfrom
assokhi:add-timezone-to-banner

Conversation

@assokhi
Copy link

@assokhi assokhi commented Jan 27, 2026

This change adds the system time zone to the Maven startup banner
(mvn -v).
Including the time zone helps diagnose environment-specific issues,
especially in CI and distributed build environments.

Example output:
Default locale: en_US, platform encoding: UTF-8, time zone: Asia/Kolkata

Fixes #11663

@assokhi
Copy link
Author

assokhi commented Jan 29, 2026

hi @garydgregory This PR implements the proposed addition of system time zone
to the Maven startup banner (mvn -v) as discussed in #11663.
I’d appreciate your review when you have time. Thanks!

@garydgregory
Copy link
Member

garydgregory commented Jan 29, 2026

Hello @assokhi
LGTM, but my review is non-binding for this repository.

@assokhi
Copy link
Author

assokhi commented Jan 29, 2026

Thanks a lot, @garydgregory I appreciate you taking the time to review this.

@cstamas cstamas added enhancement New feature or request backport-to-4.0.x labels Jan 30, 2026
@cstamas cstamas added this to the 4.0.0 milestone Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-4.0.x enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

To help debugging, add the time zone to the Maven banner

6 participants