@Mojo(name="start",
requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
public class StartMojo
extends JobActionMojoBase
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
additionalClasspathEntries
manual entries added in the execution classpath
|
protected Set<org.apache.maven.artifact.Artifact> |
dependencies
used to find project dependencies if running the batch locally
|
protected String |
jobName
the job name of the job to start
|
protected File |
projectBinaries
used to find project binaries if running the batch locally
|
protected boolean |
useProjectClasspath
if the project (binaries + dependencies) should be added during the execution to the classpath
|
jobParameters, waitoperator, properties| Constructor and Description |
|---|
StartMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
toProperties, waitEndgetOrCreateOperator@Parameter(required=true,
property="batchee.job")
protected String jobName
@Parameter(defaultValue="${project.build.outputDirectory}",
required=true,
readonly=true)
protected File projectBinaries
@Parameter(defaultValue="${project.artifacts}",
readonly=true,
required=true)
protected Set<org.apache.maven.artifact.Artifact> dependencies
@Parameter(property="batchee.use-project",
defaultValue="true")
protected boolean useProjectClasspath
Copyright © 2016 The Apache Software Foundation. All rights reserved.