@Mojo(name="package",
defaultPhase=PACKAGE,
requiresDependencyResolution=RUNTIME,
threadSafe=true)
public class PluginPackageMojo
extends org.mule.plugin.maven.AbstractPackagePluginMojo
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASSES |
static String |
META_INF |
static String |
MULE_ARTIFACT |
static String |
MULE_PLUGIN_JSON_LOCATION |
| Constructor and Description |
|---|
PluginPackageMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPluginDescriptor(org.mule.plugin.maven.ModuleArchiver archiver)
Adds the
AbstractMuleMojo.MULE_ARTIFACT_JSON file, extracted from the current extensions JAR into the META_INF folder. |
protected void |
addToArchiver(org.mule.plugin.maven.ModuleArchiver archiver) |
protected void |
doAddArtifactProperties(File pluginPropertiesFile) |
protected String |
getArtifactClassifier() |
protected String |
getArtifactType() |
protected File |
getMuleArtifactFile() |
addArtifactProperties, addClasses, addDependencies, addPOMFile, createMulePlugin, doExecute, execute, getPluginDependencies, initialize, walkWhileCopyingFolderpublic static final String MULE_PLUGIN_JSON_LOCATION
public static final String META_INF
public static final String MULE_ARTIFACT
public static final String CLASSES
protected void addToArchiver(org.mule.plugin.maven.ModuleArchiver archiver)
throws org.apache.maven.plugin.MojoFailureException
addToArchiver in class org.mule.plugin.maven.AbstractPackagePluginMojoorg.apache.maven.plugin.MojoFailureExceptionpublic void addPluginDescriptor(org.mule.plugin.maven.ModuleArchiver archiver)
throws org.apache.maven.plugin.MojoFailureException
AbstractMuleMojo.MULE_ARTIFACT_JSON file, extracted from the current extensions JAR into the META_INF folder.archiver - to store the current AbstractMuleMojo.MULE_ARTIFACT_JSON fileorg.apache.maven.plugin.MojoFailureExceptionprotected void doAddArtifactProperties(File pluginPropertiesFile) throws org.apache.maven.plugin.MojoFailureException
doAddArtifactProperties in class org.mule.plugin.maven.AbstractPackagePluginMojoorg.apache.maven.plugin.MojoFailureExceptionprotected String getArtifactType()
getArtifactType in class org.mule.plugin.maven.AbstractPackagePluginMojoprotected String getArtifactClassifier()
getArtifactClassifier in class org.mule.plugin.maven.AbstractPackagePluginMojoprotected File getMuleArtifactFile()
getMuleArtifactFile in class org.mule.plugin.maven.AbstractMuleMojoCopyright © 2017. All rights reserved.