Skip to content

Duplicate package-urls may lead to unmapped components in bom map #123

@tngraf

Description

@tngraf

Duplicate package-urls - more precise duplicate package-urls in different components - may lead to unmapped components in bom map.

Example of a failed bom map:

...
 jackson-core, 2.17.2
    Releases purls point to different components: {'https://sw360.dummy.com/resource/api/components/df946d849687b79d1348e0b09a0ae101': '2.18.0', 'https://sw360.dummy.com/resource/api/components/95459e7828d44df4b110239b74587aea': '2.5.0'}
...
Mapping result:
  ...
  No match, jackson-core, 2.17.2 
...
Total releases    = 33
  Full matches    = 32
  Name matches    = 0
  Similar matches = 0
  No match        = 1
 Creating result overview overview.json
...
No unique mapping found - manual action needed!

It does not to be exactly the same package-url. In the example above one is pkg:maven/com.fasterxml.jackson.core/jackson-core@2.18.0?type=jar and the other one is pkg:maven/com.fasterxml.jackson.core/jackson-core@2.5.0?type=jar.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions