@Mojo(name="dev",
defaultPhase=PREPARE_PACKAGE,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
public class DevMojo
extends org.apache.maven.plugin.AbstractMojo
You can use this dev mode in a remote container environment with remote-dev.
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.project.MavenProject |
project |
| Constructor and Description |
|---|
DevMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
org.apache.maven.execution.MavenSession |
getSession() |
org.apache.maven.toolchain.ToolchainManager |
getToolchainManager() |
@Parameter(defaultValue="${project}",
readonly=true,
required=true)
protected org.apache.maven.project.MavenProject project
public org.apache.maven.toolchain.ToolchainManager getToolchainManager()
public org.apache.maven.execution.MavenSession getSession()
public void execute()
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.