org.mule.devkit.maven
Class PackageMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.mule.devkit.maven.AbstractMuleMojo
          extended by org.mule.devkit.maven.PackageMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="package",
      defaultPhase=PACKAGE,
      requiresDependencyResolution=COMPILE)
public class PackageMojo
extends AbstractMuleMojo

Build a Mule plugin archive.


Field Summary
 
Fields inherited from class org.mule.devkit.maven.AbstractMuleMojo
appDirectory, finalName, outputDirectory, project, skipStudioPluginPackage, studioPackageTimeout, verboseLogging
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
PackageMojo()
           
 
Method Summary
protected  void createMulePlugin(File plugin)
           
 void execute()
           
 
Methods inherited from class org.mule.devkit.maven.AbstractMuleMojo
getFilteredAppDirectory, getMuleZipFile
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageMojo

public PackageMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

createMulePlugin

protected void createMulePlugin(File plugin)
                         throws org.apache.maven.plugin.MojoExecutionException,
                                org.codehaus.plexus.archiver.ArchiverException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.codehaus.plexus.archiver.ArchiverException


Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.