@Mojo(name="start",
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
requiresDependencyCollection=COMPILE_PLUS_RUNTIME)
public class StartMojo
extends AbstractSwarmMojo
| Modifier and Type | Field and Description |
|---|---|
Integer |
debugPort |
List<String> |
jvmArguments |
File |
stderrFile |
File |
stdoutFile |
boolean |
useUberJar |
additionalModules, environment, environmentFile, mainClass, project, projectBuildDir, properties, propertiesFile, remoteRepositories, repositorySystemSession, VERSION| Constructor and Description |
|---|
StartMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected SwarmExecutor |
jarExecutor() |
protected SwarmExecutor |
uberJarExecutor() |
protected SwarmExecutor |
warExecutor() |
initEnvironment, initProperties, loadProperties, loadProperties, loadProperties@Parameter(alias="stdoutFile") public File stdoutFile
@Parameter(alias="stderrFile") public File stderrFile
@Parameter(alias="useUberJar",
defaultValue="${wildfly-swarm.useUberJar}")
public boolean useUberJar
@Parameter(alias="debug",
property="swarm.debug.port")
public Integer debugPort
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected SwarmExecutor uberJarExecutor() throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected SwarmExecutor warExecutor() throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected SwarmExecutor jarExecutor() throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.