Package io.quarkus.maven
Class AbstractDeploymentMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.quarkus.maven.QuarkusBootstrapMojo
io.quarkus.maven.BuildMojo
io.quarkus.maven.AbstractDeploymentMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
DeployMojo
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) boolean(package private) boolean(package private) StringFields inherited from class io.quarkus.maven.BuildMojo
analyticsProvider, attachRunnerAsMainArtifact, attachSboms, buildDirectory, generatedSourcesDirectory, pluginRepos, projectHelper, skip, skipOriginalJarRename, systemPropertiesFields inherited from class io.quarkus.maven.QuarkusBootstrapMojo
BOOTSTRAP_ID_PARAM, bootstrapId, bootstrapProvider, CLOSE_BOOTSTRAPPED_APP_PARAM, closeBootstrappedApp, MODE_PARAM, mojoExecution, NATIVE_PROFILE_NAME, RELOAD_POMS_PARAM, reloadPomsFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidMain mojo execution codeprotected List<io.quarkus.maven.dependency.Dependency> forcedDependencies(io.quarkus.runtime.LaunchMode mode) Allows implementations to provide extra dependencies that should be enforced on the application.getDeployer(Deployer defaultDeployer) Methods inherited from class io.quarkus.maven.BuildMojo
beforeExecute, setLogMethods inherited from class io.quarkus.maven.QuarkusBootstrapMojo
appArtifactCoords, baseDir, bootstrapApplication, bootstrapApplication, bootstrapApplication, bootstrapId, buildDir, closeApplication, execute, finalName, getBuildSystemProperties, getWorkspaceId, ignoredEntries, isNativeProfileEnabled, manifestEntries, manifestSections, mavenProject, mavenSession, projectId, properties, remoteRepositories, remoteRepositoryManager, repositorySystem, repositorySystemSession, setNativeEnabledIfNativeProfileEnabledMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setPluginContext
-
Field Details
-
dryRun
@Parameter(property="quarkus.deployment.dry-run") boolean dryRun -
imageBuild
@Parameter(property="quarkus.container-image.build", defaultValue="false") boolean imageBuild -
imageBuilder
-
forceDependencies
boolean forceDependencies
-
-
Constructor Details
-
AbstractDeploymentMojo
public AbstractDeploymentMojo()
-
-
Method Details
-
doExecute
protected void doExecute() throws org.apache.maven.plugin.MojoExecutionExceptionDescription copied from class:QuarkusBootstrapMojoMain mojo execution code -
getDeployer
-
getDeployer
-
forcedDependencies
protected List<io.quarkus.maven.dependency.Dependency> forcedDependencies(io.quarkus.runtime.LaunchMode mode) Description copied from class:QuarkusBootstrapMojoAllows implementations to provide extra dependencies that should be enforced on the application. Originally requested by Camel K.- Overrides:
forcedDependenciesin classQuarkusBootstrapMojo- Parameters:
mode- launch mode the application is being bootstrapped in- Returns:
- list of extra dependencies that should be enforced on the application
-