org.codehaus.mojo.jboss.packaging
Class AbstractESBMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.jboss.packaging.AbstractPackagingMojo
org.codehaus.mojo.jboss.packaging.AbstractESBMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- ESBExplodedMojo, ESBMojo
public abstract class AbstractESBMojo
- extends AbstractPackagingMojo
Base class for building a JBoss ESB archive.
- Author:
- Kevin Conner
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
Methods inherited from interface org.apache.maven.plugin.Mojo |
execute |
AbstractESBMojo
public AbstractESBMojo()
buildSpecificPackaging
protected void buildSpecificPackaging(Set excludes)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException,
IOException
- Perform any packaging specific to this type.
- Overrides:
buildSpecificPackaging
in class AbstractPackagingMojo
- Parameters:
excludes
- The exclude list.
- Throws:
org.apache.maven.plugin.MojoExecutionException
- For plugin failures.
org.apache.maven.plugin.MojoFailureException
- For unexpected plugin failures.
IOException
- For exceptions during IO operations.
getDeploymentDescriptorFilename
public String getDeploymentDescriptorFilename()
- Get the name of the deployment descriptor file.
Sublcasses must override this method and provide the proper name for
their type of archive packaging
- Specified by:
getDeploymentDescriptorFilename
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.