utafrali opened a new pull request, #11924: URL: https://github.com/apache/maven/pull/11924
Aligns `DefaultSettingsXmlFactory.write()` with the existing pattern in `DefaultModelXmlFactory.write()`. The writer now defaults to `addLocationInformation = false` and only enables it when an `InputLocationFormatter` is provided in the request. Previously the `SettingsStaxWriter` constructor defaulted `addLocationInformation` to `true`, so every serialized settings document included location tracking comments regardless of whether a formatter was configured. Closes #11899 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
