gnodet commented on PR #812:
URL: https://github.com/apache/maven/pull/812#issuecomment-1731994316
> > What am I doing wrong?
>
> The PR only tackles plugin configuration injection, not model
interpolation. I'll see if/how that can be done...
Actually, this is not the problem. The problem is that the
maven-help-plugin is using the `PluginParameterExpressionEvaluator` and not the
`PluginParameterExpressionEvaluatorV4`. However, after also enhancing the
`PluginParameterExpressionEvaluator` class, the next problem is that
`${session.multiModuleProjectDirectory}` only works on the v4 api, as the
`MavenSession` does not have the `multiModuleProjectDirectory`, which is
deprecated.
After fixing everything that, I do have
```
[INFO] Enter the Maven expression i.e. ${project.groupId} or 0 to exit?:
${session.rootDirectory.uri}
[INFO]
<uri>file:///Users/gnodet/work/git/maven/</uri>
```
--
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]