camel sbom

Generate a CycloneDX or SPDX SBOM for a specific project

Usage

camel sbom [options]

Options

Option Description Default Type

--build-property

Maven/Gradle build properties, ex. --build-property=prop1=foo

List

--build-tool (deprecated)

DEPRECATED: Build tool to use (maven or gradle) (gradle is deprecated)

maven

String

--camel-spring-boot-version

Camel version to use with Spring Boot

String

--camel-version

To export using a different Camel version than the default version.

String

--clean-dir

If exporting to current directory (default) then all existing files are preserved. Enabling this option will force cleaning current directory including all sub dirs (use this with care)

false

boolean

--cyclonedx-plugin-version

The CycloneDX Maven Plugin version

2.9.1

String

--dep,--dependency

Add additional dependencies

List

--dir,--directory

Directory where the project will be exported

.

String

--download

Whether to allow automatic downloading JAR dependencies (over the internet)

true

boolean

--exclude

Exclude files by name or pattern

List

--fresh

Make sure we use fresh (i.e. non-cached) resources

false

boolean

--gav

The Maven group:artifact:version

String

--gradle-wrapper (deprecated)

DEPRECATED: Include Gradle Wrapper files in exported project

true

boolean

--groovy-pre-compiled

Whether to include pre-compiled Groovy classes in the export (only supported with runtime=camel-main)

false

boolean

--hawtio

Whether to include Hawtio web console (only available for exporting to Spring Boot or Quarkus)

false

boolean

--hawtio-version

Version of the Hawtio web console

HawtioVersion.HAWTIO_VERSION

String

--ignore-loading-error

Whether to ignore route loading and compilation errors (use this with care!)

false

boolean

--java-version

Java version

21

String

--kamelets-version

Apache Camel Kamelets version

RuntimeType.KAMELETS_VERSION

String

--lazy-bean

Whether to use lazy bean initialization (can help with complex classloading issues

true

boolean

--local-kamelet-dir

Local directory for loading Kamelets (takes precedence)

String

--logging

Can be used to turn on logging to console (logs by default to file in <user home>/.camel directory)

false

boolean

--logging-level

Logging level

info

String

--main-classname

The class name of the Camel Main application class

CamelApplication

String

--management-port

To use a dedicated port for HTTP management

int

--maven-apache-snapshot-enabled

Whether downloading JARs from ASF Maven Snapshot repository is enabled

true

boolean

--maven-central-enabled

Whether downloading JARs from Maven Central repository is enabled

true

boolean

--maven-settings

Optional location of Maven settings.xml file to configure servers, repositories, mirrors and proxies. + If set to false, not even the default ~/.m2/settings.xml will be used.

String

--maven-settings-security

Optional location of Maven settings-security.xml file to decrypt settings.xml

String

--maven-wrapper

Include Maven Wrapper files in exported project

true

boolean

--name

The integration name. Use this when the name should not get derived otherwise.

String

--observe

Enable observability services

false

boolean

--open-api

Adds an OpenAPI spec from the given file (json or yaml file)

String

--output-directory

Directory where the SBOM will be saved

.

String

--output-name

Output name of the SBOM file

sbom

String

--package-name

For Java source files should they have the given package name. By default the package name is computed from the Maven GAV. + Use false to turn off and not include package name in the Java source files.

String

--package-scan-jars

Whether to automatic package scan JARs for custom Spring or Quarkus beans making them available for Camel JBang

false

boolean

--port

Embeds a local HTTP server on this port

int

--profile

Profile to export (dev, test, or prod).

String

--prop,--property

Camel application properties, ex. --property=prop1=foo

String

--quarkus-artifact-id

Quarkus Platform Maven artifactId

quarkus-bom

String

--quarkus-group-id

Quarkus Platform Maven groupId

io.quarkus.platform

String

--quarkus-version

Quarkus Platform version

RuntimeType.QUARKUS_VERSION

String

--quiet

Will be quiet, only print when error occurs

false

boolean

--repo,--repos

Additional maven repositories (Use commas to separate multiple repositories)

String

--runtime

Runtime ()

RuntimeType

--sbom-format

The SBOM format, possible values are cyclonedx or spdx

CYCLONEDX_FORMAT

String

--sbom-output-format

The SBOM output format, possible values are json or xml

SBOM_JSON_FORMAT

String

--skip-plugins

Skip plugins during export

false

boolean

--spdx-plugin-version

The SPDX Maven Plugin version

0.7.4

String

--spring-boot-version

Spring Boot version

RuntimeType.SPRING_BOOT_VERSION

String

--verbose

Verbose output of startup activity (dependency resolution and downloading

false

boolean

-h,--help

Display the help and sub-commands

boolean