Class ApplicationDependencyTreeResolver
java.lang.Object
io.quarkus.bootstrap.resolver.maven.ApplicationDependencyTreeResolver
@Deprecated(since="3.19.0",
forRemoval=true)
public class ApplicationDependencyTreeResolver
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.19.0
The legacy
ApplicationModel resolver implementation.
This implementation is kept just in case an issue is found in the new default implementation, which is
ApplicationDependencyResolver,
and can be enabled by setting quarkus.bootstrap.legacy-model-resolver system or POM property to true.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.aether.artifact.ArtifactgetRuntimeArtifact(org.eclipse.aether.graph.DependencyNode dep) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.voidresolve(org.eclipse.aether.collection.CollectRequest collectRtDepsRequest) Deprecated, for removal: This API element is subject to removal in a future version.setApplicationModelBuilder(ApplicationModelBuilder appBuilder) Deprecated, for removal: This API element is subject to removal in a future version.setArtifactResolver(MavenArtifactResolver resolver) Deprecated, for removal: This API element is subject to removal in a future version.setBuildTreeConsumer(Consumer<String> buildTreeConsumer) Deprecated, for removal: This API element is subject to removal in a future version.setCollectCompileOnly(List<org.eclipse.aether.graph.Dependency> collectCompileOnly) Deprecated, for removal: This API element is subject to removal in a future version.In addition to resolving dependencies for the build classpath, also resolve these compile-only dependencies and add them to the application model asDependencyFlags.COMPILE_ONLY.setCollectReloadableModules(boolean collectReloadableModules) Deprecated, for removal: This API element is subject to removal in a future version.setDevMode(boolean devMode) Deprecated, for removal: This API element is subject to removal in a future version.Whether an application model is resolved for dev modesetRuntimeModelOnly(boolean runtimeModelOnly) Deprecated, for removal: This API element is subject to removal in a future version.Whether to limit the resultingApplicationModelto the runtime dependencies.
-
Constructor Details
-
ApplicationDependencyTreeResolver
public ApplicationDependencyTreeResolver()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
newInstance
Deprecated, for removal: This API element is subject to removal in a future version. -
getRuntimeArtifact
public static org.eclipse.aether.artifact.Artifact getRuntimeArtifact(org.eclipse.aether.graph.DependencyNode dep) Deprecated, for removal: This API element is subject to removal in a future version. -
setArtifactResolver
Deprecated, for removal: This API element is subject to removal in a future version. -
setApplicationModelBuilder
public ApplicationDependencyTreeResolver setApplicationModelBuilder(ApplicationModelBuilder appBuilder) Deprecated, for removal: This API element is subject to removal in a future version. -
setCollectReloadableModules
public ApplicationDependencyTreeResolver setCollectReloadableModules(boolean collectReloadableModules) Deprecated, for removal: This API element is subject to removal in a future version. -
setBuildTreeConsumer
Deprecated, for removal: This API element is subject to removal in a future version. -
setCollectCompileOnly
public ApplicationDependencyTreeResolver setCollectCompileOnly(List<org.eclipse.aether.graph.Dependency> collectCompileOnly) Deprecated, for removal: This API element is subject to removal in a future version.In addition to resolving dependencies for the build classpath, also resolve these compile-only dependencies and add them to the application model asDependencyFlags.COMPILE_ONLY.- Parameters:
collectCompileOnly- compile-only dependencies to add to the model- Returns:
- self
-
setRuntimeModelOnly
Deprecated, for removal: This API element is subject to removal in a future version.Whether to limit the resultingApplicationModelto the runtime dependencies.- Parameters:
runtimeModelOnly- whether to limit the resulting application model to the runtime dependencies- Returns:
- self
-
setDevMode
Deprecated, for removal: This API element is subject to removal in a future version.Whether an application model is resolved for dev mode- Parameters:
devMode- whether an application model is resolved for dev mode- Returns:
- self
-
resolve
public void resolve(org.eclipse.aether.collection.CollectRequest collectRtDepsRequest) throws AppModelResolverException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
AppModelResolverException
-