+
Skip to content

jar parsing does not use pom.xml when pom.properties is missing #4260

@douglasclarke

Description

@douglasclarke

What happened:

scanning of an io.micronaut jar file does not report correct group-id, uses MANIFEST.MF

What you expected to happen:

the archive_parser should consider the pom.xml ahead of the MANIFEST.MF

Steps to reproduce the issue:

Scan any jar file with only a pom.xml and no pom.properties and have the correct maven coordinates identified

Anything else we need to know?:

I have a potential fix douglasclarke#8

Environment:

  • Output of syft version:
  • OS (e.g: cat /etc/os-release or similar):

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载