fix(java): add hash of GAV+root pom file path for pkgID for packages from pom.xml files (#9880)

Co-authored-by: Teppei Fukuda <knqyf263@gmail.com>
This commit is contained in:
DmitriyLewen
2026-01-15 13:31:21 +06:00
committed by GitHub
parent 5fced3ae49
commit 809db46231
21 changed files with 1051 additions and 424 deletions

View File

@@ -17,5 +17,5 @@ func (c pomCache) get(art artifact) *analysisResult {
}
func (c pomCache) key(art artifact) string {
return fmt.Sprintf("%s:%s", art.Name(), art.Version)
return fmt.Sprintf("%s:%s:%s", art.Name(), art.Version, art.RootFilePath)
}