Will-thom opened a new pull request, #12146: URL: https://github.com/apache/maven/pull/12146
Fixes #8403. This avoids NullPointerException when Maven code builds internal model ids in environments where Class#getPackage() returns null, while preserving the previous model id contents when package metadata exists but the implementation version is absent. The fallback is applied to the remaining implementation-version based model ids in the current codebase. Validation: - mvn -B -am -pl compat/maven-model-builder,impl/maven-impl,impl/maven-core -Dtest=DefaultReportingConverterTest,DefaultSuperPomProviderTest,DefaultLifecycleRegistryTest -Dsurefire.failIfNoSpecifiedTests=false test -- 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]
