|
||||||||||
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, COMMON_PATH_JDT_LAUNCHING_JRE_CONTAINER, JAVA_FILE_PATTERN, limitProjectReferencesToWorkspace, REQUIRED_PLUGINS_CONTAINER, 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(java.lang.String packaging)
overwite the default builders with the builders required by RAD6. |
protected void |
fillDefaultNatures(java.lang.String packaging)
overwite the default natures with the natures required by RAD6. |
java.lang.String |
getProjectNameForArifact(org.apache.maven.artifact.Artifact artifact)
Find the name of the project as used in eclipse. |
java.lang.String |
getWarContextRoot()
|
protected boolean |
isAvailableAsAReactorProject(org.apache.maven.artifact.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(java.lang.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 java.lang.String getWarContextRoot()
public void setWarContextRoot(java.lang.String warContextRoot)
warContextRoot
- The warContextRoot to set.protected void writeConfigurationExtras(EclipseWriterConfig config) throws org.apache.maven.plugin.MojoExecutionException
writeConfigurationExtras
in class EclipsePlugin
deps
- resolved dependencies to handle
org.apache.maven.plugin.MojoExecutionException
- if the config files could not be written.EclipsePlugin#writeConfiguration()
protected void fillDefaultBuilders(java.lang.String packaging)
fillDefaultBuilders
in class EclipsePlugin
packaging
- packaging-type (jar,war,ejb,ear)protected void fillDefaultNatures(java.lang.String packaging)
fillDefaultNatures
in class EclipsePlugin
packaging
- packaging-type (jar,war,ejb,ear)protected boolean isAvailableAsAReactorProject(org.apache.maven.artifact.Artifact artifact)
isAvailableAsAReactorProject
in class AbstractIdeSupportMojo
artifact
- the artifact a project should produce.
true
if the artifact is produced by a reactor projectart.protected void setupExtras() throws org.apache.maven.plugin.MojoExecutionException
setupExtras
in class EclipsePlugin
org.apache.maven.plugin.MojoExecutionException
- mojo failures.public java.lang.String getProjectNameForArifact(org.apache.maven.artifact.Artifact artifact)
getProjectNameForArifact
in class EclipsePlugin
artifact
- The artifact to find the eclipse name for.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |