arturobernalg opened a new pull request, #164: URL: https://github.com/apache/maven-dependency-tree/pull/164
Both graph builders unconditionally dereference child.getDependency() to build the child's artifact. Some resolver transformers produce DependencyNodes that carry only an Artifact and no Dependency, so this throws an NPE instead of falling back the way the root node already does (its artifact is passed in explicitly rather than derived from a Dependency). Fixes #135 --- To make clear that you license your contribution under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) check one of the following: - [x] I hereby declare this contribution to be licensed under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) - [x] I hereby declare that I have filed an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). https://claude.ai/code/session_01BrsHTdDq7PD1DoqeA9vs66 -- 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]
