public abstract class AbstractPackagePluginMojo extends AbstractMuleMojo
| Modifier and Type | Field and Description |
|---|---|
protected static String |
PLUGIN_PROPERTIES_FILE_NAME |
appDirectory, finalName, outputDirectory, project| Constructor and Description |
|---|
AbstractPackagePluginMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToArchiver(ModuleArchiver archiver) |
protected void |
createMulePlugin(File plugin) |
protected abstract void |
doAddPluginProperties(File pluginPropertiesFile) |
protected void |
doExecute()
Method to give the capability of contribute with the
execute() |
void |
execute() |
protected void |
initialize()
Method to give the capability of initialize implementations of this class as the first action of the
execute() |
getMuleZipFileprotected static final String PLUGIN_PROPERTIES_FILE_NAME
protected abstract void doAddPluginProperties(File pluginPropertiesFile) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionpublic final void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void createMulePlugin(File plugin) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException, org.codehaus.plexus.archiver.ArchiverException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionorg.codehaus.plexus.archiver.ArchiverExceptionprotected void addToArchiver(ModuleArchiver archiver) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected void initialize()
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
execute()org.apache.maven.plugin.MojoFailureException - when an initialization failure occursorg.apache.maven.plugin.MojoExecutionException - when an initialization error occursprotected void doExecute()
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
execute()org.apache.maven.plugin.MojoFailureException - when an execution failure occursorg.apache.maven.plugin.MojoExecutionException - when an execution error occursCopyright © 2016. All rights reserved.