@Mojo(name="package-service",
defaultPhase=PACKAGE,
requiresDependencyResolution=RUNTIME,
threadSafe=true)
public class ServicePackageMojo
extends AbstractPackagePluginMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
serviceProviderClassName |
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 |
|---|
ServicePackageMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToArchiver(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() |
addArtifactProperties, addClasses, addDependencies, addPOMFile, createMulePlugin, doExecute, execute, getPluginDependencies, initialize, walkWhileCopyingFolder@Parameter protected String serviceProviderClassName
protected void doAddArtifactProperties(File pluginPropertiesFile) throws org.apache.maven.plugin.MojoFailureException
doAddArtifactProperties in class 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(ModuleArchiver archiver) throws org.apache.maven.plugin.MojoFailureException
addToArchiver in class AbstractPackagePluginMojoorg.apache.maven.plugin.MojoFailureExceptionprotected File getMuleArtifactFile()
getMuleArtifactFile in class AbstractMuleMojoprotected String getArtifactClassifier()
getArtifactClassifier in class AbstractPackagePluginMojoCopyright © 2019 MuleSoft, Inc.. All rights reserved.