Skip to content

Commit 6753e1d

Browse files
gnodetclaude
andauthored
Fix domtrip API breakage after 1.5.1 upgrade (#12139)
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>
1 parent b9d73e0 commit 6753e1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ protected void fixIncompatibleExtensions(UpgradeContext context) {
310310
boolean modified = false;
311311
boolean needsNisseCompat = false;
312312

313-
List<Element> extensions = root.children("extension").toList();
313+
List<Element> extensions = root.childElements("extension").toList();
314314
List<Element> toRemove = new ArrayList<>();
315315

316316
for (Element ext : extensions) {

0 commit comments

Comments
 (0)