@Mojo(name="myeclipse") @Execute(phase=GENERATE_RESOURCES) public class MyEclipsePlugin extends EclipsePlugin
ASPECTJ_FILE_PATTERN, ASPECTJ_RT_CONTAINER, BUILDER_WST_VALIDATION, classpathContainersLast, COMMON_PATH_JDT_LAUNCHING_JRE_CONTAINER, JAVA_FILE_PATTERN, jeeversion, limitProjectReferencesToWorkspace, testSourcesLast, workspace, WTP_SUPPORTED_VERSIONS
artifactCollector, artifactFactory, artifactMetadataSource, artifactResolver, downloadJavadocs, downloadSources, executedProject, forceRecheck, localRepository, logger, packaging, project, reactorProjects, remoteArtifactRepositories
Constructor and Description |
---|
MyEclipsePlugin() |
Modifier and Type | Method and Description |
---|---|
protected void |
fillDefaultBuilders(String packaging)
Override the default builders with the builders used by MyEclipse
|
protected void |
fillDefaultClasspathContainers(String packaging)
Fill getClasspathContainers() with values.
|
protected void |
fillDefaultNatures(String packaging)
Override the default natures with the natures used by MyEclipse
|
Map |
getHibernate() |
Map |
getSpring() |
Map |
getStruts() |
void |
setHibernate(Map hibernate) |
void |
setSpring(Map spring) |
void |
setStruts(Map struts) |
protected void |
writeConfigurationExtras(EclipseWriterConfig config)
Write any extra configuration information for the Eclipse project.
|
buildDirectoryList, checkDeprecationsExtras, convertBuildCommandList, createEclipseWriterConfig, getAdditionalBuildcommands, getAdditionalProjectnatures, getBuildcommands, getBuildOutputDirectory, getClasspathContainers, getEclipseProjectDir, getExcludes, getLinkedResources, getProjectNameForArifact, getProjectNameTemplate, getProjectnatures, getUseProjectReferences, getWorkspaceArtefacts, getWorkspaceConfiguration, getWtpversion, hasToResolveJar, isAddGroupIdToProjectName, isAddVersionToProjectName, isAvailableAsAReactorProject, isJavaProject, setAddGroupIdToProjectName, setAdditionalBuildcommands, setAdditionalProjectnatures, setAddVersionToProjectName, setBuildcommands, setBuildOutputDirectory, setClasspathContainers, setEclipseProjectDir, setLinkedResources, setProjectNameTemplate, setProjectnatures, setup, setupExtras, setUseProjectReferences, setWtpversion, useProjectReference, validateExtras, writeConfiguration
doDependencyResolution, enableLogging, execute, getArtifactFactory, getArtifactMetadataSource, getArtifactResolver, getDownloadJavadocs, getDownloadSources, getExecutedProject, getLocalRepository, getProject, getReactorProject, getReactorProjects, getRemoteArtifactRepositories, isMavenVersion, isResolveDependencies, setArtifactFactory, setArtifactMetadataSource, setArtifactResolver, setDownloadJavadocs, setDownloadSources, setExecutedProject, setLocalRepository, setProject, setReactorProjects, setRemoteArtifactRepositories, setResolveDependencies
getLog, getPluginContext, setLog, setPluginContext
protected void writeConfigurationExtras(EclipseWriterConfig config) throws MojoExecutionException
writeConfigurationExtras
in class EclipsePlugin
MojoExecutionException
protected void fillDefaultBuilders(String packaging)
fillDefaultBuilders
in class EclipsePlugin
packaging
- packaging-type (jar,war,ejb,ear)protected void fillDefaultNatures(String packaging)
fillDefaultNatures
in class EclipsePlugin
packaging
- packaging-type (jar,war,ejb,ear)protected void fillDefaultClasspathContainers(String packaging)
EclipsePlugin
Subclasses should call super and then calculate their own additions and insert them via
getClasspathContainers().addAll()
.
fillDefaultClasspathContainers
in class EclipsePlugin
packaging
- the pom's packagingpublic Map getSpring()
public void setSpring(Map spring)
public Map getHibernate()
public void setHibernate(Map hibernate)
public Map getStruts()
public void setStruts(Map struts)
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.