Skip to content

[4.0.x] Remove invalid combine.self and combine.children attributes in mvnup#12218

Closed
gnodet wants to merge 1 commit into
apache:maven-4.0.xfrom
gnodet:cherry-pick-12160-to-4.0.x
Closed

[4.0.x] Remove invalid combine.self and combine.children attributes in mvnup#12218
gnodet wants to merge 1 commit into
apache:maven-4.0.xfrom
gnodet:cherry-pick-12160-to-4.0.x

Conversation

@gnodet

@gnodet gnodet commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Cherry-pick of #12160

…f converting them (apache#12160)

Maven 3 silently ignored invalid combine.self and combine.children
attribute values, so removing them entirely preserves actual Maven 3
behavior. Previously mvnup converted specific invalid values (e.g.
combine.self="append" → "merge"), which could miss other invalid values
and subtly changed semantics. Now both fixers detect any invalid value
against the full set of valid values (combine.self: override/merge/remove;
combine.children: append/merge), remove the attribute, and collect to a
list before mutating to avoid potential stream processing issues.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet gnodet closed this Jun 4, 2026
@gnodet gnodet deleted the cherry-pick-12160-to-4.0.x branch June 4, 2026 08:56
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.

1 participant