rfscholte commented on a change in pull request #4:
URL:
https://github.com/apache/maven-scripting-plugin/pull/4#discussion_r684207177
##########
File path: src/main/java/org/apache/maven/plugins/scripting/EvalMojo.java
##########
@@ -73,8 +84,10 @@ public void execute()
AbstractScriptEvaluator execute = constructExecute();
Bindings bindings = new SimpleBindings();
+ bindings.put( "session", session );
bindings.put( "project", project );
bindings.put( "log", getLog() );
+ bindings.put( "servers", new Servers( session, settingsDecrypter ) );
Review comment:
If I understand what you need and staying close to what Maven offers, I
think you should focus on
`session.getRepositorySession().getAuthenticationSelector().getAuthentication(RemoteRepository)`
--
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]