Class GenerateApplicationXmlMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.ear.AbstractEarMojo
org.apache.maven.plugins.ear.GenerateApplicationXmlMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="generate-application-xml", defaultPhase=GENERATE_RESOURCES, threadSafe=true, requiresDependencyResolution=TEST) public class GenerateApplicationXmlMojo extends AbstractEarMojo
Generates the EAR deployment descriptor file(s).
Author:
Stephane Nicoll
  • Field Details

  • Constructor Details

    • GenerateApplicationXmlMojo

      public GenerateApplicationXmlMojo()
  • Method Details

    • 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.
      Parameters:
      javaEEVersion - JavaEEVersion
      Throws:
      EarPluginException - if the configuration is invalid
    • generateJbossDeploymentDescriptor

      protected void generateJbossDeploymentDescriptor() throws EarPluginException
      Generates the JBoss deployment descriptor.
      Throws:
      EarPluginException - if the configuration is invalid