Simon Althoff created MINVOKER-270:
--------------------------------------
Summary: Documentation error on postBuildScript explanations
Key: MINVOKER-270
URL: https://issues.apache.org/jira/browse/MINVOKER-270
Project: Maven Invoker Plugin
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Simon Althoff
In the table of global variables in the
[documentation|https://maven.apache.org/plugins/maven-invoker-plugin/examples/post-build-script.html]
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|https://github.com/apache/maven-script-interpreter/blob/aec79dd1348b323ec1e23338908508eedf6142c6/src/main/java/org/apache/maven/shared/scriptinterpreter/ScriptRunner.java#L227]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)