gnodet opened a new pull request, #12743: URL: https://github.com/apache/maven/pull/12743
## Summary - Add validation in `DefaultModelValidator` to reject `<relativePath>` values containing characters illegal in filesystem paths (`: " < > | ? *`) - Uses `errOn31` severity (WARNING at default strict level) to avoid breaking existing builds - Path separators (`/` and `\`) are intentionally excluded from the banned list since the resolver handles them - Catches nonsensical values like `org.apache:apache` early with a clear error message Note: Maven 3.10.x uses `java.io.File` for path resolution (not `java.nio.file.Path`), so there is no `InvalidPathException` crash — `new File()` silently accepts any string. The validator check is sufficient for this branch. Companion to #12740 (master) and #12741 (maven-4.0.x) which also fix the `InvalidPathException` crash in the `Path.resolve()` code paths. Fixes https://issues.apache.org/jira/browse/MNG-8129 🤖 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]
