slachiewicz commented on code in PR #4:
URL: 
https://github.com/apache/maven-scripting-plugin/pull/4#discussion_r2651059189


##########
src/main/java/org/apache/maven/plugins/scripting/EvalMojo.java:
##########
@@ -60,18 +64,27 @@ public class EvalMojo extends AbstractMojo {
     @Parameter
     String scriptResource;
 
+    @Component
+    private SettingsDecrypter settingsDecrypter;
+
     // script variables
     @Parameter(defaultValue = "${project}", readonly = true)
     private MavenProject project;
 
+    // script variables
+    @Parameter(defaultValue = "${session}", readonly = true)

Review Comment:
   Simply change to @Inject



##########
src/main/java/org/apache/maven/plugins/scripting/EvalMojo.java:
##########
@@ -60,18 +64,27 @@ public class EvalMojo extends AbstractMojo {
     @Parameter
     String scriptResource;
 
+    @Component
+    private SettingsDecrypter settingsDecrypter;
+
     // script variables
     @Parameter(defaultValue = "${project}", readonly = true)
     private MavenProject project;
 
+    // script variables
+    @Parameter(defaultValue = "${session}", readonly = true)

Review Comment:
   Simply change to @Inject



-- 
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