public class RadPlugin extends EclipsePlugin
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
COM_IBM_ETOOLS_J2EE_UI_LIB_DIR_BUILDER |
private static java.lang.String |
COM_IBM_ETOOLS_SITEEDIT_SITE_NAV_BUILDER |
private static java.lang.String |
COM_IBM_ETOOLS_SITEEDIT_SITE_UPDATE_BUILDER |
private static java.lang.String |
COM_IBM_ETOOLS_SITEEDIT_WEB_SITE_NATURE |
private static java.lang.String |
COM_IBM_ETOOLS_VALIDATION_VALIDATIONBUILDER |
private static java.lang.String |
COM_IBM_ETOOLS_WEBPAGE_TEMPLATE_TEMPLATEBUILDER |
private static java.lang.String |
COM_IBM_ETOOLS_WEBPAGE_TEMPLATE_TEMPLATENATURE |
private static java.lang.String |
COM_IBM_ETOOLS_WEBTOOLS_ADDITIONS_JSPCOMPILATIONBUILDER |
private static java.lang.String |
COM_IBM_ETOOLS_WEBTOOLS_ADDITIONS_LINKSBUILDER |
private static java.lang.String |
COM_IBM_SSE_MODEL_STRUCTUREDBUILDER |
private static java.lang.String |
COM_IBM_WTP_EJB_EJBNATURE |
private static java.lang.String |
COM_IBM_WTP_J2EE_EARNATURE |
private static java.lang.String |
COM_IBM_WTP_J2EE_LIB_COPY_BUILDER |
private static java.lang.String |
COM_IBM_WTP_MIGRATION_MIGRATION_BUILDER |
private static java.lang.String |
COM_IBM_WTP_WEB_WEB_NATURE |
private java.lang.String |
generatedResourceDirName
Use this to specify a different generated resources folder than target/generated-resources/rad6.
|
private static java.lang.String |
NO_GENERATED_RESOURCE_DIRNAME |
private static java.lang.String |
ORG_ECLIPSE_JDT_CORE_JAVABUILDER |
private static java.lang.String |
ORG_ECLIPSE_JDT_CORE_JAVANATURE |
private java.lang.String |
warContextRoot
The context root of the webapplication.
|
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_VERSIONSartifactCollector, artifactFactory, artifactMetadataSource, artifactResolver, downloadJavadocs, downloadSources, executedProject, forceRecheck, localRepository, logger, packaging, project, reactorProjects, remoteArtifactRepositories| Constructor and Description |
|---|
RadPlugin() |
| Modifier and Type | Method and Description |
|---|---|
private void |
addManifestResource(EclipseWriterConfig config)
make room for a Manifest file.
|
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() |
private static java.lang.String |
getWebContentBaseDirectory(EclipseWriterConfig config)
Returns absolute path to the web content directory based on configuration of the war plugin or default one
otherwise.
|
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.
|
buildDirectoryList, checkDeprecationsExtras, convertBuildCommandList, createEclipseWriterConfig, extractResourceDirs, fillDefaultClasspathContainers, getAdditionalBuildcommands, getAdditionalProjectnatures, getBuildcommands, getBuildOutputDirectory, getClasspathContainers, getEclipseProjectDir, getExcludes, getLinkedResources, getProjectNameTemplate, getProjectnatures, getUseProjectReferences, getWorkspaceArtefacts, getWorkspaceConfiguration, getWtpversion, hasToResolveJar, isAddGroupIdToProjectName, isAddVersionToProjectName, isJavaProject, isPdeProject, setAddGroupIdToProjectName, setAdditionalBuildcommands, setAdditionalProjectnatures, setAddVersionToProjectName, setBuildcommands, setBuildOutputDirectory, setClasspathContainers, setEclipseProjectDir, setLinkedResources, setProjectNameTemplate, setProjectnatures, setup, setUseProjectReferences, setWtpversion, useProjectReference, validateExtras, writeConfigurationdoDependencyResolution, 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, setResolveDependenciesprivate static final java.lang.String COM_IBM_ETOOLS_J2EE_UI_LIB_DIR_BUILDER
private static final java.lang.String COM_IBM_ETOOLS_SITEEDIT_SITE_NAV_BUILDER
private static final java.lang.String COM_IBM_ETOOLS_SITEEDIT_SITE_UPDATE_BUILDER
private static final java.lang.String COM_IBM_ETOOLS_SITEEDIT_WEB_SITE_NATURE
private static final java.lang.String COM_IBM_ETOOLS_VALIDATION_VALIDATIONBUILDER
private static final java.lang.String COM_IBM_ETOOLS_WEBPAGE_TEMPLATE_TEMPLATEBUILDER
private static final java.lang.String COM_IBM_ETOOLS_WEBPAGE_TEMPLATE_TEMPLATENATURE
private static final java.lang.String COM_IBM_ETOOLS_WEBTOOLS_ADDITIONS_JSPCOMPILATIONBUILDER
private static final java.lang.String COM_IBM_ETOOLS_WEBTOOLS_ADDITIONS_LINKSBUILDER
private static final java.lang.String COM_IBM_SSE_MODEL_STRUCTUREDBUILDER
private static final java.lang.String COM_IBM_WTP_EJB_EJBNATURE
private static final java.lang.String COM_IBM_WTP_J2EE_EARNATURE
private static final java.lang.String COM_IBM_WTP_J2EE_LIB_COPY_BUILDER
private static final java.lang.String COM_IBM_WTP_MIGRATION_MIGRATION_BUILDER
private static final java.lang.String COM_IBM_WTP_WEB_WEB_NATURE
private static final java.lang.String NO_GENERATED_RESOURCE_DIRNAME
private static final java.lang.String ORG_ECLIPSE_JDT_CORE_JAVABUILDER
private static final java.lang.String ORG_ECLIPSE_JDT_CORE_JAVANATURE
private java.lang.String warContextRoot
private java.lang.String generatedResourceDirName
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 EclipsePlugindeps - resolved dependencies to handleorg.apache.maven.plugin.MojoExecutionException - if the config files could not be written.EclipsePlugin#writeConfiguration()private void addManifestResource(EclipseWriterConfig config) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprivate static java.lang.String getWebContentBaseDirectory(EclipseWriterConfig config) throws org.apache.maven.plugin.MojoExecutionException
project - org.apache.maven.plugin.MojoExecutionExceptionprotected void fillDefaultBuilders(java.lang.String packaging)
fillDefaultBuilders in class EclipsePluginpackaging - packaging-type (jar,war,ejb,ear)protected void fillDefaultNatures(java.lang.String packaging)
fillDefaultNatures in class EclipsePluginpackaging - packaging-type (jar,war,ejb,ear)protected boolean isAvailableAsAReactorProject(org.apache.maven.artifact.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 org.apache.maven.plugin.MojoExecutionException
setupExtras in class EclipsePluginorg.apache.maven.plugin.MojoExecutionException - mojo failures.public java.lang.String getProjectNameForArifact(org.apache.maven.artifact.Artifact artifact)
getProjectNameForArifact in class EclipsePluginartifact - The artifact to find the eclipse name for.