public class EclipseWtpApplicationXMLWriter extends AbstractWtpResourceWriter
ATTR_DEPLOY_NAME, ATTR_DEPLOY_PATH, ATTR_MODULE_ID, ATTR_MODULE_TYPE_ID, ATTR_NAME, ATTR_PROJECT_VERSION, ATTR_SOURCE_PATH, ATTR_VALUE, ELT_MODULE_TYPE, ELT_PROJECT_MODULES, ELT_PROPERTY, ELT_VERSION, ELT_WB_MODULE, ELT_WB_RESOURCE
config, log
Constructor and Description |
---|
EclipseWtpApplicationXMLWriter() |
Modifier and Type | Method and Description |
---|---|
static void |
copyDirectoryStructure(File sourceDirectory,
File destinationDirectory)
Copies a entire directory structure without scm files.
|
void |
write()
write the application.xml and the .modulemaps file to the META-INF directory.
|
addDependency, writeModuleTypeAccordingToPackaging, writeWarOrEarResources
init
public void write() throws MojoExecutionException
MojoExecutionException
- when writing the config files was not possibleAbstractWtpResourceWriter#write(EclipseSourceDir[], ArtifactRepository, File)
public static void copyDirectoryStructure(File sourceDirectory, File destinationDirectory) throws IOException
sourceDirectory
must exists.
sourceDirectory
- destinationDirectory
- IOException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.