org.apache.maven.plugin.eclipse.writers.wtp
Class AbstractWtpResourceWriter
java.lang.Object
org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter
org.apache.maven.plugin.eclipse.writers.wtp.AbstractWtpResourceWriter
- All Implemented Interfaces:
- EclipseWriter
- Direct Known Subclasses:
- EclipseWtpApplicationXMLWriter, 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
AbstractWtpResourceWriter
public AbstractWtpResourceWriter()
writeModuleTypeAccordingToPackaging
protected void writeModuleTypeAccordingToPackaging(MavenProject project,
XMLWriter writer,
File buildOutputDirectory)
throws MojoExecutionException
- Parameters:
project
- writer
-
- Throws:
MojoExecutionException
addDependency
protected void addDependency(XMLWriter writer,
IdeDependency dep,
ArtifactRepository localRepository,
File basedir,
String deployPath)
throws MojoExecutionException
- Adds dependency for Eclipse WTP project.
- Parameters:
writer
- artifact
- localRepository
- basedir
-
- Throws:
MojoExecutionException
writeWarOrEarResources
protected void writeWarOrEarResources(XMLWriter writer,
MavenProject project,
ArtifactRepository localRepository)
throws MojoExecutionException
- Throws:
MojoExecutionException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.