@Mojo(name="package",
defaultPhase=PACKAGE,
requiresDependencyResolution=RUNTIME,
threadSafe=true)
public class ExtensionPackageMojo
extends AbstractPackagePluginMojo
MULE_PLUGIN_CLASSIFIERappDirectory, finalName, META_INF, MULE_ARTIFACT, MULE_ARTIFACT_JSON, MULE_ARTIFACT_TYPE, MULE_PLUGIN_JSON_JAR_DESTINATION, outputDirectory, project, RESERVED_DESTINATION_REPOSITORY, RESERVED_FOLDER_MULE_ARTIFACT| Constructor and Description |
|---|
ExtensionPackageMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addArtifactProperties(ModuleArchiver archiver)
Adds no plugin.properties as extensions will have an internal "maven-like" repository that will work directly with the
mule-artifact.json
|
protected void |
addDependencies(ModuleArchiver archiver)
Does nothing, plugins do not package their dependencies
|
protected void |
addToArchiver(ModuleArchiver archiver) |
protected void |
doAddArtifactProperties(File pluginPropertiesFile)
Adds no plugin.properties as extensions will have an internal "maven-like" repository that will work directly with the
mule-artifact.json this there's no need to populate the
pluginPropertiesFile. |
protected String |
getArtifactClassifier() |
protected File |
getMuleArtifactFile() |
addClasses, addPOMFile, createMulePlugin, doExecute, execute, getPluginDependencies, initialize, walkWhileCopyingFolderprotected void addToArchiver(ModuleArchiver archiver) throws org.apache.maven.plugin.MojoFailureException
addToArchiver in class AbstractPackagePluginMojoorg.apache.maven.plugin.MojoFailureExceptionprotected void addDependencies(ModuleArchiver archiver)
addDependencies in class AbstractPackagePluginMojoarchiver - to store all dependenciesprotected String getArtifactClassifier()
getArtifactClassifier in class AbstractPackagePluginMojoprotected void doAddArtifactProperties(File pluginPropertiesFile) throws org.apache.maven.plugin.MojoFailureException
pluginPropertiesFile.doAddArtifactProperties in class AbstractPackagePluginMojopluginPropertiesFile - org.codehaus.plexus.archiver.ArchiverExceptionorg.apache.maven.plugin.MojoFailureExceptionTODO(fernandezlautaro): MULE-11136 refactor this object (and its superclasses) when working in this jira (every plugin
will have mule-artifact.json file)protected void addArtifactProperties(ModuleArchiver archiver) throws org.codehaus.plexus.archiver.ArchiverException
addArtifactProperties in class AbstractPackagePluginMojoarchiver - org.codehaus.plexus.archiver.ArchiverExceptionTODO(fernandezlautaro): MULE-11136 refactor this object (and its superclasses) when working in this jira (every plugin
will have mule-arti.json file)protected File getMuleArtifactFile()
getMuleArtifactFile in class AbstractMuleMojoCopyright © 2018 MuleSoft, Inc.. All rights reserved.