gnodet opened a new pull request, #11528:
URL: https://github.com/apache/maven/pull/11528
Previously, `${project.basedir}` was only allowed in
`activation.file.exists` and `activation.file.missing`. This change extends the
same allowance to `activation.condition`, which is a new Maven 4.0.0 feature
that also needs to reference the project base directory for its expressions.
This fixes a false positive warning when using expressions like
`exists("${project.basedir}/src/main/java")` in activation conditions.
### Changes
- Updated `DefaultModelValidator` to allow `${project.basedir}` in
`activation.condition` path
- Added unit test for the new behavior
---
Pull Request opened by [Augment Code](https://www.augmentcode.com/) with
guidance from the PR author
--
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]