Package io.quarkus.maven
Class QuarkusBootstrapProvider
java.lang.Object
io.quarkus.maven.QuarkusBootstrapProvider
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionQuarkusBootstrapProvider(org.eclipse.aether.RepositorySystem repoSystem, org.eclipse.aether.impl.RemoteRepositoryManager remoteRepoManager, QuarkusWorkspaceProvider workspaceProvider) -
Method Summary
Modifier and TypeMethodDescriptionio.quarkus.bootstrap.app.CuratedApplicationbootstrapApplication(QuarkusBootstrapMojo mojo, io.quarkus.runtime.LaunchMode mode) io.quarkus.bootstrap.app.CuratedApplicationbootstrapApplication(QuarkusBootstrapMojo mojo, io.quarkus.runtime.LaunchMode mode, Consumer<io.quarkus.bootstrap.app.QuarkusBootstrap.Builder> builderCustomizer) voidclose()voidcloseApplication(QuarkusBootstrapMojo mojo, io.quarkus.runtime.LaunchMode mode) (package private) static io.quarkus.maven.dependency.ArtifactKeygetProjectId(org.apache.maven.project.MavenProject project) io.quarkus.bootstrap.model.ApplicationModelgetResolvedApplicationModel(io.quarkus.maven.dependency.ArtifactKey projectId, io.quarkus.runtime.LaunchMode mode, String bootstrapId) intWorkspace ID associated with a given bootstrap mojo.org.eclipse.aether.impl.RemoteRepositoryManagerDeprecated, for removal: This API element is subject to removal in a future version.org.eclipse.aether.RepositorySystemDeprecated, for removal: This API element is subject to removal in a future version.(package private) static voidsetProjectModels(io.quarkus.bootstrap.resolver.maven.BootstrapMavenContextConfig<?> config, List<org.apache.maven.project.MavenProject> allProjects, Set<File> reloadPoms)
-
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
-
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
-
getWorkspaceId
Workspace ID associated with a given bootstrap mojo. If the returned value is0, 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
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-