org.apache.maven.plugin.eclipse
Class RadPlugin
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.RadPlugin
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.logging.LogEnabled
public class RadPlugin
- extends EclipsePlugin
Generates the rad-6 configuration files.
- Author:
- Richard van Nieuwenhoven (patch submission), jdcasey
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, fillDefaultClasspathContainers, 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, setUseProjectReferences, setWtpversion, validateExtras, verifyClasspathContainerListIsComplete, writeConfiguration |
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 |
RadPlugin
public RadPlugin()
getWarContextRoot
public String getWarContextRoot()
- Returns:
- Returns the warContextRoot.
setWarContextRoot
public void setWarContextRoot(String warContextRoot)
- Parameters:
warContextRoot
- The warContextRoot to set.
writeExtraConfiguration
protected void writeExtraConfiguration(EclipseWriterConfig config)
throws org.apache.maven.plugin.MojoExecutionException
- write all rad6 configuration files.
NOTE: This could change the config!
- Overrides:
writeExtraConfiguration
in class EclipsePlugin
- Parameters:
deps
- resolved dependencies to handle
- Throws:
org.apache.maven.plugin.MojoExecutionException
- if the config files could not be written.- See Also:
EclipsePlugin#writeConfiguration()
fillDefaultBuilders
protected void fillDefaultBuilders(String packaging)
- overwite the default builders with the builders required by RAD6.
- Overrides:
fillDefaultBuilders
in class EclipsePlugin
- Parameters:
packaging
- packaging-type (jar,war,ejb,ear)
fillDefaultNatures
protected void fillDefaultNatures(String packaging)
- overwite the default natures with the natures required by RAD6.
- Overrides:
fillDefaultNatures
in class EclipsePlugin
- Parameters:
packaging
- packaging-type (jar,war,ejb,ear)
isAvailableAsAReactorProject
protected boolean isAvailableAsAReactorProject(org.apache.maven.artifact.Artifact artifact)
- Utility method that locates a project producing the given artifact.
- Parameters:
artifact
- the artifact a project should produce.
- Returns:
true
if the artifact is produced by a reactor projectart.
setupExtras
protected void setupExtras()
throws org.apache.maven.plugin.MojoExecutionException
- WARNING: The manifest resources added here will not have the benefit of the dependencies of the project, since
that's not provided in the setup() apis...
- Overrides:
setupExtras
in class EclipsePlugin
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.