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:
ContextEnabled, Mojo

public class GenerateApplicationXmlMojo
extends AbstractEarMojo

Generates the EAR deployment descriptor file(s).

Version:
$Id: GenerateApplicationXmlMojo.java 1228837 2012-01-08 13:19:38Z rfscholte $
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

Field Summary
 
Fields inherited from class org.apache.maven.plugin.ear.AbstractEarMojo
APPLICATION_XML_URI, artifactTypeMappings, defaultLibBundleDir, encoding, generatedDescriptorLocation, META_INF, project, UTF_8, version
 
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(JavaEEVersion javaEEVersion)
          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
 

Constructor Detail

GenerateApplicationXmlMojo

public GenerateApplicationXmlMojo()
Method Detail

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.