You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/coverage/language/java.md
+11
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,16 @@ The vulnerability database will be downloaded anyway.
69
69
!!! Warning
70
70
Trivy may skip some dependencies (that were not found on your local machine) when the `--offline-scan` flag is passed.
71
71
72
+
### empty dependency version
73
+
There are cases when Trivy cannot determine the version of dependencies:
74
+
75
+
- Unable to determine the version from the parent because the parent is not reachable;
76
+
- The dependency uses a [hard requirement][version-requirement] with more than one version.
77
+
78
+
In these cases, Trivy uses an empty version for the dependency.
79
+
80
+
!!! Warning
81
+
Trivy doesn't detect child dependencies for dependencies without a version.
72
82
73
83
### maven-invoker-plugin
74
84
Typically, the integration tests directory (`**/[src|target]/it/*/pom.xml`) of [maven-invoker-plugin][maven-invoker-plugin] doesn't contain actual `pom.xml` files and should be skipped to avoid noise.
@@ -120,3 +130,4 @@ Make sure that you have cache[^8] directory to find licenses from `*.pom` depend
0 commit comments