public abstract class AbstractMuleMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.artifact.factory.ArtifactFactory |
artifactFactory |
protected org.apache.maven.artifact.resolver.ArtifactResolver |
artifactResolver |
protected File |
domain |
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository |
protected org.apache.maven.project.MavenProject |
mavenProject |
protected File |
script |
protected String |
skip |
protected int |
timeout |
| Constructor and Description |
|---|
AbstractMuleMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDependencies(Deployer deployer) |
protected void |
addDomain(Deployer deployer) |
protected abstract void |
doExecute() |
void |
execute() |
protected void |
executeGroovyScript() |
protected File |
getDependency(ArtifactDescription artifactDescription) |
protected String |
readFile(String file) |
@Component protected org.apache.maven.project.MavenProject mavenProject
@Component protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
@Component protected org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
@Parameter(defaultValue="${localRepository}",
readonly=true)
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
@Parameter(property="mule.skip") protected String skip
@Parameter protected File domain
@Parameter(property="script",
required=false)
protected File script
@Parameter(property="mule.timeout",
required=false)
protected int timeout
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionMojo.execute()protected abstract void doExecute()
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionExceptionprotected File getDependency(ArtifactDescription artifactDescription) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void addDomain(Deployer deployer) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected String readFile(String file) throws IOException
IOExceptionprotected void executeGroovyScript()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void addDependencies(Deployer deployer) throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2015 MuleSoft Inc. All rights reserved.