Class ProcessMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.iip_ecosphere.platform.tools.maven.python.AbstractLoggingMojo
de.iip_ecosphere.platform.configuration.maven.ProcessMojo
- All Implemented Interfaces:
de.iip_ecosphere.platform.tools.maven.python.Logger,org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="process",
defaultPhase=COMPILE)
public class ProcessMojo
extends de.iip_ecosphere.platform.tools.maven.python.AbstractLoggingMojo
An generic process execution MOJO.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<BasicProcessSpec> private org.apache.maven.project.MavenProjectprivate booleanFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.iip_ecosphere.platform.tools.maven.python.AbstractLoggingMojo
error, error, info, warnMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
project
@Parameter(defaultValue="${project}", readonly=true) private org.apache.maven.project.MavenProject project -
skip
@Parameter(property="configuration.process.skip", required=false, defaultValue="false") private boolean skip -
processes
@Parameter(property="configuration.process.processes", required=false) private List<BasicProcessSpec> processes
-
-
Constructor Details
-
ProcessMojo
public ProcessMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-