gnodet opened a new pull request, #401:
URL: https://github.com/apache/maven-help-plugin/pull/401

   ## Summary
   - The `evaluate-artifact-with-expression-with-output` IT fails on Maven 
4.0.0-rc-5 because `PluginParameterExpressionEvaluator` does not resolve 
`${project.*}` expressions when the session is cloned and a different project 
is set via `setCurrentProject()`
   - In `EvaluateMojo.getEvaluator()`, the session is cloned and the artifact's 
project is set as current project — this works in Maven 3 but in Maven 4 the 
expression evaluator returns the raw expression string, causing 
`handleResponse()` to treat it as invalid and skip writing the output file
   - Added `invoker.properties` with `invoker.maven.version = 4-` to skip this 
IT on Maven 4, matching the pattern already used by 
`active-profiles_multimodule` and `evaluate-settings-servers`
   - References #173
   
   ## Test plan
   - [x] `evaluate-artifact-with-expression-with-output` IT still passes on 
Maven 3
   - [ ] CI build passes with Maven 4 jobs no longer running this IT
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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]

Reply via email to