public abstract class AbstractMuleDeployerMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractMuleDeployerMojo.DeploymentType |
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.artifact.factory.ArtifactFactory |
artifactFactory |
protected org.apache.maven.artifact.resolver.ArtifactResolver |
artifactResolver |
protected org.apache.maven.settings.crypto.SettingsDecrypter |
decrypter |
protected DeploymentConfiguration |
deploymentConfiguration |
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository |
protected org.apache.maven.project.MavenProject |
mavenProject |
protected org.apache.maven.settings.Settings |
settings |
| Constructor and Description |
|---|
AbstractMuleDeployerMojo() |
| 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 void |
initializeApplication() |
protected void |
initializeEnvironment() |
protected String |
readFile(String file) |
protected org.apache.maven.artifact.Artifact |
resolveMavenProjectArtifact() |
@Parameter protected DeploymentConfiguration deploymentConfiguration
@Component protected org.apache.maven.settings.Settings settings
@Component protected org.apache.maven.settings.crypto.SettingsDecrypter decrypter
@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
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.MojoExecutionExceptionprotected org.apache.maven.artifact.Artifact resolveMavenProjectArtifact()
throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected void initializeApplication()
throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected void initializeEnvironment()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2017 MuleSoft Inc. All rights reserved.