org.codehaus.mojo.was6
Class EjbDeployMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.was6.AbstractWas6Mojo
org.codehaus.mojo.was6.AbstractEjbMojo
org.codehaus.mojo.was6.EjbDeployMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class EjbDeployMojo
- extends AbstractEjbMojo
Generates EJB RMIC stub sources.
This goal will fork a parallel life cycle up to package phase. This is required because an archive is required as
input to the underlying tasks.
- Author:
- David J. M. Karlsen
- Is bound to the specified phase of the standard build lifecycle:
- generate-sources
- Requires the dependencies in this specified scope:
- runtime
- Is defined to be executed in:
- phase:
- package
- Is defined by the goal name:
- ejbdeploy
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EjbDeployMojo
public EjbDeployMojo()
getOutputJarFile
protected File getOutputJarFile()
getTaskName
protected String getTaskName()
- Defines the task name in the build script.
- Specified by:
getTaskName
in class AbstractWas6Mojo
- Returns:
- name of the task
configureBuildScript
protected void configureBuildScript(org.dom4j.Document document)
throws MojoExecutionException
- Method to be implemented by subclasses for configuring their task.
- Specified by:
configureBuildScript
in class AbstractWas6Mojo
- Parameters:
document
- the build document.
- Throws:
MojoExecutionException
- if any failure occurs.
execute
public void execute()
throws MojoExecutionException,
MojoFailureException
-
- Specified by:
execute
in interface Mojo
- Overrides:
execute
in class AbstractWas6Mojo
- Throws:
MojoExecutionException
MojoFailureException
Copyright © 2007-2012 Codehaus. All Rights Reserved.