@Mojo(name="generate-application-xml", defaultPhase=GENERATE_RESOURCES, threadSafe=true, requiresDependencyResolution=TEST) public class GenerateApplicationXmlMojo extends AbstractEarMojo
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT
The DEFAULT library folder.
|
static String |
EMPTY
The empty folder.
|
static String |
NONE
The NONE not existent folder.
|
APPLICATION_XML_URI, artifactTypeMappings, defaultLibBundleDir, encoding, generatedDescriptorLocation, META_INF, project, UTF_8, version| Constructor and Description |
|---|
GenerateApplicationXmlMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected void |
generateJbossDeploymentDescriptor()
Generates the jboss deployment descriptor.
|
protected void |
generateStandardDeploymentDescriptor(JavaEEVersion javaEEVersion)
Generates the deployment descriptor.
|
getJbossConfiguration, getModules, getProject, getTempFolder, getWorkDirectorygetLog, getPluginContext, setLog, setPluginContextpublic static final String DEFAULT
public static final String EMPTY
public static final String NONE
public void execute()
throws MojoExecutionException,
MojoFailureException
execute in interface Mojoexecute in class AbstractEarMojoMojoExecutionExceptionMojoFailureExceptionprotected void generateStandardDeploymentDescriptor(JavaEEVersion javaEEVersion) throws EarPluginException
javaEEVersion - JavaEEVersionEarPluginException - if the configuration is invalidprotected void generateJbossDeploymentDescriptor()
throws EarPluginException
EarPluginException - if the configuration is invalidCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.