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
    Modifier and Type
    Interface
    Description
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    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.
    boolean
    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.
    boolean
    A temporary option introduced to avoid a logging warning when -Dquarkus.bootstrap.legacy-model-resolver is added to the build command line.
    Whether to throw an error, warn or silently ignore misaligned platform BOM imports
    boolean
    If set to true, workspace loader will log warnings for modules that could not be loaded for some reason instead of throwing errors.
    boolean
    If 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 property quarkus.bootstrap.disable-jar-cache to true will 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-resolver is 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 legacy ApplicationModel resolver implementation gets removed.
    • misalignedPlatformImports

      @WithDefault("error") BootstrapConfig.MisalignedPlatformImports misalignedPlatformImports()
      Whether to throw an error, warn or silently ignore misaligned platform BOM imports