User manual

camel validate source

Validate any Camel source file: YAML, properties, Java, XSLT, XML

This command is provided by the validate plugin. Install it with camel plugin add validate.

Usage

camel validate source [options]

Options

Option Description Default Type

--camel-version

Validate against another Camel version than the CLI’s own: its catalog and YAML DSL schema

String

--download

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

true

boolean

--fresh

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

false

boolean

--quarkus-artifact-id (deprecated)

Deprecated. This value is not used anymore. It is kept only for backwards compatibility and will be removed in Camel 5.x. Camel commands may use either 'quarkus-bom' or 'quarkus-camel-bom' artifactIds depending on the context.

quarkus-bom

String

--quarkus-ext-registry

The base URI of Quarkus Extension Registry. The default is {@value RuntimeType#QUARKUS_EXTENSION_REGISTRY_BASE_URL} unless camel.jbang.quarkus.platform.url system property is set (the /client/platforms suffix is removed if present).

String

--quarkus-group-id

groupId of Quarkus Platform BOM; honored only if --quarkus-version is set

io.quarkus.platform

String

--quarkus-version

version of Quarkus Platform BOM; the default value is looked up in Quarkus Extension Registry

String

--repo,--repos

Additional maven repositories for download on-demand (Use commas to separate multiple repositories)

String

--runtime

Runtime ; spring-boot and quarkus use the catalog of that runtime, so a component without a starter or extension is an error

RuntimeType

-h,--help

Display the help and sub-commands

boolean