fix: java archives excluded due to incorrect license glob results (#4449)

Signed-off-by: Keith Zantow <kzantow@gmail.com>
This commit is contained in:
Keith Zantow
2025-12-08 15:58:13 -05:00
committed by GitHub
parent d950ac1fae
commit 9e3150b7ee
10 changed files with 47 additions and 128 deletions
@@ -11,7 +11,7 @@ import (
"github.com/anchore/syft/syft/pkg"
)
const pomPropertiesGlob = "*pom.properties"
const pomPropertiesGlob = "**/*pom.properties"
func parsePomProperties(path string, reader io.Reader) (*pkg.JavaPomProperties, error) {
var props pkg.JavaPomProperties