@Mojo(name="package",
defaultPhase=PACKAGE,
requiresDependencyResolution=RUNTIME)
public class PackageMojo
extends AbstractMuleMojo
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.project.MavenProjectHelper |
helper |
contentGenerator, outputDirectory, projectBuilder, skipValidationagentDeployment, armDeployment, classifier, cloudHubDeployment, clusterDeployment, finalName, localRepository, project, projectBaseFolder, projectBuildDirectory, runtimeFabricDeployment, session, standaloneDeployment, validator| Constructor and Description |
|---|
PackageMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
doExecute() |
protected File |
getDestinationFile(String targetFolder)
Given a
targetFolder, it returns a new File to the new compressed file where the complete Mule app will be
stored. |
protected String |
getFileName() |
protected PackageBuilder |
getPackageBuilder() |
String |
getPreviousRunPlaceholder() |
execute, getContentGeneratorgetAndSetProjectInformation, getClassifier, getPackagingType, getProjectValidator, hasExecutedBefore, setAgentDeployment, setArmDeployment, setCloudHubDeployment, setClusterDeployment, setProject, setRuntimeFabricDeployment, setSession, setStandaloneDeploymentpublic void doExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
doExecute in class AbstractGenericMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected File getDestinationFile(String targetFolder) throws org.apache.maven.plugin.MojoExecutionException
targetFolder, it returns a new File to the new compressed file where the complete Mule app will be
stored. If the file already exists, it will delete it and create a new one.targetFolder - starting path in which the destination file will be storedorg.apache.maven.plugin.MojoExecutionException - if it can't delete the previous fileprotected String getFileName()
protected PackageBuilder getPackageBuilder()
public String getPreviousRunPlaceholder()
getPreviousRunPlaceholder in class AbstractGenericMojoCopyright © 2018 MuleSoft Inc. All rights reserved.