Package io.quarkus.maven
Class DevMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- io.quarkus.maven.DevMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
RemoteDevMojo,TestMojo
@Mojo(name="dev", defaultPhase=PREPARE_PACKAGE, requiresDependencyResolution=TEST, threadSafe=true) public class DevMojo extends org.apache.maven.plugin.AbstractMojoThe dev mojo, that runs a quarkus app in a forked process. A background compilation process is launched and any changes are automatically reflected in your running application.You can use this dev mode in a remote container environment with
remote-dev.
-
-
Field Summary
Fields Modifier and Type Field Description protected QuarkusBootstrapProviderbootstrapProviderprotected org.apache.maven.project.MavenProjectproject
-
Constructor Summary
Constructors Constructor Description DevMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()booleanisGoalConfigured(org.apache.maven.model.Plugin plugin, java.lang.String goal)protected voidmodifyDevModeContext(MavenDevModeLauncher.Builder builder)voidsetLog(org.apache.maven.plugin.logging.Log log)
-
-
-
Field Detail
-
project
@Parameter(defaultValue="${project}", readonly=true, required=true) protected org.apache.maven.project.MavenProject project
-
bootstrapProvider
@Component protected QuarkusBootstrapProvider bootstrapProvider
-
-
Method Detail
-
setLog
public void setLog(org.apache.maven.plugin.logging.Log log)
- Specified by:
setLogin interfaceorg.apache.maven.plugin.Mojo- Overrides:
setLogin classorg.apache.maven.plugin.AbstractMojo
-
execute
public void execute() throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionException
-
isGoalConfigured
public boolean isGoalConfigured(org.apache.maven.model.Plugin plugin, java.lang.String goal)
-
modifyDevModeContext
protected void modifyDevModeContext(MavenDevModeLauncher.Builder builder)
-
-