-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Description
Description
We currently get repositories
from pom.xml
files + maven central
:
trivy/pkg/dependency/parser/java/pom/parse.go
Lines 339 to 342 in 57e24aa
// Update remoteRepositories | |
pomReleaseRemoteRepos, pomSnapshotRemoteRepos := pom.repositories(p.servers) | |
p.releaseRemoteRepos = lo.Uniq(append(pomReleaseRemoteRepos, p.releaseRemoteRepos...)) | |
p.snapshotRemoteRepos = lo.Uniq(append(pomSnapshotRemoteRepos, p.snapshotRemoteRepos...)) |
But settings.xml
file may also contain remote repositories.
We need to add logic to get repositories from this file.
See more details in #7175
Discussed in #7175
malmor, gustoliv, pjungermann, caquino, Sanjaysdd and 1 more
Metadata
Metadata
Assignees
Labels
help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.