Parsing pom.xml inside JAR files #8451
Unanswered
blueocean2025
asked this question in
Q&A
Replies: 1 comment
-
Hello @blueocean2025 But default jar file doesn't include dependencies. It contains only source code. So to exclude unused dependencies - we don't parse pom.xml files. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
Hi everyone,
I am new to Trivy, and also new to Java. As I am exploring Trivy and reading documentation, I noticed Trivy only parses
pom.properties
andMANIFEST.MF
files in JAR/WAR/PAR/EAR (https://trivy.dev/v0.56/docs/coverage/language/java/). Could you please teach me why Trivy does not consider parsingpom.xml
inside JAR? Also, assuming if we were to supportpom.xml
parser in the JAR, what are the difficulties and downsides?Thank you all
Target
None
Scanner
None
Output Format
None
Mode
None
Operating System
No response
Version
Beta Was this translation helpful? Give feedback.
All reactions