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 application.xml deployment descriptor file.

Version:
$Id: GenerateApplicationXmlMojo.java 387783 2006-03-22 07:50:36Z carlos $
Author:
Stephane Nicoll

Field Summary
static java.lang.String UTF_8
           
static java.lang.String VERSION_1_3
           
static java.lang.String VERSION_1_4
           
 
Fields inherited from class org.apache.maven.plugin.ear.AbstractEarMojo
APPLICATION_XML_URI, META_INF, project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GenerateApplicationXmlMojo()
           
 
Method Summary
 void execute()
           
protected  void generateDeploymentDescriptor()
          Generates the deployment descriptor if necessary.
 
Methods inherited from class org.apache.maven.plugin.ear.AbstractEarMojo
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

UTF_8

public static final java.lang.String UTF_8
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

generateDeploymentDescriptor

protected void generateDeploymentDescriptor()
                                     throws EarPluginException
Generates the deployment descriptor if necessary.

Throws:
EarPluginException


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.