Skip to content

classifier is ommited in latest version of the plugin #636

@carlosoliboniamigo

Description

@carlosoliboniamigo

Describe the bug

In the latest version of the plugin, the classifier of a component is being ommited while in versions 1.X it was not.

To Reproduce

Alternatively:

  • Include dependency 'org.springframework.boot:spring-boot-starter-webflux:3.4.5' in your project
  • Runs cyclonedxBom using version 1.10.0 of the plugin
  • Runs cyclonedxBom using version 2.3.1 of the plugin
  • Notice in the reports the transitive dependency pkg:maven/io.netty/[email protected]?classifier=linux-x86_64&type=jar will contain classifier in version 1.10.0 but not in version 2.3.1

Expected behavior

I expect the classifier information to be present in reports for version 2.3.1 the way it was in 1.10.0.

Environment (please complete the following information):

  • OS: WSL (W11) running Ubuntu
  • Gradle version 8.14.2
  • CycloneDX Plugin version: 2.3.1

Additional context

I attached an image showing the difference in the reports.

Image

Contribution

  • I am willing to provide a fix
  • I will wait until somebody else fixes it

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions