Skip to content

[MSCRIPTING-7] Session is not bound in scripting bindings #44

Closed

Description

@jira-importer

Romain Manni-Bucau opened MSCRIPTING-7 and commented


Affects: 3.0.0

Remote Links:

1 votes, 4 watchers

Activity

  1. jira-importer commented on Aug 21, 2021

    @jira-importer
    Author

    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.

  2. jira-importer commented on Aug 22, 2021

    @jira-importer
    Author

    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.

  3. jira-importer commented on Aug 22, 2021

    @jira-importer
    Author

    Robert Scholte commented

    It looks like you want to be able to use @Inject in you scripts. Haven't seen something like that before.

  4. jira-importer commented on Aug 22, 2021

    @jira-importer
    Author

    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.

  5. elharo commented on Dec 21, 2025

    @elharo
    Contributor

    closing as won't do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions