elharo opened a new pull request, #12632: URL: https://github.com/apache/maven/pull/12632
## Bug `DefaultInheritanceAssembler.getChildPathAdjustment()` throws NPE when: 1. `child.getProjectDirectory().getFileName()` returns null (root path like `/`) 2. `child.getArtifactId()` returns null ## Fix - Added null check for `child.getProjectDirectory().getFileName()` before calling `.toString()` ## Testing Added `DefaultInheritanceAssemblerTest` with three test cases: - Null artifactId (no project directory) - Root project directory (`getFileName()` returns null) - Both null artifactId and root project directory Co-authored-by: elharo -- 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]
