org.mule.devkit.maven
Class AbstractMuleMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.mule.devkit.maven.AbstractMuleMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
AbstractAnnotationProcessorMojo, AttachTestResourcesMojo, CleanMojo, FilterResourcesMojo, InstallMojo, PackageMojo, StudioPackageMojo

public abstract class AbstractMuleMojo
extends org.apache.maven.plugin.AbstractMojo

Base Mule Application Mojo


Field Summary
protected  File appDirectory
          Directory containing the app resources.
protected  String finalName
          Name of the generated Mule App.
protected  File outputDirectory
          Directory containing the generated Mule App.
 org.apache.maven.project.MavenProject project
          The Maven project.
protected  boolean skipStudioPluginPackage
          Whether to skip the creating of a Mule Studio plugin.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractMuleMojo()
           
 
Method Summary
protected  File getFilteredAppDirectory()
           
protected  File 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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Field Detail

outputDirectory

@Parameter(required=true,
           defaultValue="${project.build.directory}")
protected File outputDirectory
Directory containing the generated Mule App.


finalName

@Parameter(required=true,
           alias="appName",
           defaultValue="${project.build.finalName}")
protected String finalName
Name of the generated Mule App.


appDirectory

@Parameter(required=true,
           defaultValue="${basedir}/src/main/app")
protected File appDirectory
Directory containing the app resources.


project

@Parameter(required=true,
           defaultValue="${project}",
           readonly=true)
public org.apache.maven.project.MavenProject project
The Maven project.


skipStudioPluginPackage

@Parameter(property="devkit.studio.package.skip",
           defaultValue="true")
protected boolean skipStudioPluginPackage
Whether to skip the creating of a Mule Studio plugin.

Constructor Detail

AbstractMuleMojo

public AbstractMuleMojo()
Method Detail

getMuleZipFile

protected File getMuleZipFile()

getFilteredAppDirectory

protected File getFilteredAppDirectory()


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