org.apache.maven.plugin.ear
Class GenerateApplicationXmlMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.ear.AbstractEarMojo
          extended by 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 485857 2006-12-11 20:34:39Z snicoll $
Author:
Stephane Nicoll

Field Summary
static java.lang.String VERSION_1_3
           
static java.lang.String VERSION_1_4
           
static java.lang.String VERSION_5
           
 
Fields inherited from class org.apache.maven.plugin.ear.AbstractEarMojo
APPLICATION_XML_URI, artifactTypeMappings, encoding, generatedDescriptorLocation, META_INF, project, UTF_8
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GenerateApplicationXmlMojo()
           
 
Method Summary
 void execute()
           
protected  void generateJbossDeploymentDescriptor()
          Generates the jboss deployment descriptor.
protected  void generateStandardDeploymentDescriptor()
          Generates the deployment descriptor.
 
Methods inherited from class org.apache.maven.plugin.ear.AbstractEarMojo
getJbossConfiguration, getModules, getProject, getWorkDirectory
 
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
 

Field Detail

VERSION_1_3

public static final java.lang.String VERSION_1_3
See Also:
Constant Field Values

VERSION_1_4

public static final java.lang.String VERSION_1_4
See Also:
Constant Field Values

VERSION_5

public static final java.lang.String VERSION_5
See Also:
Constant Field Values
Constructor Detail

GenerateApplicationXmlMojo

public GenerateApplicationXmlMojo()
Method Detail

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-2011 Apache Software Foundation. All Rights Reserved.