You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[MSCRIPTING-7] Session is not bound in scripting bindings #44
There's no description, so it is unclear why the session needs to be added to the bindings. Based on the PR it seems like the real reason is to have access to the server entries. I've closed that due to security vulnerability reasons, so maybe this ticket can be closed too.
There are operations you cant do without the session so it must be done otherwise the scripting goal to enable to extend the build with custom tasks without writing a plugin for specific cases is not reached. All other scripting plugins do generally for that reason. Minimum is to let the ioc/guice injector/plexus container be accessed.
Activity
jira-importer commentedon Aug 21, 2021
Robert Scholte commented
There's no description, so it is unclear why the session needs to be added to the bindings. Based on the PR it seems like the real reason is to have access to the server entries. I've closed that due to security vulnerability reasons, so maybe this ticket can be closed too.
jira-importer commentedon Aug 22, 2021
Romain Manni-Bucau commented
There are operations you cant do without the session so it must be done otherwise the scripting goal to enable to extend the build with custom tasks without writing a plugin for specific cases is not reached. All other scripting plugins do generally for that reason. Minimum is to let the ioc/guice injector/plexus container be accessed.
jira-importer commentedon Aug 22, 2021
Robert Scholte commented
It looks like you want to be able to use
@Injectin you scripts. Haven't seen something like that before.jira-importer commentedon Aug 22, 2021
Romain Manni-Bucau commented
Functionally i want to be able to replace any custom mojo so i need kind of inject capability.
Gmavenplus plugin does it exposing the session and therefore plexus container as most plugins.
elharo commentedon Dec 21, 2025
closing as won't do