Package org.apache.batchee.tools.maven
Class StartMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.batchee.tools.maven.BatchEEMojoBase
-
- org.apache.batchee.tools.maven.JobActionMojoBase
-
- org.apache.batchee.tools.maven.StartMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="start", requiresDependencyResolution=COMPILE_PLUS_RUNTIME) public class StartMojo extends JobActionMojoBaseStart a job.
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>additionalClasspathEntriesmanual entries added in the execution classpathprotected Set<org.apache.maven.artifact.Artifact>dependenciesused to find project dependencies if running the batch locallyprotected StringjobNamethe job name of the job to startprotected FileprojectBinariesused to find project binaries if running the batch locallyprotected booleanuseProjectClasspathif the project (binaries + dependencies) should be added during the execution to the classpath-
Fields inherited from class org.apache.batchee.tools.maven.JobActionMojoBase
jobParameters, wait
-
Fields inherited from class org.apache.batchee.tools.maven.BatchEEMojoBase
operator, properties
-
-
Constructor Summary
Constructors Constructor Description StartMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()-
Methods inherited from class org.apache.batchee.tools.maven.JobActionMojoBase
toProperties, waitEnd
-
Methods inherited from class org.apache.batchee.tools.maven.BatchEEMojoBase
getOrCreateOperator
-
-
-
-
Field Detail
-
jobName
@Parameter(required=true, property="batchee.job") protected String jobNamethe job name of the job to start
-
projectBinaries
@Parameter(defaultValue="${project.build.outputDirectory}", required=true, readonly=true) protected File projectBinariesused to find project binaries if running the batch locally
-
dependencies
@Parameter(defaultValue="${project.artifacts}", readonly=true, required=true) protected Set<org.apache.maven.artifact.Artifact> dependenciesused to find project dependencies if running the batch locally
-
useProjectClasspath
@Parameter(property="batchee.use-project", defaultValue="true") protected boolean useProjectClasspathif the project (binaries + dependencies) should be added during the execution to the classpath
-
-