Skip to content

CycloneDX parameters do not apply #47934

@lucakes

Description

@lucakes

Describe the bug

According to https://quarkus.io/guides/cyclonedx the execution of mvn help:describe -Dcmd=quarkus:dependency-sbom -Ddetail prints additional parameters sbom generation.
But on execution of e.g. mvn clean quarkus:dependency-sbom -Dformat=xml they don't get applied. Same as for runtimeOnly and possibly for all the other parameters.

Expected behavior

Parameters of mvn clean quarkus:dependency-sbom get applied

Actual behavior

Parameters of mvn clean quarkus:dependency-sbom don't show any effect.

How to Reproduce?

  1. generate new project by using https://code.quarkus.io/ use quarkus version 3.20 and add extension cyclonedx
  2. download project and unzip
  3. execute mvn clean quarkus:dependency-sbom -Dformat=xml

Output of uname -a or ver

Darwin xx 24.4.0 Darwin Kernel Version 24.4.0: Wed Mar 19 21:16:31 PDT 2025; root:xnu-11417.101.15~1/RELEASE_X86_64 x86_64

Output of java -version

openjdk version "17.0.10" 2024-01-16 OpenJDK Runtime Environment Homebrew (build 17.0.10+0) OpenJDK 64-Bit Server VM Homebrew (build 17.0.10+0, mixed mode, sharing)

Quarkus version or git rev

3.22, 3.20, 3.15

Build tool (ie. output of mvnw --version or gradlew --version)

Maven home: /Users/xx/.m2/wrapper/dists/apache-maven-3.9.9-bin/33b4b2b4/apache-maven-3.9.9 Java version: 21.0.5, vendor: Amazon.com Inc., runtime: /Users/xx/.sdkman/candidates/java/21.0.5-amzn Default locale: de_DE, platform encoding: UTF-8 OS name: "mac os x", version: "15.4", arch: "x86_64", family: "mac"

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions