This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push:
new 1d18945985 Fix BuildPlanCreatorTest constructor calls after
LifecycleProcessor injection was added (#13962)
1d18945985 is described below
commit 1d1894598578e5d6baed6ef15e111be55d68ce59
Author: Guillaume Nodet <[email protected]>
AuthorDate: Thu Nov 12 19:40:14 2026 +0100
Fix BuildPlanCreatorTest constructor calls after LifecycleProcessor
injection was added (#13962)
---
.../maven/lifecycle/internal/concurrent/BuildPlanCreatorTest.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
a/impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanCreatorTest.java
b/impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanCreatorTest.java
index 7bdf53f76a..2bce60223e 100644
---
a/impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanCreatorTest.java
+++
b/impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanCreatorTest.java
@@ -502,7 +502,8 @@ void testReactorPluginPreCompilePhase() {
// "initialize" ends well before "ready" in the lifecycle.
DefaultLifecycleRegistry lifecycles = new
DefaultLifecycleRegistry(Collections.emptyList());
BuildPlanExecutor.BuildContext context =
- new BuildPlanExecutor(null, null, null, null, null, null,
null, null, lifecycles).new BuildContext();
+ new BuildPlanExecutor(null, null, null, null, null, null,
null, null, lifecycles, null)
+ .new BuildContext();
BuildPlan plan = context.calculateLifecycleMappings(projects,
"initialize");
@@ -583,7 +584,8 @@ void
testReactorPluginWithLibraryDependencyPreCompilePhase() {
DefaultLifecycleRegistry lifecycles = new
DefaultLifecycleRegistry(Collections.emptyList());
BuildPlanExecutor.BuildContext context =
- new BuildPlanExecutor(null, null, null, null, null, null,
null, null, lifecycles).new BuildContext();
+ new BuildPlanExecutor(null, null, null, null, null, null,
null, null, lifecycles, null)
+ .new BuildContext();
BuildPlan plan = context.calculateLifecycleMappings(projects,
"initialize");