public class StudioMojo extends StudioEclipsePlugin
| Modifier and Type | Field and Description |
|---|---|
static String |
JRE_CONTAINER |
static String |
MAVEN_MULE_BUILDER |
static String |
MAVEN_MULE_NATURE |
static String |
MULE_BUILDER |
static String |
MULE_NATURE |
static String |
MULE_RUNTIME |
BUILDER_WST_VALIDATION, COMMON_PATH_JDT_LAUNCHING_JRE_CONTAINER, limitProjectReferencesToWorkspace, REQUIRED_PLUGINS_CONTAINER, workspace, WTP_SUPPORTED_VERSIONSartifactCollector, artifactFactory, artifactMetadataSource, artifactResolver, downloadJavadocs, downloadSources, executedProject, localRepository, logger, packaging, project, reactorProjects, remoteArtifactRepositories| Constructor and Description |
|---|
StudioMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
addIfMissing(List<String> listToBeAdded,
String entry) |
protected void |
closeQuietly(OutputStreamWriter outputStreamWriter) |
protected void |
generateMuleProject(org.apache.maven.project.MavenProject project,
File muleProject) |
MuleDistributionDataProvider |
getDistributionDataProvider() |
List<String> |
getExcludes() |
protected Set |
getProjectArtifacts()
Returns the list of project artifacts.
|
protected void |
setupExtras() |
void |
writeConfiguration(org.apache.maven.plugin.ide.IdeDependency[] deps)
Main plugin method where dependencies should be processed in order to generate IDE configuration files.
|
buildDirectoryList, checkExtraDeprecations, convertBuildCommandList, createEclipseWriterConfig, doDependencyResolution, fillDefaultBuilders, fillDefaultClasspathContainers, fillDefaultNatures, getAdditionalBuildcommands, getAdditionalProjectnatures, getBuildcommands, getBuildOutputDirectory, getClasspathContainers, getEclipseProjectDir, getProjectNameForArifact, getProjectNameTemplate, getProjectnatures, getUseProjectReferences, getWorkspaceArtefacts, getWorkspaceConfiguration, getWtpversion, hasToResolveJar, isAddGroupIdToProjectName, isAddVersionToProjectName, isJavaProject, isPdeProject, setAddGroupIdToProjectName, setAdditionalBuildcommands, setAdditionalProjectnatures, setAddVersionToProjectName, setBuildcommands, setBuildOutputDirectory, setClasspathContainers, setEclipseProjectDir, setProjectNameTemplate, setProjectnatures, setup, setUseProjectReferences, setWtpversion, useProjectReference, validateExtras, verifyClasspathContainerListIsComplete, writeAdditionalConfig, writeExtraConfigurationenableLogging, execute, getArtifactFactory, getArtifactMetadataSource, getArtifactResolver, getDownloadJavadocs, getDownloadSources, getExecutedProject, getLocalRepository, getProject, getReactorProjects, getRemoteArtifactRepositories, isAvailableAsAReactorProject, isResolveDependencies, setArtifactFactory, setArtifactMetadataSource, setArtifactResolver, setDownloadJavadocs, setDownloadSources, setExecutedProject, setLocalRepository, setProject, setReactorProjects, setRemoteArtifactRepositories, setResolveDependenciespublic static final String JRE_CONTAINER
public static final String MULE_NATURE
public static final String MAVEN_MULE_NATURE
public static final String MULE_RUNTIME
public static final String MULE_BUILDER
public static final String MAVEN_MULE_BUILDER
public List<String> getExcludes()
getExcludes in class StudioEclipsePluginpublic MuleDistributionDataProvider getDistributionDataProvider()
getDistributionDataProvider in class StudioEclipsePluginprotected Set getProjectArtifacts() throws org.apache.maven.plugin.MojoExecutionException
StudioAbstractIdeSupportMojoresolved property set to true.getProjectArtifacts in class StudioAbstractIdeSupportMojoorg.apache.maven.plugin.MojoExecutionException - if unable to parse dependency versionsprotected void setupExtras()
throws org.apache.maven.plugin.MojoExecutionException
setupExtras in class StudioEclipsePluginorg.apache.maven.plugin.MojoExecutionExceptionprotected void generateMuleProject(org.apache.maven.project.MavenProject project,
File muleProject)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void closeQuietly(OutputStreamWriter outputStreamWriter)
public void writeConfiguration(org.apache.maven.plugin.ide.IdeDependency[] deps)
throws org.apache.maven.plugin.MojoExecutionException
StudioAbstractIdeSupportMojowriteConfiguration in class StudioEclipsePlugindeps - list of IdeDependency objects, with artifacts, sources and javadocs already resolvedorg.apache.maven.plugin.MojoExecutionException - generic mojo exceptionCopyright © 2016. All Rights Reserved.