Skip to content

Fix domtrip API breakage after 1.5.1 upgrade#12138

Merged
gnodet merged 1 commit into
apache:maven-4.0.xfrom
gnodet:ci-issue/fix-domtrip-api-breakage
May 20, 2026
Merged

Fix domtrip API breakage after 1.5.1 upgrade#12138
gnodet merged 1 commit into
apache:maven-4.0.xfrom
gnodet:ci-issue/fix-domtrip-api-breakage

Conversation

@gnodet
Copy link
Copy Markdown
Contributor

@gnodet gnodet commented May 20, 2026

Summary

  • Fix compilation failure introduced by the domtrip 0.4.1 → 1.5.1 upgrade (Bump domtripVersion from 0.4.1 to 1.5.1 #12131)
  • The children(String) method on ContainerNode was renamed to childElements(String) on Element in domtrip 1.5.1
  • Single one-line fix in AbstractUpgradeGoal.java

Test plan

  • mvn compile passes in impl/maven-cli
  • AbstractUpgradeGoalTest passes
  • CI should go green

Claude Code on behalf of Guillaume Nodet

🤖 Generated with Claude Code

The children(String) method was renamed to childElements(String)
in domtrip 1.5.1, causing a compilation failure.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet gnodet merged commit c2073d4 into apache:maven-4.0.x May 20, 2026
22 checks passed
@github-actions
Copy link
Copy Markdown

@gnodet Please assign appropriate label to PR according to the type of change.

@github-actions github-actions Bot added this to the 4.0.0-rc-6 milestone May 20, 2026
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