org.mobicents.mojo.sbb
Class AbstractSbbPluginMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.mobicents.mojo.sbb.AbstractSbbPluginMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
SbbPluginMojo

public abstract class AbstractSbbPluginMojo
extends org.apache.maven.plugin.AbstractMojo


Field Summary
protected  org.apache.maven.archiver.MavenArchiveConfiguration archive
          The maven archive configuration to use.
static java.lang.String MANIFEST_URI
           
protected  org.apache.maven.project.MavenProject project
          The maven project.
protected  java.io.File targetDirectory
          Directory containing the generated JAR.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractSbbPluginMojo()
           
 
Method Summary
abstract  void execute()
           
 java.lang.String[] getAlternateDeploymentDescriptorFilenames()
          If no deployment descriptor filesnames are found, check for the existence of alternates before failing.
 java.lang.String getClasspathPrefix()
           
 java.lang.String getOutputDirectory()
           
 org.apache.maven.project.MavenProject getProject()
           
abstract  java.io.File getTargetDirectory()
          The directory where the packaging is built.
protected  void includeCustomManifestFile(org.codehaus.plexus.archiver.jar.JarArchiver anArchiver)
           
 
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

MANIFEST_URI

public static final java.lang.String MANIFEST_URI
See Also:
Constant Field Values

project

protected org.apache.maven.project.MavenProject project
The maven project.


targetDirectory

protected java.io.File targetDirectory
Directory containing the generated JAR.


archive

protected org.apache.maven.archiver.MavenArchiveConfiguration archive
The maven archive configuration to use.

Constructor Detail

AbstractSbbPluginMojo

public AbstractSbbPluginMojo()
Method Detail

getTargetDirectory

public abstract java.io.File getTargetDirectory()
The directory where the packaging is built.


execute

public abstract void execute()
                      throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getProject

public org.apache.maven.project.MavenProject getProject()
Returns:

getAlternateDeploymentDescriptorFilenames

public java.lang.String[] getAlternateDeploymentDescriptorFilenames()
If no deployment descriptor filesnames are found, check for the existence of alternates before failing. Subclasses are not required to override this method.

Returns:

getOutputDirectory

public java.lang.String getOutputDirectory()

getClasspathPrefix

public java.lang.String getClasspathPrefix()

includeCustomManifestFile

protected void includeCustomManifestFile(org.codehaus.plexus.archiver.jar.JarArchiver anArchiver)
                                  throws org.apache.maven.plugin.MojoExecutionException,
                                         org.apache.maven.artifact.DependencyResolutionRequiredException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.artifact.DependencyResolutionRequiredException


Copyright © 2007. All Rights Reserved.