Class IncubatingApplicationModelResolver
java.lang.Object
io.quarkus.bootstrap.resolver.maven.IncubatingApplicationModelResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetIncubatingModelResolverProperty(Properties projectProperties) Temporary method that will be removed once this implementation becomes the default.static booleanisIncubatingEnabled(Properties projectProperties) Temporary method that will be removed once this implementation becomes the default.static booleanisIncubatingModelResolverProperty(Properties projectProperties, String value) Temporary method that will be removed once this implementation becomes the default.voidresolve(org.eclipse.aether.collection.CollectRequest collectRtDepsRequest) setApplicationModelBuilder(ApplicationModelBuilder appBuilder) setArtifactResolver(MavenArtifactResolver resolver) setCollectCompileOnly(List<org.eclipse.aether.graph.Dependency> collectCompileOnly) 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) setDependencyLogging(DependencyLoggingConfig depLogging)
-
Constructor Details
-
IncubatingApplicationModelResolver
public IncubatingApplicationModelResolver()
-
-
Method Details
-
isIncubatingEnabled
Temporary method that will be removed once this implementation becomes the default.Returns
trueif system or POM propertyquarkus.bootstrap.incubating-model-resolveris set totrue.- Returns:
- true if this implementation is enabled
-
isIncubatingModelResolverProperty
Temporary method that will be removed once this implementation becomes the default.Calls
getIncubatingModelResolverProperty(Properties)and checks whether the returned value equals the passed invalue.- Returns:
- true if value of quarkus.bootstrap.incubating-model-resolver property is equal to the passed in value
-
getIncubatingModelResolverProperty
Temporary method that will be removed once this implementation becomes the default.Returns value of system or POM property
quarkus.bootstrap.incubating-model-resolver. The system property is checked first and if its value is notnull, it's returned. Otherwise, the value of POM property is returned as the result.- Returns:
- value of system or POM property quarkus.bootstrap.incubating-model-resolver or null if it's not set
-
newInstance
-
setArtifactResolver
-
setApplicationModelBuilder
public IncubatingApplicationModelResolver setApplicationModelBuilder(ApplicationModelBuilder appBuilder) -
setCollectReloadableModules
public IncubatingApplicationModelResolver setCollectReloadableModules(boolean collectReloadableModules) -
setDependencyLogging
-
setCollectCompileOnly
public IncubatingApplicationModelResolver setCollectCompileOnly(List<org.eclipse.aether.graph.Dependency> collectCompileOnly) 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
-
resolve
public void resolve(org.eclipse.aether.collection.CollectRequest collectRtDepsRequest) throws AppModelResolverException - Throws:
AppModelResolverException
-