Package io.quarkus.maven
Class DeployMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- io.quarkus.maven.QuarkusBootstrapMojo
-
- io.quarkus.maven.BuildMojo
-
- io.quarkus.maven.AbstractDeploymentMojo
-
- io.quarkus.maven.DeployMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="deploy", defaultPhase=PACKAGE, requiresDependencyResolution=COMPILE_PLUS_RUNTIME, threadSafe=true) public class DeployMojo extends AbstractDeploymentMojo
-
-
Field Summary
-
Fields inherited from class io.quarkus.maven.QuarkusBootstrapMojo
bootstrapProvider
-
-
Constructor Summary
Constructors Constructor Description DeployMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanbeforeExecute()This callback allows to evaluate whether this mojo should be executed, skipped or fail.protected voiddoExecute()Main mojo execution code-
Methods inherited from class io.quarkus.maven.AbstractDeploymentMojo
forcedDependencies, getDeployer, getDeployer
-
Methods inherited from class io.quarkus.maven.QuarkusBootstrapMojo
appArtifactCoords, baseDir, bootstrapApplication, bootstrapApplication, bootstrapId, buildDir, execute, finalName, getBuildSystemProperties, ignoredEntries, manifestEntries, manifestSections, mavenProject, mavenSession, projectId, properties, remoteRepositories, remoteRepositoryManager, repositorySystem, repositorySystemSession, setPackageTypeSystemPropertyIfNativeProfileEnabled
-
-
-
-
Method Detail
-
beforeExecute
protected boolean beforeExecute() throws org.apache.maven.plugin.MojoExecutionExceptionDescription copied from class:QuarkusBootstrapMojoThis callback allows to evaluate whether this mojo should be executed, skipped or fail.- Overrides:
beforeExecutein classBuildMojo- Returns:
- false if the execution of the mojo should be skipped, true if the mojo should be executed
- Throws:
org.apache.maven.plugin.MojoExecutionException- in case of a failure
-
doExecute
protected void doExecute() throws org.apache.maven.plugin.MojoExecutionExceptionDescription copied from class:QuarkusBootstrapMojoMain mojo execution code- Overrides:
doExecutein classAbstractDeploymentMojo- Throws:
org.apache.maven.plugin.MojoExecutionException- in case of a failure
-
-