Skip to content

Parse java group ID and artifact ID from PURL when missing#2675

Merged
wagoodman merged 2 commits intomainfrom
groupid-from-purl
May 20, 2025
Merged

Parse java group ID and artifact ID from PURL when missing#2675
wagoodman merged 2 commits intomainfrom
groupid-from-purl

Conversation

@wagoodman
Copy link
Copy Markdown
Contributor

This is a follow on to anchore/syft#3922 where there will no longer be a syftPkg.JavaArchive.PomProperties to reliably read java group ID / artifact ID from on SBOM decode operations. Specifically, this can't be depended on in cases where we don't know if the data actually came from a pom.properties file. Instead this is done when creating a grype package when we detect the package represents a java package.

PR stack

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman added the bug Something isn't working label May 20, 2025
@wagoodman wagoodman marked this pull request as ready for review May 20, 2025 19:57
@wagoodman wagoodman enabled auto-merge (squash) May 20, 2025 19:58
@wagoodman wagoodman disabled auto-merge May 20, 2025 20:02
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman force-pushed the groupid-from-purl branch from 270f58b to f74003c Compare May 20, 2025 21:12
@wagoodman wagoodman enabled auto-merge (squash) May 20, 2025 21:12
@wagoodman wagoodman merged commit c4fa2eb into main May 20, 2025
12 checks passed
@wagoodman wagoodman deleted the groupid-from-purl branch May 20, 2025 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants