org.codehaus.mojo.jboss.packaging
Class ESBMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.jboss.packaging.AbstractPackagingMojo
          extended by org.codehaus.mojo.jboss.packaging.ESBMojo
All Implemented Interfaces:
ContextEnabled, Mojo
Direct Known Subclasses:
ESBExplodedMojo

public class ESBMojo
extends AbstractPackagingMojo

Builds a deployable JBoss ESB Archive.

Author:
Kevin Conner
Is bound to the specified phase of the standard build lifecycle:
package
Requires the dependencies in this specified scope:
runtime
Is defined by the goal name:
esb

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ESBMojo()
           
 
Method Summary
protected  void buildSpecificPackaging(Set excludes)
          Perform any packaging specific to this type.
 String getArtifactType()
          Get the type of the artifact.
 File getDeploymentDescriptor()
          Get the deployment descriptor file.
 
Methods inherited from class org.codehaus.mojo.jboss.packaging.AbstractPackagingMojo
buildExplodedPackaging, buildExplodedPackaging, execute, getArchiveName, getClassesDirectory, getDeploymentDescriptorDest, getDeploymentDescriptorDestName, getLibDirectory, getOutputDirectory, getPackagingDirectory, getProject, isExplodedOnly, packageClasses, packageLib, packageResources, performPackaging
 
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

ESBMojo

public ESBMojo()
Method Detail

buildSpecificPackaging

protected void buildSpecificPackaging(Set excludes)
                               throws MojoExecutionException
Perform any packaging specific to this type.

Overrides:
buildSpecificPackaging in class AbstractPackagingMojo
Parameters:
excludes - The exclude list.
Throws:
MojoExecutionException - For plugin failures.
MojoFailureException - For unexpected plugin failures.
IOException - For exceptions during IO operations.

getDeploymentDescriptor

public File getDeploymentDescriptor()
Description copied from class: AbstractPackagingMojo
Get the deployment descriptor file. Subclasses may override this method to provide a different name for their type of archive packaging.

Specified by:
getDeploymentDescriptor in class AbstractPackagingMojo
Returns:
deployment descriptor file name, sans path

getArtifactType

public String getArtifactType()
Get the type of the artifact.

Specified by:
getArtifactType in class AbstractPackagingMojo
Returns:
The type of the generated artifact.


Copyright © 2006-2011 Codehaus. All Rights Reserved.