You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/01/31 14:54:16 UTC

[GitHub] [maven] laeubi commented on a change in pull request #668: Backport of MNG-7400 - Allow more WorkspaceReader's to participate

laeubi commented on a change in pull request #668:
URL: https://github.com/apache/maven/pull/668#discussion_r795746969



##########
File path: maven-core/src/main/java/org/apache/maven/DefaultMaven.java
##########
@@ -232,6 +232,13 @@ private MavenExecutionResult doExecute( MavenExecutionRequest request, MavenSess
             return addExceptionToResult( result, e );
         }
 
+        for ( WorkspaceReader workspaceReader : getProjectScopedExtensions( session.getProjects(),
+                                                                            WorkspaceReader.class ) )
+        {
+            repoSession.setWorkspaceReader( ChainedWorkspaceReader.newInstance( repoSession.getWorkspaceReader(),
+                                                                                workspaceReader ) );
+        }
+
         WorkspaceReader reactorWorkspace;

Review comment:
       done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org