org.ow2.easybeans.mavenplugin
Class EasyBeansRunMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.ow2.easybeans.mavenplugin.AbstractEasyBeansMojo
          extended by org.ow2.easybeans.mavenplugin.AbstractEasyBeansUnboundMojo
              extended by org.ow2.easybeans.mavenplugin.EasyBeansRunMojo
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.IDeploymentMojo, org.ow2.util.maven.plugin.deployment.api.IDeploymentUnboundMojo, org.ow2.util.maven.plugin.deployment.api.IMojo

public class EasyBeansRunMojo
extends AbstractEasyBeansUnboundMojo

Goal run (Must not bound with the Maven lifecycle). Run EasyBeans and activate hot deployment of resources.

Author:
Vincent Michaud, Alexandre Deneux

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
EasyBeansRunMojo()
           
 
Method Summary
 org.ow2.util.maven.plugin.deployment.core.Configuration defineConfiguration()
          Define internal configuration of the goal.
 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.
 
Methods inherited from class org.ow2.easybeans.mavenplugin.AbstractEasyBeansUnboundMojo
defineMojoCore, getLaunchedServer, getScanInterval, isAutoDeploymentEnabled, isExploredEAR
 
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

EasyBeansRunMojo

public EasyBeansRunMojo()
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.

Throws:
org.apache.maven.plugin.MojoExecutionException - Execution error

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.