org.ow2.easybeans.mavenplugin
Class AbstractEasyBeansBoundMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.ow2.easybeans.mavenplugin.AbstractEasyBeansMojo
          extended by org.ow2.easybeans.mavenplugin.AbstractEasyBeansBoundMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, org.ow2.util.maven.plugin.deployment.api.IDeploymentBoundMojo, org.ow2.util.maven.plugin.deployment.api.IDeploymentMojo, org.ow2.util.maven.plugin.deployment.api.IMojo
Direct Known Subclasses:
EasyBeansDeployMojo, EasyBeansStartMojo, EasyBeansUndeployMojo

public abstract class AbstractEasyBeansBoundMojo
extends AbstractEasyBeansMojo
implements org.ow2.util.maven.plugin.deployment.api.IDeploymentBoundMojo

Class representing goal which must be bound to the Maven project lifecycle. This mojo provide a simple deployment of the current project resource.

Author:
Vincent Michaud

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractEasyBeansBoundMojo()
           
 
Method Summary
 org.ow2.util.maven.plugin.deployment.core.Configuration defineConfiguration()
          Define internal configuration of the goal.
 org.ow2.util.maven.plugin.deployment.api.IDeploymentCore defineMojoCore()
          Define the core of the mojo.
 
Methods inherited from class org.ow2.easybeans.mavenplugin.AbstractEasyBeansMojo
contextualize, execute, getAdditionalDeployables, getArtifactFactory, getArtifactResolver, getCore, getLocalRepository, getMetadataSource, getPlexusPluginContext, getPluginArtifactId, getPluginGroupId, getPluginVersion, getProject, getProjectBuilder, getReactorProjects
 
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.ow2.util.maven.plugin.deployment.api.IDeploymentMojo
defineDeploymentBehavior, getAdditionalDeployables, getLaunchedServer
 
Methods inherited from interface org.ow2.util.maven.plugin.deployment.api.IMojo
getArtifactFactory, getArtifactResolver, getLocalRepository, getLog, getMetadataSource, getPlexusPluginContext, getPluginArtifactId, getPluginGroupId, getPluginVersion, getProject, getProjectBuilder, getReactorProjects
 

Constructor Detail

AbstractEasyBeansBoundMojo

public AbstractEasyBeansBoundMojo()
Method Detail

defineConfiguration

public org.ow2.util.maven.plugin.deployment.core.Configuration defineConfiguration()
                                                                            throws org.apache.maven.plugin.MojoExecutionException
Define internal configuration of the goal.

Specified by:
defineConfiguration in interface org.ow2.util.maven.plugin.deployment.api.IDeploymentMojo
Throws:
org.apache.maven.plugin.MojoExecutionException - Execution error

defineMojoCore

public org.ow2.util.maven.plugin.deployment.api.IDeploymentCore defineMojoCore()
                                                                        throws org.apache.maven.plugin.MojoExecutionException
Define the core of the mojo.

Specified by:
defineMojoCore in class AbstractEasyBeansMojo
Returns:
The core of the mojo
Throws:
org.apache.maven.plugin.MojoExecutionException - Execution error


Copyright © 2006-2011 OW2 Consortium. All Rights Reserved.