@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.
|
getAllEarModules, getJbossConfiguration, getModules, getOutputFileNameMapping, getProject, getProvidedEarModules, getWorkDirectory
public 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.Mojo
execute
in class AbstractEarMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected void generateStandardDeploymentDescriptor(JavaEEVersion javaEEVersion) throws EarPluginException
javaEEVersion
- JavaEEVersion
EarPluginException
- if the configuration is invalidprotected void generateJbossDeploymentDescriptor() throws EarPluginException
EarPluginException
- if the configuration is invalidCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.