camel sbom
Generate a CycloneDX or SPDX SBOM for a specific project
Options
| Option | Description | Default | Type |
|---|---|---|---|
| Maven/Gradle build properties, ex. --build-property=prop1=foo | List | |
| DEPRECATED: Build tool to use (maven or gradle) (gradle is deprecated) | maven | String |
| Camel version to use with Spring Boot | String | |
| To export using a different Camel version than the default version. | String | |
| 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 |
| The CycloneDX Maven Plugin version | 2.9.1 | String |
| Add additional dependencies | List | |
| Directory where the project will be exported | . | String |
| Whether to allow automatic downloading JAR dependencies (over the internet) | true | boolean |
| Exclude files by name or pattern | List | |
| Make sure we use fresh (i.e. non-cached) resources | false | boolean |
| The Maven group:artifact:version | String | |
| DEPRECATED: Include Gradle Wrapper files in exported project | true | boolean |
| Whether to include pre-compiled Groovy classes in the export (only supported with runtime=camel-main) | false | boolean |
| Whether to include Hawtio web console (only available for exporting to Spring Boot or Quarkus) | false | boolean |
| Version of the Hawtio web console | HawtioVersion.HAWTIO_VERSION | String |
| Whether to ignore route loading and compilation errors (use this with care!) | false | boolean |
| Java version | 21 | String |
| Apache Camel Kamelets version | RuntimeType.KAMELETS_VERSION | String |
| Whether to use lazy bean initialization (can help with complex classloading issues | true | boolean |
| Local directory for loading Kamelets (takes precedence) | String | |
| Can be used to turn on logging to console (logs by default to file in <user home>/.camel directory) | false | boolean |
| Logging level | info | String |
| The class name of the Camel Main application class | CamelApplication | String |
| To use a dedicated port for HTTP management | int | |
| Whether downloading JARs from ASF Maven Snapshot repository is enabled | true | boolean |
| Whether downloading JARs from Maven Central repository is enabled | true | boolean |
| 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 | |
| Optional location of Maven settings-security.xml file to decrypt settings.xml | String | |
| Include Maven Wrapper files in exported project | true | boolean |
| The integration name. Use this when the name should not get derived otherwise. | String | |
| Enable observability services | false | boolean |
| Adds an OpenAPI spec from the given file (json or yaml file) | String | |
| Directory where the SBOM will be saved | . | String |
| Output name of the SBOM file | sbom | String |
| 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 | |
| Whether to automatic package scan JARs for custom Spring or Quarkus beans making them available for Camel JBang | false | boolean |
| Embeds a local HTTP server on this port | int | |
| Profile to export (dev, test, or prod). | String | |
| Camel application properties, ex. --property=prop1=foo | String | |
| Quarkus Platform Maven artifactId | quarkus-bom | String |
| Quarkus Platform Maven groupId | io.quarkus.platform | String |
| Quarkus Platform version | RuntimeType.QUARKUS_VERSION | String |
| Will be quiet, only print when error occurs | false | boolean |
| Additional maven repositories (Use commas to separate multiple repositories) | String | |
| Runtime () | RuntimeType | |
| The SBOM format, possible values are cyclonedx or spdx | CYCLONEDX_FORMAT | String |
| The SBOM output format, possible values are json or xml | SBOM_JSON_FORMAT | String |
| Skip plugins during export | false | boolean |
| The SPDX Maven Plugin version | 0.7.4 | String |
| Spring Boot version | RuntimeType.SPRING_BOOT_VERSION | String |
| Verbose output of startup activity (dependency resolution and downloading | false | boolean |
| Display the help and sub-commands | boolean |