Package io.quarkus.maven
Class QuarkusBootstrapProvider.QuarkusMavenAppBootstrap
- java.lang.Object
-
- io.quarkus.maven.QuarkusBootstrapProvider.QuarkusMavenAppBootstrap
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- QuarkusBootstrapProvider
public class QuarkusBootstrapProvider.QuarkusMavenAppBootstrap extends Object implements Closeable
-
-
Constructor Summary
Constructors Constructor Description QuarkusMavenAppBootstrap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected io.quarkus.bootstrap.app.CuratedApplicationbootstrapApplication(QuarkusBootstrapMojo mojo, io.quarkus.runtime.LaunchMode mode)voidclose()PropertiesgetBuildSystemProperties(QuarkusBootstrapMojo mojo, boolean quarkusOnly)Collects properties from a project configuration that are relevant for the build.protected io.quarkus.maven.dependency.ArtifactCoordsmanagingProject(QuarkusBootstrapMojo mojo)
-
-
-
Method Detail
-
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) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
managingProject
protected io.quarkus.maven.dependency.ArtifactCoords managingProject(QuarkusBootstrapMojo mojo)
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-