You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2021/10/18 18:48:05 UTC

[maven] branch MNG-7314 created (now 965aaa5)

This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a change to branch MNG-7314
in repository https://gitbox.apache.org/repos/asf/maven.git.


      at 965aaa5  [MNG-7314] - Refactoring - Remove unused MavenExecutionResult

This branch includes the following new commits:

     new 965aaa5  [MNG-7314] - Refactoring - Remove unused MavenExecutionResult

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[maven] 01/01: [MNG-7314] - Refactoring - Remove unused MavenExecutionResult

Posted by kh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a commit to branch MNG-7314
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 965aaa53da5c2d814e94a41d37142d0d6830375d
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Mon Oct 18 20:47:55 2021 +0200

    [MNG-7314] - Refactoring - Remove unused MavenExecutionResult
---
 maven-core/src/main/java/org/apache/maven/DefaultMaven.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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 c0955a7..142dc13 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<? extends ProjectDependencyGraph> graphResult = buildGraph( session, result );
+        Result<? extends ProjectDependencyGraph> 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<? extends ProjectDependencyGraph> buildGraph( MavenSession session, MavenExecutionResult result )
+    private Result<? extends ProjectDependencyGraph> buildGraph( MavenSession session )
     {
         Result<? extends ProjectDependencyGraph> graphResult = graphBuilder.build( session );
         for ( ModelProblem problem : graphResult.getProblems() )