slawekjaranowski commented on code in PR #313:
URL: 
https://github.com/apache/maven-remote-resources-plugin/pull/313#discussion_r4288023581


##########
src/test/java/org/apache/maven/plugin/resources/remote/RemoteResourcesMojoTest.java:
##########
@@ -426,21 +445,14 @@ protected ProcessRemoteResourcesMojo 
lookupProcessMojoWithSettings(
         localRepository.setUrl(new File(LOCAL_REPO).toURI().toASCIIString());
         localRepository.setLayout(new DefaultRepositoryLayout());
         request.setLocalRepository(localRepository);
-        MavenSession session =
-                new MavenSession(getContainer(), reposession, request, new 
DefaultMavenExecutionResult());
+        MavenSession session = new MavenSession(container, reposession, 
request, new DefaultMavenExecutionResult());

Review Comment:
   There is a MavenSession created by mojo extension
   
   
https://maven.apache.org/plugin-testing/maven-plugin-testing-harness/examples/complex-mojo-parameters.html



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to