Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionSubject to changes due to #51209Subject to changes due to #51209This method may return the binary name, the internal name, or a hybrid thereof and should not be used. Use
GeneratedClassBuildItem.binaryName()orGeneratedClassBuildItem.internalName()instead.useGeneratedResourceBuildItem.getData()insteadStarting with Mandrel/GraalVM 23.1 for JDK 21 this is functionally the same withNativeImageConfigBuildItem.Builder.addRuntimeInitializedClass(String).Starting with Mandrel/GraalVM 23.1 for JDK 21 this is functionally the same withNativeImageConfigBuildItem.getRuntimeInitializedClasses().Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)This is a no-op and was kept for a couple more versions for extension compatibility (e.g. for Blaze-Persistence). We should be able to drop it in 3.31 but let's check before doing so.useReflectiveHierarchyBuildItem.builder(String)insteaduseReflectiveHierarchyBuildItem.builder(DotName)insteaduseReflectiveHierarchyBuildItem.builder(Type)insteadStarting with Mandrel/GraalVM 23.1 for JDK 21 this is functionally the same withRuntimeInitializedClassBuildItem.UseCPUinsteadUseOSinsteadIn favor ofRemovedResourceBuildItem(ArtifactKey, Set)this build item has no effect. The runtime config is now always set up before build steps execute. Build steps consuming this annotation can safely remove it.This was initially added to support Truffle, but it is no longer needed so the build item should not be usedUseBuilderConfig.Metrics()instead.this method will be removed in Quarkus 3.24, which gives extensions 2 releases to start producingJsonRPCProvidersBuildItemalways, not just in dev modeIgnored.Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)usequarkus.snapstart.enabledinsteadUse thesmallrye-common-processAPI instead.Use thesmallrye-common-processAPI instead.
-
Deprecated ClassesClassDescriptionUse
DevServicesResultBuildItem.discovered()instead.Starting with Mandrel/GraalVM 23.1 for JDK 21 this is functionally the same withRuntimeInitializedClassBuildItem.this build item has no effect. The runtime config is now always set up before build steps execute. Build steps consuming this annotation can safely remove it.This was initially added to support Truffle, but it is no longer needed so the build item should not be usedThis class was marked as deprecated to raise awareness that the semantic you want is probably provided byIsProduction. If you actually need this specific supplier, please open an issue so that we undeprecate it.Ignored.useProcessInheritIODisabledBuildIteminsteadIn the future, it will be possible to request multiple output types.In the future, it will be possible to request multiple output types.In the future, it will be possible to request multiple output types.Use thesmallrye-common-processAPI instead.in favor ofGlobUtilUse thesmallrye-common-processAPI instead.
-
Deprecated Enum ClassesEnum ClassDescriptionUse
CPUinsteadUseOSinstead
-
Deprecated FieldsFieldDescriptionIf you want to serve static resources useinstead.
invalid reference
io.quarkus.vertx.http.deployment.spi.GeneratedStaticResourceBuildItemUse more precise capabilityTika has been moved to the QuarkiverseUseinstead.invalid reference
io.quarkus.runtime.graal.GraalVM.Version.CURRENTUseinstead.invalid reference
io.quarkus.runtime.graal.GraalVM.Version.MINIMUMUseinstead.invalid reference
io.quarkus.runtime.graal.GraalVM.Version.MINIMUM_SUPPORTED
-
Deprecated MethodsMethodDescriptionin favor of
ApplicationArchive.getResolvedPaths()in favor ofApplicationArchive.getKey()in favor ofApplicationArchive.getResolvedPaths()in favor ofApplicationArchive.getRootDirectories()Returns paths representing the archive root directories. Note that every path in this collection is guaranteed to be a directory. If the actual application archive appears to be a JAR, this collection will include a path to the root of the mountedFileSystemcreated from the JAR.UseArchiveRootBuildItem.Builder.addArchiveRoot(Path)instead to add archive roots. This method clears previous archive roots before setting the new one.in favor ofArchiveRootBuildItem.getResolvedPaths()in favor ofArchiveRootBuildItem.getRootDirectories()in favor ofArchiveRootBuildItem.getResolvedPaths()in favor ofArchiveRootBuildItem.getRootDirectories()Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()instead.Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()instead.Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()instead.Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()instead.Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()instead.Subject to changes due to #51209Subject to changes due to #51209This method may return the binary name, the internal name, or a hybrid thereof and should not be used. UseGeneratedClassBuildItem.binaryName()orGeneratedClassBuildItem.internalName()instead.useGeneratedResourceBuildItem.getData()insteadStarting with Mandrel/GraalVM 23.1 for JDK 21 this is functionally the same withNativeImageConfigBuildItem.Builder.addRuntimeInitializedClass(String).Starting with Mandrel/GraalVM 23.1 for JDK 21 this is functionally the same withNativeImageConfigBuildItem.getRuntimeInitializedClasses().Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)This is a no-op and was kept for a couple more versions for extension compatibility (e.g. for Blaze-Persistence). We should be able to drop it in 3.31 but let's check before doing so.useReflectiveHierarchyBuildItem.builder(String)insteaduseReflectiveHierarchyBuildItem.builder(DotName)insteaduseReflectiveHierarchyBuildItem.builder(Type)insteadUseBuilderConfig.Metrics()instead.this method will be removed in Quarkus 3.24, which gives extensions 2 releases to start producingJsonRPCProvidersBuildItemalways, not just in dev modeUsequarkus.native.monitoringinstead.Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)This construct should not be needed in most use cases since directly loading deployment/application classes at processing time in build steps is safe. However, there are use cases where this method comes in handy, such as referring to classes that were generated in previous build steps usingGeneratedClassBuildItem.usequarkus.snapstart.enabledinsteadin favor ofGlobUtil.toRegexPattern(String)Transforms the givenglobto a regular expression suitable for passing toPattern.compile(String).Glob syntax
Construct Description *Matches a (possibly empty) sequence of characters that does not contain slash ( /)**Matches a (possibly empty) sequence of characters that may contain slash ( /)?Matches one character, but not slash [abc]Matches one character given in the bracket, but not slash [a-z]Matches one character from the range given in the bracket, but not slash [!abc]Matches one character not named in the bracket; does not match slash [a-z]Matches one character outside the range given in the bracket; does not match slash {one,two,three}Matches any of the alternating tokens separated by comma; the tokens may contain wildcards, nested alternations and ranges \The escape character
-
Deprecated ConstructorsConstructorDescriptionUse
ArchiveRootBuildItem.Builderinstead. Constructs anArchiveRootBuildItemwith a given archive location and root directory.in favor of} that also accepts the provider of the capability to be highlighted in the error messages in case of detected capability conflicts.invalid @link
{@link #CapabilityBuildItem(String, String))This method was previously used to enable JNI from Quarkus extensions, but JNI is always enabled starting from GraalVM 19.3.1.Use the Builder instead.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.In favor ofRemovedResourceBuildItem(ArtifactKey, Set)
-
Deprecated Enum ConstantsEnum ConstantDescriptionThis packaging type is no longer recommended for use.