Fix #10939: DefaultModelXmlFactory: make location tracking opt-in—disabled by def… by arturobernalg · Pull Request #11092 · apache/maven (original) (raw)
requested changes Sep 3, 2025
…ault, enabled when an InputLocationFormatter is provided.
Adapt formatter to Function<InputLocation,String> and write to the actually opened stream for path output. Fixes apache#10939.
Something isn't working
label
gnodet pushed a commit to gnodet/maven that referenced this pull request
…in—disabled by def… (apache#11092)
DefaultModelXmlFactory: make location tracking opt-in—disabled by default, enabled when an InputLocationFormatter is provided. Adapt formatter to Function<InputLocation,String> and write to the actually opened stream for path output. Fixes apache#10939.
(cherry picked from commit 3338476)
gnodet added a commit that referenced this pull request
…abled by def… (#11092) (#11198)
DefaultModelXmlFactory: make location tracking opt-in—disabled by default, enabled when an InputLocationFormatter is provided. Adapt formatter to Function<InputLocation,String> and write to the actually opened stream for path output. Fixes #10939.
(cherry picked from commit 3338476)
Co-authored-by: Arturo Bernal abernal@apache.org
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})