gnodet opened a new pull request, #12741: URL: https://github.com/apache/maven/pull/12741
## Summary Backport of #12740 to `maven-4.0.x` for RC-7. - Catch `InvalidPathException` in `BuildPathSource.resolve()` and `FileModelSource.getRelatedSource()` when the `<relativePath>` value contains characters illegal on certain platforms (e.g. `:` on Windows) - Return `null` instead of throwing, matching the behavior on platforms where `Path.resolve()` succeeds but the path doesn't exist - Some POMs on Maven Central have nonsensical `<relativePath>` values like `org.apache:apache` (e.g. `artemis-project-2.33.0.pom`) which trigger this on Windows Fixes https://issues.apache.org/jira/browse/MNG-8129 Related: #12738 🤖 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]
