fix: add dependency relationships for Java archives and Maven sources #3405
Annotations
11 errors and 2 warnings
Update PR benchmark results comment
Resource not accessible by integration
|
Run benchmark tests:
syft/pkg/cataloger/java/archive_parser_test.go#L83
ap.maven.GetLicenses undefined (type *maven.Resolver has no field or method GetLicenses)
|
Run benchmark tests:
syft/pkg/cataloger/java/archive_parser_test.go#L354
not enough arguments in call to parser.parse
|
Run benchmark tests:
syft/pkg/cataloger/java/archive_parser_test.go#L625
too many arguments in call to gap.parseJavaArchive
|
Run benchmark tests:
syft/pkg/cataloger/java/archive_parser_test.go#L1344
cannot use gap.parseJavaArchive (value of type func(ctx context.Context, reader "github.com/anchore/syft/syft/file".LocationReadCloser, parentPkg *pkg.Package) ([]pkg.Package, []artifact.Relationship, error)) as generic.Parser value in argument to pkgtest.NewCatalogTester().FromFile(t, generateJavaMetadataJarFixture(t, tt.fixtureName, tt.fileExtension)).Expects(tt.expectedPkgs, tt.expectedRelationships).WithCompareOptions(cmpopts.IgnoreFields(pkg.JavaArchive{}, "ArchiveDigests"), cmp.Comparer(func(x, y pkg.KeyValue) bool {…})).TestParser
|
Run benchmark tests:
syft/pkg/cataloger/java/parse_pom_xml_test.go#L289
r.GetLicenses undefined (type *maven.Resolver has no field or method GetLicenses)
|
Run benchmark tests:
syft/pkg/cataloger/java/archive_parser_test.go#L83
ap.maven.GetLicenses undefined (type *maven.Resolver has no field or method GetLicenses)
|
Run benchmark tests:
syft/pkg/cataloger/java/archive_parser_test.go#L354
not enough arguments in call to parser.parse
|
Run benchmark tests:
syft/pkg/cataloger/java/archive_parser_test.go#L625
too many arguments in call to gap.parseJavaArchive
|
Run benchmark tests:
syft/pkg/cataloger/java/archive_parser_test.go#L1344
cannot use gap.parseJavaArchive (value of type func(ctx context.Context, reader "github.com/anchore/syft/syft/file".LocationReadCloser, parentPkg *pkg.Package) ([]pkg.Package, []artifact.Relationship, error)) as generic.Parser value in argument to pkgtest.NewCatalogTester().FromFile(t, generateJavaMetadataJarFixture(t, tt.fixtureName, tt.fileExtension)).Expects(tt.expectedPkgs, tt.expectedRelationships).WithCompareOptions(cmpopts.IgnoreFields(pkg.JavaArchive{}, "ArchiveDigests"), cmp.Comparer(func(x, y pkg.KeyValue) bool {…})).TestParser
|
Run benchmark tests:
syft/pkg/cataloger/java/parse_pom_xml_test.go#L289
r.GetLicenses undefined (type *maven.Resolver has no field or method GetLicenses)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
No files were found with the provided path: test/results/**/*. No artifacts will be uploaded.
|
Loading