From 6742b4a25d6e302a23c9915045f9893c2fd13e57 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Mon, 25 Sep 2023 19:21:42 +0200 Subject: [PATCH] Pass MavenExecutionContextView into MavenParser --- .../java/org/openrewrite/maven/MavenMojoProjectParser.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/openrewrite/maven/MavenMojoProjectParser.java b/src/main/java/org/openrewrite/maven/MavenMojoProjectParser.java index 16b64455..433932af 100644 --- a/src/main/java/org/openrewrite/maven/MavenMojoProjectParser.java +++ b/src/main/java/org/openrewrite/maven/MavenMojoProjectParser.java @@ -409,7 +409,8 @@ public Map parseMaven(List mavenProjec List mavens = mavenParserBuilder .build() - .parse(allPoms, baseDir, ctx).collect(toList()); + .parse(allPoms, baseDir, mavenExecutionContext) + .collect(toList()); if (logger.isDebugEnabled()) { logDebug(topLevelProject, "Base directory : '" + baseDir + "'");