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:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class GenerateApplicationXmlMojo
- extends AbstractEarMojo
A Mojo that generates the EAR deployment descriptor file(s).
- Version:
- $Id: GenerateApplicationXmlMojo.java 942855 2010-05-10 19:13:52Z krosenvold $
- Author:
- Stephane Nicoll
- Is defined by the goal name:
- generate-application-xml
- Is bound to the specified phase of the standard build lifecycle:
- generate-resources
- Requires the dependencies in this specified scope:
- test
Fields inherited from class org.apache.maven.plugin.ear.AbstractEarMojo |
APPLICATION_XML_URI, artifactTypeMappings, defaultLibBundleDir, encoding, generatedDescriptorLocation, META_INF, project, UTF_8, version, VERSION_1_3, VERSION_1_4, VERSION_5, VERSION_6 |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenerateApplicationXmlMojo
public GenerateApplicationXmlMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Specified by:
execute
in interface org.apache.maven.plugin.Mojo
- Overrides:
execute
in class AbstractEarMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
generateStandardDeploymentDescriptor
protected void generateStandardDeploymentDescriptor()
throws EarPluginException
- Generates the deployment descriptor.
- Throws:
EarPluginException
generateJbossDeploymentDescriptor
protected void generateJbossDeploymentDescriptor()
throws EarPluginException
- Generates the jboss deployment descriptor.
- Throws:
EarPluginException
Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.