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 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. The quarkusOnly argument indicates whether only quarkus.* properties should be collected, which is currently set to true for building an application. quarkusOnly is set to false when initializing configuration for source code generators, for example to enable avro.* properties, etc.
      Parameters:
      mojo - Mojo for which the properties should be collected
      quarkusOnly - 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

      protected io.quarkus.maven.dependency.ArtifactCoords managingProject(QuarkusBootstrapMojo mojo)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable