public abstract class AbstractWtpResourceWriter extends AbstractEclipseWriter
Modifier and Type | Field and Description |
---|---|
protected static String |
ATTR_DEPLOY_NAME |
protected static String |
ATTR_DEPLOY_PATH |
protected static String |
ATTR_MODULE_ID |
protected static String |
ATTR_MODULE_TYPE_ID |
protected static String |
ATTR_NAME |
protected static String |
ATTR_PROJECT_VERSION |
protected static String |
ATTR_SOURCE_PATH |
protected static String |
ATTR_VALUE |
protected static String |
ELT_MODULE_TYPE |
protected static String |
ELT_PROJECT_MODULES |
protected static String |
ELT_PROPERTY |
protected static String |
ELT_VERSION |
protected static String |
ELT_WB_MODULE |
protected static String |
ELT_WB_RESOURCE |
config, log
Constructor and Description |
---|
AbstractWtpResourceWriter() |
Modifier and Type | Method and Description |
---|---|
protected void |
addDependency(XMLWriter writer,
IdeDependency dep,
ArtifactRepository localRepository,
File basedir,
String deployPath)
Adds dependency for Eclipse WTP project.
|
protected void |
writeModuleTypeAccordingToPackaging(MavenProject project,
XMLWriter writer,
File buildOutputDirectory) |
protected void |
writeWarOrEarResources(XMLWriter writer,
MavenProject project,
ArtifactRepository localRepository) |
init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write
protected static final String ATTR_VALUE
protected static final String ATTR_NAME
protected static final String ELT_PROPERTY
protected static final String ELT_VERSION
protected static final String ATTR_MODULE_TYPE_ID
protected static final String ATTR_SOURCE_PATH
protected static final String ATTR_DEPLOY_PATH
protected static final String ELT_WB_RESOURCE
protected static final String ELT_MODULE_TYPE
protected static final String ATTR_DEPLOY_NAME
protected static final String ELT_WB_MODULE
protected static final String ATTR_MODULE_ID
protected static final String ATTR_PROJECT_VERSION
protected static final String ELT_PROJECT_MODULES
protected void writeModuleTypeAccordingToPackaging(MavenProject project, XMLWriter writer, File buildOutputDirectory) throws MojoExecutionException
project
- writer
- MojoExecutionException
protected void addDependency(XMLWriter writer, IdeDependency dep, ArtifactRepository localRepository, File basedir, String deployPath) throws MojoExecutionException
writer
- artifact
- localRepository
- basedir
- MojoExecutionException
protected void writeWarOrEarResources(XMLWriter writer, MavenProject project, ArtifactRepository localRepository) throws MojoExecutionException
MojoExecutionException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.