-
-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confusing warning "Dependency tree is partial lacking child nodes." #1385
Comments
@metametadata The particular message has gotten changed. cdxgen/lib/helpers/validator.js Line 226 in 8d33fd3
Let me know if there is a better way to phrase the fact that the dependency tree is partial. The logic to determine this is below: Line 12395 in 8d33fd3
|
Thank you for the reply.
The produced SBOM contains the next code: {
"ref": "pkg:maven/com.mysql/[email protected]?type=jar",
"dependsOn": []
} I suppose the empty
In my understanding, excluding
The formula Let's put Maven exclusions aside and consider the next
|
Will improve this. There must be some heuristics to evaluate if the given dependency tree is complete. |
Still reproducible (i.e. there's a warning printed unexpectedly) in v10.10.7 for the next valid POMs:
|
Steps
pom.xml
:Command:
Actual
Output:
Expected
No warnings.
Notes
protobuf
, it's a valid situation when the transitive dependency is explicitly excluded by the developer. So the warning is unexpected.The text was updated successfully, but these errors were encountered: