Package io.quarkus.deployment
Interface BootstrapConfig
@ConfigMapping(prefix="quarkus.bootstrap")
@ConfigRoot(phase=BUILD_TIME)
public interface BootstrapConfig
Bootstrap
This is used currently only to suppress warnings about unknown properties when the user supplies something like: -Dquarkus.debug.reflection=true
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanBy default, the bootstrap mechanism will create a shared cache of open JARs for Quarkus classloaders to reduce the total number of opened ZIP FileSystems in dev and test modes.booleanIf set to true, the workspace initialization will be based on the effective POMs (i.e. properly interpolated, including support for profiles) instead of the raw ones.booleanA temporary option introduced to avoid a logging warning when-Dquarkus.bootstrap.legacy-model-resolveris added to the build command line.Whether to throw an error, warn or silently ignore misaligned platform BOM importsbooleanIf set to true, workspace loader will log warnings for modules that could not be loaded for some reason instead of throwing errors.booleanIf set to true, workspace discovery will be enabled for all launch modes.
-
Method Details
-
effectiveModelBuilder
@WithDefault("false") boolean effectiveModelBuilder()If set to true, the workspace initialization will be based on the effective POMs (i.e. properly interpolated, including support for profiles) instead of the raw ones. -
workspaceDiscovery
@WithDefault("false") boolean workspaceDiscovery()If set to true, workspace discovery will be enabled for all launch modes. Usually, workspace discovery is enabled by default only for dev and test modes. -
warnOnFailingWorkspaceModules
@WithDefault("false") boolean warnOnFailingWorkspaceModules()If set to true, workspace loader will log warnings for modules that could not be loaded for some reason instead of throwing errors. -
disableJarCache
@WithDefault("false") boolean disableJarCache()By default, the bootstrap mechanism will create a shared cache of open JARs for Quarkus classloaders to reduce the total number of opened ZIP FileSystems in dev and test modes. Setting system propertyquarkus.bootstrap.disable-jar-cachetotruewill make Quarkus classloaders create a new ZIP FileSystem for each JAR classpath element every time it is added to a Quarkus classloader. -
legacyModelResolver
@WithDefault("false") boolean legacyModelResolver()A temporary option introduced to avoid a logging warning when-Dquarkus.bootstrap.legacy-model-resolveris added to the build command line. This option enables the legacy implementation of the Quarkus Application Model resolver. This option will be removed once the legacyApplicationModelresolver implementation gets removed. -
misalignedPlatformImports
Whether to throw an error, warn or silently ignore misaligned platform BOM imports
-