Class QuarkusBootstrapProvider

java.lang.Object
io.quarkus.maven.QuarkusBootstrapProvider
All Implemented Interfaces:
Closeable, AutoCloseable

@Named public class QuarkusBootstrapProvider extends Object implements Closeable
  • Constructor Details

    • QuarkusBootstrapProvider

      @Inject public QuarkusBootstrapProvider(org.eclipse.aether.RepositorySystem repoSystem, org.eclipse.aether.impl.RemoteRepositoryManager remoteRepoManager, QuarkusWorkspaceProvider workspaceProvider)
  • Method Details

    • getProjectId

      static io.quarkus.maven.dependency.ArtifactKey getProjectId(org.apache.maven.project.MavenProject project)
    • setProjectModels

      static void setProjectModels(io.quarkus.bootstrap.resolver.maven.BootstrapMavenContextConfig<?> config, List<org.apache.maven.project.MavenProject> allProjects, Set<File> reloadPoms)
    • repositorySystem

      @Deprecated(forRemoval=true) public org.eclipse.aether.RepositorySystem repositorySystem()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • remoteRepositoryManager

      @Deprecated(forRemoval=true) public org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • bootstrapper

    • bootstrapApplication

      public 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
    • bootstrapApplication

      public 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

      public void closeApplication(QuarkusBootstrapMojo mojo, io.quarkus.runtime.LaunchMode mode)
    • getWorkspaceId

      public int getWorkspaceId(QuarkusBootstrapMojo mojo)
      Workspace ID associated with a given bootstrap mojo. If the returned value is 0, a workspace was not associated with the bootstrap mojo.
      Parameters:
      mojo - bootstrap mojo
      Returns:
      workspace ID associated with a given bootstrap mojo
    • getResolvedApplicationModel

      public io.quarkus.bootstrap.model.ApplicationModel getResolvedApplicationModel(io.quarkus.maven.dependency.ArtifactKey projectId, io.quarkus.runtime.LaunchMode mode, String bootstrapId)
    • close

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