@Mojo(name="package-server-plugin",
defaultPhase=PACKAGE,
requiresDependencyResolution=RUNTIME,
threadSafe=true)
public class ServerPluginPackageMojo
extends org.mule.plugin.maven.AbstractPackagePluginMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
pluginClassName |
MULE_PLUGIN_CLASSIFIER, multiJavaReleases| Constructor and Description |
|---|
ServerPluginPackageMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToArchiver(org.mule.plugin.maven.ModuleArchiver archiver) |
static Path |
descriptorPathOrFail(File outputDirectory)
Returns a
Path to an existing descriptor file or fails. |
protected void |
doAddArtifactProperties(File pluginPropertiesFile) |
protected String |
getArtifactClassifier() |
protected File |
getMuleArtifactFile() |
addArtifact, addArtifactProperties, addClasses, addDependencies, addJavaVersionArtifact, addPOMFile, createMulePlugin, doExecute, execute, getPluginDependencies, initialize, walkWhileCopyingFolder@Parameter protected String pluginClassName
protected void doAddArtifactProperties(File pluginPropertiesFile) throws org.apache.maven.plugin.MojoFailureException
doAddArtifactProperties in class org.mule.plugin.maven.AbstractPackagePluginMojoorg.apache.maven.plugin.MojoFailureExceptionpublic static Path descriptorPathOrFail(File outputDirectory) throws org.apache.maven.plugin.MojoFailureException
Path to an existing descriptor file or fails.outputDirectory - to look for the current output directoryPath to a descriptor fileorg.apache.maven.plugin.MojoFailureException - if the descriptor file is absent (probably because this Mojo hasn't been executed)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.MojoFailureExceptionprotected File getMuleArtifactFile()
getMuleArtifactFile in class org.mule.plugin.maven.AbstractMuleMojoprotected String getArtifactClassifier()
getArtifactClassifier in class org.mule.plugin.maven.AbstractPackagePluginMojoCopyright © 2026 MuleSoft, Inc.. All rights reserved.