org.ow2.easybeans.mavenplugin
Class EasyBeansStartMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.ow2.easybeans.mavenplugin.AbstractEasyBeansMojo
          extended by org.ow2.easybeans.mavenplugin.AbstractEasyBeansBoundMojo
              extended by org.ow2.easybeans.mavenplugin.EasyBeansStartMojo
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

public class EasyBeansStartMojo
extends AbstractEasyBeansBoundMojo

Class representing goal start. 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
EasyBeansStartMojo()
           
 
Method Summary
 org.ow2.util.maven.plugin.deployment.api.IDeploymentBehavior defineDeploymentBehavior(org.ow2.util.maven.plugin.deployment.api.IDeploymentCore core)
          Define the behavior when a file must be deployed / undeployed.
 org.ow2.util.maven.plugin.deployment.api.IPluginServer getLaunchedServer(org.ow2.util.maven.plugin.deployment.api.IDeploymentCore core)
          Create server instance with specified XML configuration file.
 
Methods inherited from class org.ow2.easybeans.mavenplugin.AbstractEasyBeansBoundMojo
defineConfiguration, defineMojoCore
 
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
getAdditionalDeployables
 
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

EasyBeansStartMojo

public EasyBeansStartMojo()
Method Detail

getLaunchedServer

public org.ow2.util.maven.plugin.deployment.api.IPluginServer getLaunchedServer(org.ow2.util.maven.plugin.deployment.api.IDeploymentCore core)
                                                                         throws org.apache.maven.plugin.MojoExecutionException
Create server instance with specified XML configuration file.

Parameters:
core - The core of the mojo
Returns:
Plugin server interface
Throws:
org.apache.maven.plugin.MojoExecutionException - If configuration file is not found

defineDeploymentBehavior

public org.ow2.util.maven.plugin.deployment.api.IDeploymentBehavior defineDeploymentBehavior(org.ow2.util.maven.plugin.deployment.api.IDeploymentCore core)
                                                                                      throws org.apache.maven.plugin.MojoExecutionException
Define the behavior when a file must be deployed / undeployed.

Parameters:
core - The core of the mojo
Returns:
The deployment behavior
Throws:
org.apache.maven.plugin.MojoExecutionException - Execution error


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