Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionThis 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()insteadExcluding 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)useReflectiveHierarchyBuildItem.builder(String)insteaduseReflectiveHierarchyBuildItem.builder(DotName)insteaduseReflectiveHierarchyBuildItem.builder(Type)insteadUseCPUinsteadUseOSinsteadIn favor ofRemovedResourceBuildItem(ArtifactKey, Set)This was initially added to support Truffle, but it is no longer needed so the build item should not be usedthis 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.enabledinsteaduseMethodInfo.descriptor(Function)useType.descriptor(Function)useMethodInfo.genericSignature(Function)useGenericSignature.forType(Type, Function, StringBuilder)useGenericSignature.genericSignatureIfRequired()useGenericSignature.genericSignatureIfRequired(Function)Use thesmallrye-common-processAPI instead.Use thesmallrye-common-processAPI instead.
-
Deprecated ClassesClassDescriptionUse
DevServicesResultBuildItem.discovered()instead.--enable-all-security-serviceswas removed in GraalVM 21.1 https://github.com/oracle/graal/pull/3258Starting with Mandrel/GraalVM 23.1 for JDK 21 this is functionally the same withRuntimeInitializedClassBuildItem.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 capabilityCapability.SMALLRYE_METRICSTika 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.This 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()insteadExcluding 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)useReflectiveHierarchyBuildItem.builder(String)insteaduseReflectiveHierarchyBuildItem.builder(DotName)insteaduseReflectiveHierarchyBuildItem.builder(Type)insteadthis 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.enabledinsteaduseMethodInfo.descriptor(Function)useType.descriptor(Function)useMethodInfo.genericSignature(Function)useGenericSignature.forType(Type, Function, StringBuilder)useGenericSignature.genericSignatureIfRequired()useGenericSignature.genericSignatureIfRequired(Function)in 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))use DevServicesResultBuildItem.builder() insteaduse DevServicesResultBuildItem.builder() insteaduse DevServicesResultBuildItem.builder() insteadThis 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.