mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 23:16:30 +01:00
Read a license from a parent pom stored in Maven Central (#2228)
* Read a license from a parent pom stored in Maven Central --------- Signed-off-by: Colm O hEigeartaigh <coheigea@apache.org> Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com> Co-authored-by: Christopher Phillips <christopher.phillips@anchore.com>
This commit is contained in:
co-authored by
Christopher Phillips
parent
262423b1e8
commit
78ac2f9797
@@ -601,6 +601,15 @@ golang:
|
||||
# if unset this defaults to $GONOPROXY
|
||||
# SYFT_GOLANG_NOPROXY env var
|
||||
no-proxy: ""
|
||||
|
||||
java:
|
||||
# when running across pom.xml files that could have more information, syft will
|
||||
# explicitly search maven for license information by querying the online pom when this is true eg:
|
||||
# https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-test/3.1.5/spring-boot-starter-test-3.1.5.pom
|
||||
# this option is helpful for when the parent pom has this information,
|
||||
# but it is not accessible from within the final built artifact
|
||||
search-maven-for-licenses: false
|
||||
maven-url: "https://repo1.maven.org/maven2"
|
||||
|
||||
linux-kernel:
|
||||
# whether to catalog linux kernel modules found within lib/modules/** directories
|
||||
|
||||
Reference in New Issue
Block a user