psiroky commented on code in PR #238:
URL: 
https://github.com/apache/maven-integration-testing/pull/238#discussion_r1081959748


##########
core-it-support/maven-it-plugin-bootstrap/src/main/java/org/apache/maven/its/bootstrap/DownloadMojo.java:
##########
@@ -74,7 +74,7 @@
     @Component
     private RepositorySystem repositorySystem;
 
-    @Component
+    @Parameter( defaultValue = "${session}", readonly = true )

Review Comment:
   This is suggested by `maven-plugin-plugin`
   ```
   INFO] --- maven-plugin-plugin:3.6.4:descriptor (default-descriptor) @ 
maven-it-plugin-bootstrap ---
   [INFO] Using 'UTF-8' encoding to read mojo source files.
   [WARNING] Deprecated @Component annotation for 'session' field in 
org.apache.maven.its.bootstrap.DownloadMojo: replace with @Parameter( 
defaultValue = "${session}", readonly = true )
   ```



-- 
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-unsubscr...@maven.apache.org

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

Reply via email to