diff --git a/pkg/dependency/parser/java/pom/artifact.go b/pkg/dependency/parser/java/pom/artifact.go index 341fa941cd8f..4dc5311377e2 100644 --- a/pkg/dependency/parser/java/pom/artifact.go +++ b/pkg/dependency/parser/java/pom/artifact.go @@ -18,7 +18,7 @@ import ( var ( varRegexp = regexp.MustCompile(`\${(\S+?)}`) emptyVersionWarn = sync.OnceFunc(func() { - log.WithPrefix("pom").Warn("Dependency version is empty. Child dependencies will not be found.", + log.WithPrefix("pom").Warn("Dependency version cannot be determined. Child dependencies will not be found.", // e.g. https://aquasecurity.github.io/trivy/latest/docs/coverage/language/java/#empty-dependency-version log.String("details", doc.URL("/docs/coverage/language/java/", "empty-dependency-version"))) })