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 1050900 2010-12-19 17:10:52Z snicoll $
- 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 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(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-2011 The Apache Software Foundation. All Rights Reserved.