public abstract class AbstractMuleDeployerMojo extends AbstractGenericMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
applicationName |
protected String |
artifact |
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 Deployment |
deploymentConfiguration |
protected DeployerLog |
log |
protected org.apache.maven.project.MavenProject |
mavenProject |
protected org.apache.maven.settings.Settings |
settings |
agentDeployment, armDeployment, classifier, cloudHubDeployment, clusterDeployment, finalName, localRepository, project, projectBaseFolder, projectBuildDirectory, runtimeFabricDeployment, session, standaloneDeployment, validator| Constructor and Description |
|---|
AbstractMuleDeployerMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected Deployment |
getDeploymentConfiguration() |
List<Deployment> |
getDeployments() |
MavenResolverMetadata |
getMetadata() |
void |
initializeAnypointDeploymentEnvironment() |
doExecute, getAndSetProjectInformation, getClassifier, getPackagingType, getPreviousRunPlaceholder, getProjectValidator, hasExecutedBefore, setAgentDeployment, setArmDeployment, setCloudHubDeployment, setClusterDeployment, setProject, setRuntimeFabricDeployment, setSession, setStandaloneDeployment@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(readonly=true,
property="applicationName",
defaultValue="${project.artifactId}")
protected String applicationName
@Parameter(readonly=true,
property="artifact",
defaultValue="${project.artifact.file}")
protected String artifact
protected DeployerLog log
protected Deployment deploymentConfiguration
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 Deployment getDeploymentConfiguration() throws DeploymentException
DeploymentExceptionpublic MavenResolverMetadata getMetadata()
public void initializeAnypointDeploymentEnvironment()
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionExceptionpublic List<Deployment> getDeployments()
Copyright © 2018 MuleSoft Inc. All rights reserved.