Skip to content

[MINVOKER-270] Documentation error on postBuildScript explanations #299

Closed
apache/maven-script-interpreter
#212

Description

@jira-importer

Simon Althoff opened MINVOKER-270 and commented

In the table of global variables in the documentation it says that 'baseDir' is 'The absolute path to the base directory of the test project.'

When running a script that is not located in the test projects root, 'baseDir' is set to the script's directory. This contradicts the documentation.

See relevant line in the ScriptRunner

 


Affects: 3.2.1

Issue Links:

  • MINVOKER-320 Placeholder basedir is confusing, has different value in filtering and scripts

Activity

  1. jira-importer commented on May 21, 2022

    @jira-importer
    Author

    Slawomir Jaranowski commented

    PR are welcome

  2. jira-importer commented on Aug 8, 2022

    @jira-importer
    Author

    Shubham Jain commented

    I can submit a PR.
    I guess the documentation change is required in this project.
    https://github.com/apache/maven-invoker-plugin

  3. added
    bug
    priority:minor
    on Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority:minor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions