@Mojo(name="generate-sources",
defaultPhase=GENERATE_SOURCES,
requiresDependencyResolution=RUNTIME)
public class GenerateSourcesMojo
extends AbstractMuleMojo
| Modifier and Type | Field and Description |
|---|---|
protected ProjectBaseFolderFileCloner |
projectBaseFolderFileCloner |
classifier, finalName, lightweightPackage, localRepository, mainFolder, munitSourceFolder, outputDirectory, project, projectBaseFolder, projectBuilder, remoteArtifactRepositories, repositorySystem, session, sharedLibraries| Constructor and Description |
|---|
GenerateSourcesMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createDescriptorFilesContent() |
protected void |
createMetaInfMuleSourceFolderContent() |
protected void |
createPomProperties() |
protected void |
createSrcFolderContent() |
void |
execute() |
createFileIfNecessary, createFolderIfNecessary, getMuleAppZipFile, getSourceFolderprotected ProjectBaseFolderFileCloner projectBaseFolderFileCloner
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void createSrcFolderContent()
throws IOException,
org.apache.maven.plugin.MojoExecutionException
IOExceptionorg.apache.maven.plugin.MojoExecutionExceptionprotected void createMetaInfMuleSourceFolderContent()
throws IOException
IOExceptionprotected void createDescriptorFilesContent()
throws IOException
IOExceptionprotected void createPomProperties()
throws IOException,
org.apache.maven.plugin.MojoExecutionException
IOExceptionorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2017. All rights reserved.