diff --git a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java index c0955a7b21..142dc13d93 100644 --- a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java +++ b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java @@ -250,7 +250,7 @@ public class DefaultMaven eventCatapult.fire( ExecutionEvent.Type.ProjectDiscoveryStarted, session, null ); - Result graphResult = buildGraph( session, result ); + Result graphResult = buildGraph( session ); if ( graphResult.hasErrors() ) { @@ -306,7 +306,7 @@ public class DefaultMaven // not expected that a participant will add or remove projects from the session. // - graphResult = buildGraph( session, result ); + graphResult = buildGraph( session ); if ( graphResult.hasErrors() ) { @@ -671,7 +671,7 @@ public class DefaultMaven return index; } - private Result buildGraph( MavenSession session, MavenExecutionResult result ) + private Result buildGraph( MavenSession session ) { Result graphResult = graphBuilder.build( session ); for ( ModelProblem problem : graphResult.getProblems() )