Package io.quarkus.maven
Class QuarkusBootstrapProvider.QuarkusMavenAppBootstrap
java.lang.Object
io.quarkus.maven.QuarkusBootstrapProvider.QuarkusMavenAppBootstrap
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
QuarkusBootstrapProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected io.quarkus.bootstrap.app.CuratedApplicationbootstrapApplication(QuarkusBootstrapMojo mojo, io.quarkus.runtime.LaunchMode mode, Consumer<io.quarkus.bootstrap.app.QuarkusBootstrap.Builder> builderCustomizer) voidclose()protected voidcloseApplication(io.quarkus.runtime.LaunchMode mode) getBuildSystemProperties(QuarkusBootstrapMojo mojo, boolean quarkusOnly) Collects properties from a project configuration that are relevant for the build.protected io.quarkus.maven.dependency.ArtifactCoords
-
Constructor Details
-
QuarkusMavenAppBootstrap
public QuarkusMavenAppBootstrap()
-
-
Method Details
-
getBuildSystemProperties
public Properties getBuildSystemProperties(QuarkusBootstrapMojo mojo, boolean quarkusOnly) throws org.apache.maven.plugin.MojoExecutionException Collects properties from a project configuration that are relevant for the build. ThequarkusOnlyargument indicates whether onlyquarkus.*properties should be collected, which is currently set totruefor building an application.quarkusOnlyis set tofalsewhen initializing configuration for source code generators, for example to enableavro.*properties, etc.- Parameters:
mojo- Mojo for which the properties should be collectedquarkusOnly- whether to collect only 'quarkus.*' properties- Returns:
- properties from a project configuration that are relevant for the build
- Throws:
org.apache.maven.plugin.MojoExecutionException- in case of a failure
-
bootstrapApplication
protected io.quarkus.bootstrap.app.CuratedApplication bootstrapApplication(QuarkusBootstrapMojo mojo, io.quarkus.runtime.LaunchMode mode, Consumer<io.quarkus.bootstrap.app.QuarkusBootstrap.Builder> builderCustomizer) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
closeApplication
protected void closeApplication(io.quarkus.runtime.LaunchMode mode) -
managingProject
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-