org.apache.maven.plugin.eclipse.writers
Class AbstractWtpResourceWriter
java.lang.Object
org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter
org.apache.maven.plugin.eclipse.writers.AbstractWtpResourceWriter
- All Implemented Interfaces:
- EclipseWriter
- Direct Known Subclasses:
- EclipseWtpComponentWriter, EclipseWtpFacetsWriter, EclipseWtpmodulesWriter
public abstract class AbstractWtpResourceWriter
- extends AbstractEclipseWriter
Base class to hold common constants used by extending classes.
- Author:
- Rahul Thakur, Fabrizio Giustina
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.maven.plugin.eclipse.writers.EclipseWriter |
write |
ATTR_VALUE
protected static final String ATTR_VALUE
- See Also:
- Constant Field Values
ATTR_NAME
protected static final String ATTR_NAME
- See Also:
- Constant Field Values
ELT_PROPERTY
protected static final String ELT_PROPERTY
- See Also:
- Constant Field Values
ELT_VERSION
protected static final String ELT_VERSION
- See Also:
- Constant Field Values
ATTR_MODULE_TYPE_ID
protected static final String ATTR_MODULE_TYPE_ID
- See Also:
- Constant Field Values
ATTR_SOURCE_PATH
protected static final String ATTR_SOURCE_PATH
- See Also:
- Constant Field Values
ATTR_DEPLOY_PATH
protected static final String ATTR_DEPLOY_PATH
- See Also:
- Constant Field Values
ELT_WB_RESOURCE
protected static final String ELT_WB_RESOURCE
- See Also:
- Constant Field Values
ELT_MODULE_TYPE
protected static final String ELT_MODULE_TYPE
- See Also:
- Constant Field Values
ATTR_DEPLOY_NAME
protected static final String ATTR_DEPLOY_NAME
- See Also:
- Constant Field Values
ELT_WB_MODULE
protected static final String ELT_WB_MODULE
- See Also:
- Constant Field Values
ATTR_MODULE_ID
protected static final String ATTR_MODULE_ID
- See Also:
- Constant Field Values
ATTR_PROJECT_VERSION
protected static final String ATTR_PROJECT_VERSION
- See Also:
- Constant Field Values
ELT_PROJECT_MODULES
protected static final String ELT_PROJECT_MODULES
- See Also:
- Constant Field Values
ARTIFACT_MAVEN_WAR_PLUGIN
protected static final String ARTIFACT_MAVEN_WAR_PLUGIN
- See Also:
- Constant Field Values
AbstractWtpResourceWriter
public AbstractWtpResourceWriter()
writeModuleTypeAccordingToPackaging
protected void writeModuleTypeAccordingToPackaging(org.apache.maven.project.MavenProject project,
org.codehaus.plexus.util.xml.XMLWriter writer,
File buildOutputDirectory)
throws org.apache.maven.plugin.MojoExecutionException
- Parameters:
project
- writer
-
- Throws:
org.apache.maven.plugin.MojoExecutionException
addDependency
protected void addDependency(org.codehaus.plexus.util.xml.XMLWriter writer,
IdeDependency dep,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
File basedir)
throws org.apache.maven.plugin.MojoExecutionException
- Adds dependency for Eclipse WTP project.
- Parameters:
writer
- artifact
- localRepository
- basedir
-
- Throws:
org.apache.maven.plugin.MojoExecutionException
writeWarOrEarResources
protected void writeWarOrEarResources(org.codehaus.plexus.util.xml.XMLWriter writer,
org.apache.maven.project.MavenProject project,
org.apache.maven.artifact.repository.ArtifactRepository localRepository)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
resolveServletVersion
protected String resolveServletVersion()
resolveEjbVersion
protected String resolveEjbVersion()
resolveJ2eeVersion
protected String resolveJ2eeVersion()
resolveJavaVersion
protected String resolveJavaVersion()
Copyright © 2002-2007 Apache Software Foundation. All Rights Reserved.