@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 |
static String |
EMPTY |
static String |
NONE |
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, getWorkDirectorypublic static final String DEFAULT
public static final String EMPTY
public static final String NONE
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class AbstractEarMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void generateStandardDeploymentDescriptor(JavaEEVersion javaEEVersion) throws EarPluginException
EarPluginExceptionprotected void generateJbossDeploymentDescriptor()
throws EarPluginException
EarPluginExceptionCopyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.