public class ContentGenerator extends Object
| Constructor and Description |
|---|
ContentGenerator(String groupId,
String artifactId,
String version,
PackagingType packagingType,
Path projectBaseFolder,
Path projectTargetFolder) |
| Modifier and Type | Method and Description |
|---|---|
void |
createContent()
It create all the package content in the required folders
|
void |
createDescriptors()
It creates the descriptors files, pom.xml, pom.properties, and the mule-*.json file.
|
void |
createMetaInfMuleSourceFolderContent()
It creates the
PackagerFolders.MULE_SRC folder used by IDEs to import the
project source code |
protected void |
createPomProperties() |
void |
createSrcFolderContent()
It creates the content that contains the productive Mule source code.
|
void |
createTestFolderContent()
It creates the content that contains the test Mule source code.
|
public void createContent()
throws IOException
IOExceptionpublic void createSrcFolderContent()
throws IOException
PackagingTypeIOExceptionpublic void createTestFolderContent()
throws IOException
PackagingTypeIOExceptionpublic void createMetaInfMuleSourceFolderContent()
throws IOException
PackagerFolders.MULE_SRC folder used by IDEs to import the
project source codeIOExceptionpublic void createDescriptors()
throws IOException
PackagingTypeIOExceptionorg.apache.maven.plugin.MojoExecutionExceptionprotected void createPomProperties()
Copyright © 2017 MuleSoft Inc. All rights reserved.