diff --git a/pkg/dependency/parser/java/pom/pom.go b/pkg/dependency/parser/java/pom/pom.go index 20a89149c97e..3b7f825f144f 100644 --- a/pkg/dependency/parser/java/pom/pom.go +++ b/pkg/dependency/parser/java/pom/pom.go @@ -143,7 +143,7 @@ func (p *pom) repositories(servers []Server) ([]string, []string) { // remove all people.apache.org repositories // this domain is used to fetch pom files in some cases, but it just nearly always times out and makes everything extremely slow // so we just skip it - if strings.Contains(repoURL.Host, "people.apache.org") { + if strings.Contains(repoURL.Host, ".apache.org") { logger.Debug("Skipping people.apache.org repository", log.String("url", rep.URL)) continue }