mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
feat(java): Add support for .far (Feature Archive) files (#4193)
* feat(java): add support for .far archivesEnables the Java cataloger to recognize and catalog dependencies within .far files, which are used in Apache Sling applications. Signed-off-by: Kyounghoon Jang <matkimchi_@naver.com> * feat(java): Add tests for .far (Feature Archive) file support Signed-off-by: Kyounghoon Jang <matkimchi_@naver.com> --------- Signed-off-by: Kyounghoon Jang <matkimchi_@naver.com> Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
parent
f5c765192c
commit
c5c1454848
@ -37,6 +37,7 @@ var archiveFormatGlobs = []string{
|
||||
"**/*.jpi",
|
||||
"**/*.hpi",
|
||||
"**/*.kar",
|
||||
"**/*.far",
|
||||
"**/*.lpkg", // Zip-compressed package used to deploy applications
|
||||
// (aka plugins) to Liferay Portal server. Those files contains .JAR(s) and a .PROPERTIES file, the latter
|
||||
// has information about the application and installation requirements.
|
||||
|
||||
@ -29,6 +29,7 @@ func Test_ArchiveCataloger_Globs(t *testing.T) {
|
||||
"java-archives/example.kar",
|
||||
"java-archives/example.jpi",
|
||||
"java-archives/example.hpi",
|
||||
"java-archives/example.far",
|
||||
"java-archives/example.lpkg",
|
||||
"java-archives/example.rar",
|
||||
"archives/example.zip",
|
||||
|
||||
@ -0,0 +1 @@
|
||||
example archive
|
||||
Loading…
x
Reference in New Issue
Block a user