org.apache.maven.plugin.eclipse
Class MyEclipsePlugin
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.ide.AbstractIdeSupportMojo
org.apache.maven.plugin.eclipse.EclipsePlugin
org.apache.maven.plugin.eclipse.MyEclipsePlugin
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.logging.LogEnabled
public class MyEclipsePlugin
- extends EclipsePlugin
Generates MyEclipse configuration files
- Since:
- 2.5
- Author:
- Olivier Jacob
Fields inherited from class org.apache.maven.plugin.ide.AbstractIdeSupportMojo |
artifactCollector, artifactFactory, artifactMetadataSource, artifactResolver, downloadJavadocs, downloadSources, executedProject, localRepository, packaging, project, reactorProjects, remoteArtifactRepositories |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.plugin.eclipse.EclipsePlugin |
buildDirectoryList, checkExtraDeprecations, convertBuildCommandList, createEclipseWriterConfig, getAdditionalBuildcommands, getAdditionalProjectnatures, getBuildcommands, getBuildOutputDirectory, getClasspathContainers, getEclipseProjectDir, getProjectNameForArifact, getProjectNameTemplate, getProjectnatures, getUseProjectReferences, getWtpversion, isAddGroupIdToProjectName, isAddVersionToProjectName, isJavaProject, isPdeProject, setAddGroupIdToProjectName, setAdditionalBuildcommands, setAdditionalProjectnatures, setAddVersionToProjectName, setBuildcommands, setBuildOutputDirectory, setClasspathContainers, setEclipseProjectDir, setProjectNameTemplate, setProjectnatures, setup, setupExtras, setUseProjectReferences, setWtpversion, validateExtras, verifyClasspathContainerListIsComplete, writeExtraConfiguration |
Methods inherited from class org.apache.maven.plugin.ide.AbstractIdeSupportMojo |
doDependencyResolution, enableLogging, execute, getArtifactFactory, getArtifactMetadataSource, getArtifactResolver, getDownloadJavadocs, getDownloadSources, getExecutedProject, getLocalRepository, getProject, getReactorProjects, getRemoteArtifactRepositories, isResolveDependencies, setArtifactFactory, setArtifactMetadataSource, setArtifactResolver, setDownloadJavadocs, setDownloadSources, setExecutedProject, setLocalRepository, setProject, setReactorProjects, setRemoteArtifactRepositories, setResolveDependencies |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyEclipsePlugin
public MyEclipsePlugin()
writeConfiguration
public void writeConfiguration(IdeDependency[] deps)
throws org.apache.maven.plugin.MojoExecutionException
- Description copied from class:
AbstractIdeSupportMojo
- Main plugin method where dependencies should be processed in order to generate IDE configuration files.
- Overrides:
writeConfiguration
in class EclipsePlugin
- Parameters:
deps
- list of IdeDependency
objects, with artifacts, sources and javadocs already resolved
- Throws:
org.apache.maven.plugin.MojoExecutionException
- generic mojo exception
fillDefaultBuilders
protected void fillDefaultBuilders(String packaging)
- Override the default builders with the builders used by MyEclipse
- Overrides:
fillDefaultBuilders
in class EclipsePlugin
- Parameters:
packaging
- packaging-type (jar,war,ejb,ear)
fillDefaultNatures
protected void fillDefaultNatures(String packaging)
- Override the default natures with the natures used by MyEclipse
- Overrides:
fillDefaultNatures
in class EclipsePlugin
- Parameters:
packaging
- packaging-type (jar,war,ejb,ear)
fillDefaultClasspathContainers
protected void fillDefaultClasspathContainers(String packaging)
- Overrides:
fillDefaultClasspathContainers
in class EclipsePlugin
getSpring
public Map getSpring()
setSpring
public void setSpring(Map spring)
getHibernate
public Map getHibernate()
setHibernate
public void setHibernate(Map hibernate)
getStruts
public Map getStruts()
setStruts
public void setStruts(Map struts)
Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.