|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.ide.AbstractIdeSupportMojo
org.apache.maven.plugin.eclipse.EclipsePlugin
org.apache.maven.plugin.eclipse.RadPlugin
public class RadPlugin
Generates the rad-6 configuration files.
| Field Summary |
|---|
| Fields inherited from class org.apache.maven.plugin.eclipse.EclipsePlugin |
|---|
ASPECTJ_FILE_PATTERN, ASPECTJ_RT_CONTAINER, BUILDER_WST_VALIDATION, classpathContainersLast, COMMON_PATH_JDT_LAUNCHING_JRE_CONTAINER, JAVA_FILE_PATTERN, jeeversion, limitProjectReferencesToWorkspace, REQUIRED_PLUGINS_CONTAINER, testSourcesLast, workspace, WTP_SUPPORTED_VERSIONS |
| Fields inherited from class org.apache.maven.plugin.ide.AbstractIdeSupportMojo |
|---|
artifactCollector, artifactFactory, artifactMetadataSource, artifactResolver, downloadJavadocs, downloadSources, executedProject, forceRecheck, localRepository, logger, packaging, project, reactorProjects, remoteArtifactRepositories |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
RadPlugin()
|
|
| Method Summary | |
|---|---|
protected void |
fillDefaultBuilders(String packaging)
overwite the default builders with the builders required by RAD6. |
protected void |
fillDefaultNatures(String packaging)
overwite the default natures with the natures required by RAD6. |
String |
getProjectNameForArifact(Artifact artifact)
Find the name of the project as used in eclipse. |
String |
getWarContextRoot()
|
protected boolean |
isAvailableAsAReactorProject(Artifact artifact)
Utility method that locates a project producing the given artifact. |
protected void |
setupExtras()
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... |
void |
setWarContextRoot(String warContextRoot)
|
protected void |
writeConfigurationExtras(EclipseWriterConfig config)
write all rad6 configuration files. |
| 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 |
| Constructor Detail |
|---|
public RadPlugin()
| Method Detail |
|---|
public String getWarContextRoot()
public void setWarContextRoot(String warContextRoot)
warContextRoot - The warContextRoot to set.
protected void writeConfigurationExtras(EclipseWriterConfig config)
throws MojoExecutionException
writeConfigurationExtras in class EclipsePlugindeps - resolved dependencies to handle
MojoExecutionException - if the config files could not be written.EclipsePlugin#writeConfiguration()protected void fillDefaultBuilders(String packaging)
fillDefaultBuilders in class EclipsePluginpackaging - packaging-type (jar,war,ejb,ear)protected void fillDefaultNatures(String packaging)
fillDefaultNatures in class EclipsePluginpackaging - packaging-type (jar,war,ejb,ear)protected boolean isAvailableAsAReactorProject(Artifact artifact)
isAvailableAsAReactorProject in class EclipsePluginartifact - the artifact a project should produce.
true if the artifact is produced by a reactor projectart.
protected void setupExtras()
throws MojoExecutionException
setupExtras in class EclipsePluginMojoExecutionException - mojo failures.public String getProjectNameForArifact(Artifact artifact)
getProjectNameForArifact in class EclipsePluginartifact - The artifact to find the eclipse name for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||