org.apache.maven.plugin.ear
Class GenerateApplicationXmlMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.ear.AbstractEarMojo
org.apache.maven.plugin.ear.GenerateApplicationXmlMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
@Mojo(name="generate-application-xml",
defaultPhase=GENERATE_RESOURCES,
threadSafe=true,
requiresDependencyResolution=TEST)
public class GenerateApplicationXmlMojo
- extends AbstractEarMojo
Generates the EAR deployment descriptor file(s).
- Version:
- $Id: GenerateApplicationXmlMojo.java 1377814 2012-08-27 20:08:01Z snicoll $
- Author:
- Stephane Nicoll
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final String DEFAULT
- See Also:
- Constant Field Values
EMPTY
public static final String EMPTY
- See Also:
- Constant Field Values
NONE
public static final String NONE
- See Also:
- Constant Field Values
GenerateApplicationXmlMojo
public GenerateApplicationXmlMojo()
execute
public void execute()
throws MojoExecutionException,
MojoFailureException
- Specified by:
execute
in interface Mojo
- Overrides:
execute
in class AbstractEarMojo
- Throws:
MojoExecutionException
MojoFailureException
generateStandardDeploymentDescriptor
protected void generateStandardDeploymentDescriptor(JavaEEVersion javaEEVersion)
throws EarPluginException
- Generates the deployment descriptor.
- Throws:
EarPluginException
generateJbossDeploymentDescriptor
protected void generateJbossDeploymentDescriptor()
throws EarPluginException
- Generates the jboss deployment descriptor.
- Throws:
EarPluginException
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.