@Mojo(name="run", threadSafe=true, requiresDependencyCollection=COMPILE_PLUS_RUNTIME, requiresDependencyResolution=COMPILE_PLUS_RUNTIME) public class RunMojo extends AbstractRunMojo
Ctrl+C will then terminate the applicationAbstractRunMojo.JavaBuildCallback, AbstractRunMojo.ResourceBuildCallback| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
runArgs
The custom or additional run arguments that can be passed to the Launcher
e.g.
|
classesDirectory, config, jvmArgs, optionalRunExtraArgs, redeploy, redeployGracePeriod, redeployScanPeriod, redeployTerminationPeriod, vertxCommand, workDirectoryarchive, buildPluginManager, container, DEFAULT_CONF_DIR, IO_VERTX_CORE_LAUNCHER, launcher, lifecycleExecutor, mavenSession, project, projectBuildDir, remoteRepositories, repositorySystem, repositorySystemSession, scmManager, skip, skipScmMetadata, verticle, VERTX_ARG_CONF, VERTX_ARG_JAVA_OPT, VERTX_ARG_LAUNCHER_CLASS, VERTX_ARG_REDEPLOY, VERTX_ARG_REDEPLOY_GRACE_PERIOD, VERTX_ARG_REDEPLOY_SCAN_PERIOD, VERTX_ARG_REDEPLOY_TERMINATION_PERIOD, VERTX_COMMAND_START, VERTX_COMMAND_STOP, VERTX_CONFIG_FILE_JSON, VERTX_PACKAGING, VERTX_PID_FILE, VERTX_RUN_MODE_JAR, WILDCARD_CONFIG_FILES| Constructor and Description |
|---|
RunMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
addClasspath, isVertxLauncher, run, scanAndLoadConfigsasMavenCoordinates, computeArchive, contextualize, extractArtifactPaths, getArtifactFile, getProject, getScmManager, resolveArtifact, skipScmMetadatagetLog, getPluginContext, setLog, setPluginContext@Parameter(name="runArgs", property="vertx.runArgs") protected List<String> runArgs
public void execute()
throws MojoExecutionException,
MojoFailureException
execute in interface Mojoexecute in class AbstractRunMojoMojoExecutionExceptionMojoFailureExceptionCopyright © 2018. All rights reserved.