Replies: 1 comment 2 replies
-
Hello @dev-sca We need to see your pom.xml file (you can create a test file that reproduces this case) to understand the cause of the problem. Regards, Dmitriy |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
My application has transitive dependency library named "jaxb-core" and I created SBOM with my application via "trivy fs ... --format cyclonedx -o cyclonedx.json"
but in SBOM, it's appeared to be a directive dependency on my application.
Desired Behavior
my application's library depends on "hibernate-core"
"hibernate-core" depends on "jaxb-runtime"
"jaxb-runtime" depends on "jaxb-core"
Actual Behavior
my application's library depneds on "hibernate-core"

my application's library depneds on "jaxb-core"
"hibernate-core" depends on "jaxb-runtime"

"jaxb-runtime" depends on nothing

Reproduction Steps
Target
Filesystem
Scanner
None
Output Format
CycloneDX
Mode
Standalone
Debug Output
Operating System
Windows
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions