Skip to content

[master] Fix #10939: DefaultModelXmlFactory: make location tracking opt-in—disabled by def… (#11092)#11198

Merged
gnodet merged 1 commit intoapache:masterfrom
gnodet:backport/master/pr-11092
Oct 6, 2025
Merged

[master] Fix #10939: DefaultModelXmlFactory: make location tracking opt-in—disabled by def… (#11092)#11198
gnodet merged 1 commit intoapache:masterfrom
gnodet:backport/master/pr-11092

Conversation

@gnodet
Copy link
Contributor

@gnodet gnodet commented Oct 3, 2025

Backport

This will backport the following commits from maven-4.0.x to master:

Questions ?

Please refer to the Backport tool documentation

…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 gnodet added bug Something isn't working backport labels Oct 3, 2025
@gnodet gnodet merged commit f49b95e into apache:master Oct 6, 2025
37 of 38 checks passed
@github-actions github-actions bot added this to the 4.1.0 milestone Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants