@Mojo(name="execute",
requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
public class ExecuteMojo
extends org.apache.maven.plugin.AbstractMojo
ExecuteTask
s.Modifier and Type | Field and Description |
---|---|
private ExecuteManager |
manager |
private PolyglotModelManager |
modelManager |
private java.io.File |
nativePom |
private org.apache.maven.project.MavenProject |
project |
private java.lang.String |
taskId |
Constructor and Description |
---|
ExecuteMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected org.apache.maven.model.Model |
modelFromNativePom(org.apache.maven.plugin.logging.Log log) |
@Component(role=ExecuteManager.class) private ExecuteManager manager
@Parameter(defaultValue="${project}", required=true, readonly=true) private org.apache.maven.project.MavenProject project
@Parameter(required=true, property="taskId") private java.lang.String taskId
@Parameter private java.io.File nativePom
@Component(role=PolyglotModelManager.class) private PolyglotModelManager modelManager
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected org.apache.maven.model.Model modelFromNativePom(org.apache.maven.plugin.logging.Log log) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException